/* ============================================================
   Personal Page Styles
   ============================================================ */

/* Active nav link */
.nav-active {
    color: var(--accent-light) !important;
}

.nav-active::after {
    transform: scaleX(1) !important;
}

/* Hero */
#personal-hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.personal-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

/* ============================================================
   Games Section
   ============================================================ */
#games {
    padding: 6rem 0;
    background: var(--surface);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.game-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.game-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(234,179,8,0.1);
    transform: translateY(-6px);
}

/* Game banners */
.game-banner {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.game-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s var(--ease);
}

.game-card:hover .game-img {
    transform: scale(1.05);
}

.game-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 1;
}

.game-badge { z-index: 2; }

.game-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    color: var(--accent-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(234,179,8,0.25);
    z-index: 3;
}

/* Rainbow Six Siege */
.r6-banner {
    background: linear-gradient(145deg, #0a0a1a 0%, #1a1035 50%, #0d0820 100%);
}
.r6-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(100,60,220,0.35), transparent),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(60,100,255,0.2), transparent);
}

/* Minecraft */
.mc-banner {
    background: linear-gradient(145deg, #071a0b 0%, #0f3018 50%, #0a2212 100%);
}
.mc-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 60% at 50% 50%, rgba(34,197,94,0.3), transparent),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(16,185,129,0.15), transparent);
}

/* Fortnite */
.fn-banner {
    background: linear-gradient(145deg, #0a0515 0%, #1a0a30 50%, #0f0520 100%);
}
.fn-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 40%, rgba(168,85,247,0.35), transparent),
        radial-gradient(ellipse 50% 50% at 75% 75%, rgba(59,130,246,0.2), transparent);
}

/* Game card body */
.game-body {
    padding: 1.5rem;
}

.game-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.game-body p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.game-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-light);
    background: rgba(234,179,8,0.1);
    border: 1px solid rgba(234,179,8,0.18);
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
}

/* ============================================================
   Food Section
   ============================================================ */
#food {
    padding: 6rem 0;
    background: var(--bg);
}

.food-feature {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.food-feature:hover {
    border-color: var(--border-hover);
    box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}

.food-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(234,179,8,0.05), transparent);
    pointer-events: none;
}

.food-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.food-emoji-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.food-img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.food-img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(234,179,8,0.25);
    box-shadow: 0 0 40px rgba(234,179,8,0.15);
    animation: float 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.food-glow-ring {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 2px solid rgba(234,179,8,0.12);
    box-shadow: 0 0 50px rgba(234,179,8,0.08);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.food-info { position: relative; z-index: 1; }

.food-rank {
    margin-bottom: 1rem;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    padding: 0.35rem 1rem;
    border-radius: 50px;
}

.food-info h3 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.food-info p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.food-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.food-tags span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-light);
    background: rgba(234,179,8,0.1);
    border: 1px solid rgba(234,179,8,0.18);
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    #personal-hero {
        min-height: 45vh;
        padding: 7rem 1.5rem 3rem;
    }

    #games, #food {
        padding: 4rem 0;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .food-feature {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
        text-align: center;
    }

    .food-tags {
        justify-content: center;
    }

    .food-info h3 {
        font-size: 2rem;
    }
}
