﻿/* ════════════════════════════════════════════════════
   home.css — PiratesGaming Home Page
   Place at: wwwroot/css/home.css
════════════════════════════════════════════════════ */

/* ════════ HERO ════════ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: calc(-1 * var(--nav-h));
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Darker overlay — more black */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( to bottom, rgba(8,8,8,0.75) 0%, rgba(8,8,8,0.70) 40%, rgba(8,8,8,0.90) 72%, rgba(8,8,8,1.00) 100% );
}

/* ── Content ── */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 860px;
    width: 100%;
    animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Eyebrow */
.hero-eyebrow {
    font-family: var(--f-main);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    animation: fadeUp 0.9s 0.1s ease both;
    opacity: 0;
}

.eyebrow-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--orange-dim);
    display: inline-block;
}

/* ── Main Title — Condiment ── */
.hero-title {
    font-family: var(--f-logo); /* Condiment */
    font-weight: 400;
    font-style: normal;
    font-size: clamp(5rem, 15vw, 10rem);
    line-height: 0.95;
    color: #fff;
    display: block;
    letter-spacing: 0.01em;
    text-shadow: 0 4px 40px rgba(0,0,0,0.6);
    animation: fadeUp 0.9s 0.2s ease both;
    opacity: 0;
}

/* "Gaming" in orange, slightly smaller */
.hero-title-accent {
    font-family: var(--f-logo); /* Condiment */
    font-weight: 400;
    font-style: normal;
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: var(--orange);
    display: block;
    letter-spacing: 0.06em;
    line-height: 1;
    margin-top: 0.05em;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(255,165,0,0.40), 0 0 80px rgba(255,165,0,0.15);
    animation: fadeUp 0.9s 0.3s ease both;
    opacity: 0;
}

/* Subtitle */
.hero-subtitle {
    font-family: var(--f-main);
    font-size: clamp(0.88rem, 1.8vw, 1rem);
    font-weight: 400;
    color: rgba(242,242,242,0.48);
    max-width: 440px;
    margin: 0 auto 2.5rem;
    line-height: 1.9;
    animation: fadeUp 0.9s 0.42s ease both;
    opacity: 0;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.9s 0.55s ease both;
    opacity: 0;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 2.2rem;
    font-family: var(--f-main);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #080808;
    background: var(--orange);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

    .btn-gold:hover {
        background: var(--orange-light);
        box-shadow: 0 4px 28px rgba(255,165,0,0.38);
        transform: translateY(-2px);
        color: #080808;
    }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 2.2rem;
    font-family: var(--f-main);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--orange);
    background: transparent;
    border: 1px solid var(--b2);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

    .btn-ghost:hover {
        background: var(--orange-glow);
        border-color: var(--orange);
        color: var(--orange-light);
        transform: translateY(-2px);
    }

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-3);
    font-family: var(--f-main);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    animation: scrollBob 2.5s ease-in-out infinite;
}

.scroll-track {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--orange-dim), transparent);
    position: relative;
    overflow: hidden;
}

    .scroll-track::after {
        content: '';
        position: absolute;
        top: -100%;
        left: 0;
        width: 1px;
        height: 50%;
        background: var(--orange);
        animation: trackDrop 1.8s ease-in-out infinite;
    }

@keyframes trackDrop {
    0% {
        top: -60%;
    }

    100% {
        top: 160%;
    }
}

@keyframes scrollBob {
    0%,100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(7px);
    }
}

/* ════════ FEATURES ════════ */
.features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 7rem 2.5rem;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-tag {
    font-family: var(--f-main);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange-dim);
    display: block;
    margin-bottom: 0.7rem;
}

.section-title {
    font-family: var(--f-main);
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

    .section-title span {
        color: var(--orange);
    }

.section-sub {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-2);
    line-height: 1.85;
    max-width: 440px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--b1);
    border-radius: 8px;
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

    .feature-card:hover {
        border-color: var(--b2);
        transform: translateY(-4px);
        background: var(--bg-2);
    }

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--orange);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
        border-radius: 0;
    }

    .feature-card:hover::before {
        transform: scaleX(1);
    }

.feat-icon {
    width: 46px;
    height: 46px;
    border: 1px solid var(--b1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--orange);
    background: var(--bg-1);
    margin-bottom: 1.2rem;
    transition: border-color 0.3s, background 0.3s;
}

.feature-card:hover .feat-icon {
    border-color: var(--b2);
    background: rgba(255,165,0,0.06);
}

.feat-title {
    font-family: var(--f-main);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 0.6rem;
}

.feat-desc {
    font-size: 0.83rem;
    font-weight: 400;
    color: var(--text-2);
    line-height: 1.8;
}

/* ════════ RESPONSIVE ════════ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-section {
        padding: 5rem 2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: clamp(4rem, 15vw, 6rem);
    }

    .hero-title-accent {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .hero-subtitle {
        font-size: 0.88rem;
    }

    .btn-gold, .btn-ghost {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .scroll-hint {
        display: none;
    }

    .features-section {
        padding: 4rem 1.25rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ════════ CONTACT ════════ */
.contact-section {
    background: var(--bg-1);
    border-top: 1px solid var(--b1);
}

.contact-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 6rem 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

    .contact-inner .section-tag {
        margin-bottom: 0.7rem;
    }

    .contact-inner .section-title {
        margin-bottom: 3rem;
    }

/* ── Info pills row ── */
.contact-pills {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 2.5rem;
}

.contact-pill {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--bg-card);
    border: 1px solid var(--b1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    flex: 1;
    min-width: 0;
    text-align: left;
    transition: border-color 0.25s, background 0.25s;
}

    .contact-pill:hover {
        border-color: var(--b2);
        background: var(--bg-2);
    }

    .contact-pill i {
        font-size: 1.15rem;
        color: var(--orange);
        flex-shrink: 0;
    }

    .contact-pill div {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
    }

.contact-label {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-3);
}

.contact-value {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Divider ── */
.contact-divider {
    width: 40px;
    height: 1px;
    background: var(--b2);
    margin-bottom: 2rem;
}

/* ── Follow label ── */
.contact-follow-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 0.85rem;
}

/* ── Social buttons ── */
.contact-socials-row {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

.social-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    font-size: 1.3rem;
    transition: color 0.2s, transform 0.2s;
}

    .social-btn:hover {
        color: var(--orange);
        transform: translateY(-4px);
    }

@media (max-width: 767px) {
    .contact-pills {
        flex-direction: column;
    }

    .contact-inner {
        padding: 2rem 1.25rem;
    }

    .contact-section {
        padding-top: 0;
    }
}
