:root {
    /* Jeopardy Game Color Palette */
    --primary-blue: #64b5f6;
    --primary-blue-dark: #1976d2;
    --primary-blue-light: #90caf9;
    --accent-green: #81c784;
    --accent-green-light: #a5d6a7;
    --accent-green-dark: #388e3c;
    --warm-orange: #ffb74d;
    --warm-orange-dark: #f57c00;
    --accent-pink: #f06292;
    --accent-pink-dark: #c2185b;
    --accent-purple: #ba68c8;
    
    /* Neutral Palette */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    
    /* Typography */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

html {
    background: linear-gradient(135deg, rgba(255, 179, 186, 0.2) 0%, rgba(255, 223, 186, 0.2) 20%, rgba(255, 255, 186, 0.2) 40%, rgba(186, 255, 201, 0.2) 60%, rgba(186, 225, 255, 0.2) 80%, rgba(255, 179, 186, 0.2) 100%);
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, rgba(255, 179, 186, 0.2) 0%, rgba(255, 223, 186, 0.2) 20%, rgba(255, 255, 186, 0.2) 40%, rgba(186, 255, 201, 0.2) 60%, rgba(186, 225, 255, 0.2) 80%, rgba(255, 179, 186, 0.2) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: var(--gray-900);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}


/* Home page specific - remove body padding, push footer to bottom */
body:has(.home-page-main) {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body:has(.home-page-main) .top-nav {
    width: 100%;
}

body:has(.home-page-main) .home-page-main {
    flex: 1;
}

body:has(.home-page-main) .site-footer {
    margin-top: auto;
}

/* Home Page Styles */
.home-page-main {
    background: transparent !important;
    min-height: 100vh;
    width: 100vw;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Ensure centering works for both RTL and LTR - override main-content rules */
[dir="rtl"] .home-page-main,
[dir="ltr"] .home-page-main {
    text-align: center !important;
}

[dir="rtl"] .home-hero,
[dir="ltr"] .home-hero {
    text-align: center !important;
}

[dir="rtl"] .home-title,
[dir="ltr"] .home-title {
    text-align: center !important;
}

[dir="rtl"] .home-subtitle,
[dir="ltr"] .home-subtitle {
    text-align: center !important;
}

/* Override main-content RTL/LTR rules for home page */
.home-page-main,
.home-page-main * {
    text-align: center !important;
}

[dir="rtl"] .home-page-main p,
[dir="rtl"] .home-page-main h1,
[dir="rtl"] .home-page-main h2,
[dir="ltr"] .home-page-main p,
[dir="ltr"] .home-page-main h1,
[dir="ltr"] .home-page-main h2 {
    text-align: center !important;
}

.home-hero {
    text-align: center;
    animation: fadeInDown 0.8s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-profile-image-container {
    width: 380px;
    height: 380px;
    margin: 0 auto 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #E8B87A;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
    pointer-events: none;
}

.home-profile-image-container * {
    pointer-events: auto;
}

.home-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    cursor: pointer;
    pointer-events: auto;
}

.home-profile-image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.home-title-image {
    max-width: 280px;
    width: 60%;
    height: auto;
    margin: 0 auto 12px auto;
    display: block;
    animation: fadeInUp 0.8s ease 0.2s both;
    mix-blend-mode: multiply;
}

.home-title {
    font-size: 3.5rem;
    font-weight: var(--font-bold);
    color: var(--gray-900);
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-align: center;
    width: 100%;
}

.home-subtitle {
    font-size: 1.5rem;
    color: var(--gray-600);
    margin: 0;
    font-weight: var(--font-medium);
    animation: fadeInUp 0.8s ease 0.4s both;
    text-align: center;
    width: 100%;
}

/* Responsive for home page */
@media (max-width: 768px) {
    .home-page-main {
        padding: 20px 20px;
        min-height: auto;
    }

    body:has(.home-page-main) .top-nav {
        margin-bottom: 0;
    }

    .home-profile-image-container {
        width: 220px;
        height: 220px;
        margin-bottom: 12px;
        border-width: 6px;
    }

    .home-title-image {
        max-width: 220px;
        margin-bottom: 8px;
    }

    .home-title {
        font-size: 2.5rem;
    }

    .home-subtitle {
        font-size: 1.1rem;
    }

    .home-hero {
        gap: 4px;
    }
}

.top-nav {
    position: relative;
    display: flex;
    gap: var(--space-4);
    z-index: 100;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
    padding: var(--space-5);
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    direction: inherit;
    background: transparent;
}

/* Ensure nav respects document direction */
[dir="rtl"] .top-nav {
    direction: rtl;
}

[dir="ltr"] .top-nav {
    direction: ltr;
}

.nav-buttons-container {
    display: none;
    gap: var(--space-3);
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    direction: inherit;
}

/* Ensure nav respects document direction */
[dir="rtl"] .nav-buttons-container {
    direction: rtl;
}

[dir="ltr"] .nav-buttons-container {
    direction: ltr;
}

.nav-buttons-container::-webkit-scrollbar {
    display: none;
}

/* Hamburger Menu */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-menu {
    order: 0;
}

.language-toggle-btn {
    order: 1;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--gray-700);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger-menu:hover span {
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green), var(--warm-orange), var(--accent-pink));
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    padding: 80px var(--space-5) var(--space-5);
    overflow-y: auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* LTR: Menu comes from left */
[dir="ltr"] .mobile-menu {
    left: 0;
    right: auto;
    transform: translateX(-100%);
}

[dir="ltr"] .mobile-menu.active {
    display: block;
    transform: translateX(0);
}

/* RTL: Menu comes from right */
[dir="rtl"] .mobile-menu {
    right: 0;
    left: auto;
    transform: translateX(100%);
    text-align: right;
}

[dir="rtl"] .mobile-menu.active {
    display: block;
    transform: translateX(0);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-button {
    width: 100%;
    margin-bottom: var(--space-4);
    padding: var(--space-4) var(--space-5);
    font-size: 1rem;
    display: block;
    background: transparent;
    color: var(--gray-700);
    border-radius: 0.5rem;
}

[dir="ltr"] .mobile-menu .nav-button {
    text-align: left;
}

[dir="rtl"] .mobile-menu .nav-button {
    text-align: right;
}

.mobile-menu .nav-button:hover {
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(129, 199, 132, 0.1) 25%, rgba(255, 183, 77, 0.1) 50%, rgba(240, 98, 146, 0.1) 100%);
    color: var(--primary-blue);
}

.mobile-menu .nav-button.expandable-item {
    position: relative;
}

[dir="ltr"] .mobile-menu .nav-button.expandable-item {
    padding-right: 40px;
}

[dir="rtl"] .mobile-menu .nav-button.expandable-item {
    padding-left: 40px;
}

.mobile-menu .nav-button.expandable-item::after {
    content: '▼';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

[dir="ltr"] .mobile-menu .nav-button.expandable-item::after {
    right: var(--space-5);
}

[dir="rtl"] .mobile-menu .nav-button.expandable-item::after {
    left: var(--space-5);
}

.mobile-menu .nav-button.expandable-item.submenu-expanded::after {
    transform: translateY(-50%) rotate(180deg);
}

.mobile-submenu {
    display: none;
    margin-bottom: var(--space-3);
    list-style-type: none;
}

[dir="ltr"] .mobile-submenu {
    margin-left: var(--space-5);
    padding-left: var(--space-5);
}

[dir="rtl"] .mobile-submenu {
    margin-right: var(--space-5);
    padding-right: var(--space-5);
}

.mobile-submenu li {
    margin-bottom: var(--space-2);
    font-size: 0.9375rem;
}

.mobile-submenu li a,
.mobile-submenu li button {
    color: var(--gray-600);
    text-decoration: none;
    background: none;
    border: none;
    padding: var(--space-2) var(--space-3);
    font-size: 0.9375rem;
    cursor: pointer;
    display: block;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

[dir="ltr"] .mobile-submenu li a,
[dir="ltr"] .mobile-submenu li button {
    text-align: left;
}

[dir="rtl"] .mobile-submenu li a,
[dir="rtl"] .mobile-submenu li button {
    text-align: right;
}

.mobile-submenu li a:hover,
.mobile-submenu li button:hover {
    color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(129, 199, 132, 0.1) 25%, rgba(255, 183, 77, 0.1) 50%, rgba(240, 98, 146, 0.1) 100%);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.nav-button {
    padding: 0.75rem 1.5rem;
    font-family: 'Assistant', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: capitalize;
    background: transparent;
    color: var(--gray-700);
    text-align: center;
    position: relative;
}

.nav-button:hover {
    color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(129, 199, 132, 0.1) 25%, rgba(255, 183, 77, 0.1) 50%, rgba(240, 98, 146, 0.1) 100%);
}

.nav-button.active {
    color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.15) 0%, rgba(129, 199, 132, 0.15) 25%, rgba(255, 183, 77, 0.15) 50%, rgba(240, 98, 146, 0.15) 100%);
}

.nav-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green), var(--warm-orange), var(--accent-pink));
    border-radius: 2px 2px 0 0;
}

.main-content {
    text-align: center;
    margin-top: 0;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* RTL/LTR content alignment */
[dir="rtl"] .main-content {
    text-align: right;
}

[dir="ltr"] .main-content {
    text-align: left;
}

/* Ensure content paragraphs respect direction - only for content areas */
[dir="rtl"] .main-content p,
[dir="rtl"] .main-content h2,
[dir="rtl"] .main-content h3,
[dir="rtl"] .main-content > div > p,
[dir="rtl"] .main-content > div > h2,
[dir="rtl"] .main-content > div > h3 {
    text-align: right;
    direction: rtl;
}

[dir="ltr"] .main-content p,
[dir="ltr"] .main-content h2,
[dir="ltr"] .main-content h3,
[dir="ltr"] .main-content > div > p,
[dir="ltr"] .main-content > div > h2,
[dir="ltr"] .main-content > div > h3 {
    text-align: left;
    direction: ltr;
}

/* Override inline text-align for RTL content */
[dir="rtl"] .main-content [style*="text-align: inherit"],
[dir="rtl"] .main-content [style*="text-align:inherit"] {
    text-align: right !important;
}

[dir="ltr"] .main-content [style*="text-align: inherit"],
[dir="ltr"] .main-content [style*="text-align:inherit"] {
    text-align: left !important;
}

/* Hero Section - Integrated layout */
.hero-section {
    background: white;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    animation: fadeInDown 0.8s ease;
}

.hero-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0;
    min-height: 500px;
}

.hero-image-section {
    flex: 0 0 400px;
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(129, 199, 132, 0.1) 25%, rgba(255, 183, 77, 0.1) 50%, rgba(240, 98, 146, 0.1) 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(100, 181, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.profile-image-container {
    width: 280px;
    height: 280px;
    margin: 0 auto var(--space-6);
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 8px rgba(100, 181, 246, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
    z-index: 1;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.profile-image-container:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2), 0 0 0 12px rgba(100, 181, 246, 0.2);
    border-color: var(--primary-blue);
}

.profile-name {
    font-size: 2.5rem;
    font-weight: var(--font-bold);
    color: var(--gray-900);
    margin: 0;
    text-align: center;
    animation: fadeInUp 0.8s ease 0.3s both;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-text-section {
    flex: 1;
    padding: 60px 50px;
    background: white;
}

.who-am-i-content {
    font-size: 18px;
    line-height: 1.9;
    color: #444;
    max-width: none;
}

.who-am-i-content p {
    margin-bottom: 1.2em;
}

.who-am-i-content p:first-child {
    font-size: 1.25em;
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: 1.5em;
}

/* RTL/LTR support for hero section */
[dir="rtl"] .hero-content-wrapper {
    flex-direction: row-reverse;
}

[dir="ltr"] .hero-content-wrapper {
    flex-direction: row;
}

[dir="rtl"] .hero-text-section {
    text-align: right;
    direction: rtl;
}

[dir="ltr"] .hero-text-section {
    text-align: left;
    direction: ltr;
}

/* Responsive adjustments for hero section */
@media (max-width: 968px) {
    .hero-content-wrapper {
        flex-direction: column !important;
        min-height: auto;
    }
    
    .hero-image-section {
        flex: none;
        width: 100%;
        padding: 50px 30px 40px;
        background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
    }
    
    .hero-text-section {
        padding: 40px 30px;
    }
    
    .profile-image-container {
        width: 240px;
        height: 240px;
    }
    
    .profile-name {
        font-size: 2rem;
    }
}

.profile-section {
    margin-bottom: var(--space-12);
    animation: fadeInDown 0.8s ease;
}

.main-title {
    font-size: 3.5rem;
    font-weight: var(--font-bold);
    color: var(--gray-900);
    margin-bottom: var(--space-5);
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInDown 0.8s ease;
    position: relative;
    display: inline-block;
    width: auto;
    max-width: 100%;
    text-align: inherit;
}

.main-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green), var(--warm-orange), var(--accent-pink));
    margin-top: var(--space-4);
    border-radius: 2px;
}

/* Section titles with underlines */
h2[data-i18n] {
    position: relative;
    display: inline-block;
    width: auto;
    max-width: 100%;
}

h2[data-i18n]::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green), var(--warm-orange), var(--accent-pink));
    margin-top: var(--space-3);
    border-radius: 2px;
}

[dir="rtl"] .main-title,
[dir="rtl"] h2[data-i18n] {
    text-align: right;
}

[dir="ltr"] .main-title,
[dir="ltr"] h2[data-i18n] {
    text-align: left;
}

.birthday-text {
    font-size: 1.5rem;
    color: var(--gray-600);
    font-weight: var(--font-normal);
    margin-top: var(--space-4);
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styles */
.btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: var(--font-semibold);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 25%, var(--warm-orange) 50%, var(--accent-pink) 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--accent-green-dark) 25%, var(--warm-orange-dark) 50%, var(--accent-pink-dark) 100%);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: var(--font-semibold);
    background: white;
    color: var(--primary-blue);
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--primary-blue);
}

/* Site Footer */
.site-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 24px 20px;
    margin-top: 40px;
    font-family: 'Assistant', sans-serif;
    font-size: 0.9rem;
    color: var(--gray-500);
    flex-wrap: wrap;
}

.footer-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.footer-item:hover {
    text-decoration: underline;
}

.footer-item svg {
    flex-shrink: 0;
}

.footer-separator {
    color: var(--gray-300);
    user-select: none;
}

.contact-email {
    font-size: 0.9rem;
    color: var(--gray-700);
    user-select: all;
    -webkit-user-select: all;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.copy-email-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 0.8rem;
    font-family: 'Assistant', sans-serif;
    font-weight: 600;
    cursor: pointer;
}

.copy-email-btn:hover {
    opacity: 0.85;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--primary-blue);
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: var(--space-4);
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .main-title::after {
        width: 100%;
    }
    
    h2[data-i18n]::after {
        width: 100%;
        height: 2px;
    }
    
    .birthday-text {
        font-size: 1.25rem;
    }
    
    .hero-section {
        border-radius: 16px;
        margin: 0 var(--space-4);
    }
    
    .hero-image-section {
        padding: 40px 20px 30px;
    }
    
    .hero-text-section {
        padding: 30px 20px;
    }
    
    .profile-image-container {
        width: 220px;
        height: 220px;
        margin-bottom: var(--space-4);
    }
    
    .profile-name {
        font-size: 1.75rem;
    }
    
    .who-am-i-content {
        font-size: 16px;
        line-height: 1.8;
    }
    
    .top-nav {
        justify-content: space-between;
        align-items: center;
        gap: var(--space-3);
        margin-bottom: var(--space-5);
        padding: var(--space-4) 16px;
    }

    .nav-buttons-container {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-button {
        padding: var(--space-3) var(--space-5);
        font-size: 0.875rem;
    }
    
    .games-section {
        padding: var(--space-6) !important;
    }
    
    .games-section h2 {
        font-size: 1.75rem !important;
    }
}

/* Facebook floating button - removed, now in footer */

@media (min-width: 1024px) {
    .nav-buttons-container {
        display: flex;
        flex-wrap: nowrap;
        min-width: 0;
        flex-shrink: 0;
    }
    
    .nav-button {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .hamburger-menu {
        display: none;
    }

    .top-nav {
        overflow: visible;
    }
}
