/* ============================================
   DOPAMINE - CONQUER ONLINE PRIVATE SERVER
   Premium Landing Page Stylesheet
   ============================================ */

/* CSS Variables - Design System */
:root {
    /* Primary Color */
    --color-black: #000000;
    
    /* Secondary Color Palette */
    --color-gold-light: #F3C66E;
    --color-gold-main: #D59C4E;
    --color-burnt-orange: #C0732D;
    --color-dark-red-brown: #6F2405;
    --color-deep-brown: #964B1C;
    
    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-gray-light: #E5E5E5;
    --color-gray-medium: #999999;
    --color-gray-dark: #333333;
    
    /* Typography */
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

/* Hide all scrollbars but keep scrolling enabled */
html, body, #page-container {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
html::-webkit-scrollbar, body::-webkit-scrollbar, #page-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    cursor: url('../img/sword.cur'), auto;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-white);
    background-color: var(--color-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: url('../img/Button.cur'), pointer;
    font-family: inherit;
}

/* Ensure interactive elements retain pointer cursor */
a,
button,
input[type="submit"],
input[type="button"],
input[type="checkbox"],
select,
.nav-toggle,
.social-link,
.feature-card[data-modal-title],
.showcase-nav,
.dot,
#guide-modal-close,
.recover-link {
    cursor: url('../img/Button.cur'), pointer;
}

.home-page {
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(243, 198, 110, 0.1);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: var(--spacing-md);
}

.nav-logo img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-normal);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    justify-self: center;
}

.nav-logo { justify-self: start; }

.nav-login { justify-self: end; }

/* Inline login in navbar */
.nav-login form {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-areas: "user pass login" "recover recover login";
    gap: 0.5rem;
    align-items: center;
}

.nav-login input[type="text"],
.nav-login input[type="password"] {
    width: 160px;
    padding: 0.5rem 0.75rem;
    height: 36px;
}

.nav-login input[type="text"] { grid-area: user; }
.nav-login input[type="password"] { grid-area: pass; }
.nav-login .recover-link { grid-area: recover; text-align: right; font-size: 0.85rem; color: var(--color-gold-light); }
.nav-login .nav-login-btn { grid-area: login; }
.nav-login .btn { padding: 0.5rem 1rem; font-size: 0.85rem; line-height: 1; border-width: 1px; height: 36px; }

/* Professional, unified input group look */
.nav-login input[type="text"] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.nav-login input[type="password"] {
    border-radius: 0;
    margin-left: -1px; /* merge borders */
}
.nav-login .nav-login-btn {
    margin-left: -1px; /* merge borders */
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    min-width: 88px;
}

.nav-login input,
.nav-login .nav-login-btn {
    border-color: rgba(213,156,78,0.35);
}

.nav-login input:hover,
.nav-login input:focus {
    border-color: var(--color-gold-main);
}

.nav-login .recover-link {
    opacity: 0.9;
}
.nav-login .recover-link:hover {
    color: var(--color-gold-main);
}

/* Auth buttons mode */
.nav-login .auth-actions { display: flex; gap: 0.5rem; align-items: center; }
.nav-login .nav-auth-btn { height: 36px; padding: 0.5rem 1rem; font-size: 0.85rem; line-height: 1; border-width: 1px; }

.nav-link {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gray-light);
    padding: var(--spacing-xs) 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold-main));
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-gold-light);
    transition: all var(--transition-fast);
}

/* ============================================
   SOCIAL BAR
   ============================================ */

.social-bar {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 10;
    gap: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    color: var(--color-white);
    text-decoration: none;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    transition: filter var(--transition-fast);
}

.social-link.discord {
    background-color: #5865F2;
}

.social-link.facebook {
    background-color: #1877F2;
}

.social-link.youtube {
    background-color: #FF0000;
}

.social-link:hover {
    filter: brightness(1.15);
}

.social-link span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
}


/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(111, 36, 5, 0.1) 50%,
        transparent 100%
    );
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease-out;
}

.hero-logo img {
    height: 200px;
    width: auto;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(243, 198, 110, 0.2));
}

.hero-slogan {
    font-family: var(--font-body);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    cursor: url('../img/Button.cur'), pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold-main), var(--color-burnt-orange));
    color: var(--color-black);
    border-color: var(--color-gold-main);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-main));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(213, 156, 78, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-gold-light);
    border-color: var(--color-gold-main);
}

.btn-secondary:hover {
    background: rgba(213, 156, 78, 0.1);
    border-color: var(--color-gold-light);
    color: var(--color-gold-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form input[type="search"],
form select,
form textarea {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    background: linear-gradient(180deg, rgba(20,20,20,0.9) 0%, rgba(10,10,10,0.95) 100%);
    color: var(--color-white);
    border: 1px solid rgba(213,156,78,0.2);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

form input::placeholder,
form textarea::placeholder {
    color: var(--color-gray-medium);
}

form input:focus,
form select:focus,
form textarea:focus {
    border-color: var(--color-gold-main);
    box-shadow: 0 0 0 3px rgba(213,156,78,0.15), 0 6px 18px rgba(0,0,0,0.35);
}

form input:disabled,
form select:disabled,
form textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

form input[type="checkbox"] {
    width: auto;
    height: auto;
    accent-color: var(--color-gold-main);
}

.is-invalid {
    border-color: var(--color-burnt-orange) !important;
    box-shadow: 0 0 0 3px rgba(192, 115, 45, 0.15) !important;
}

.input-help {
    font-size: 0.85rem;
    color: var(--color-gray-medium);
    margin-top: 0.35rem;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   SERVER IDENTITY SECTION
   ============================================ */

.server-identity {
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

.identity-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.identity-content {
    z-index: 2;
}

.identity-description {
    font-size: 1.1rem;
    color: var(--color-gray-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    max-width: 600px;
}

.identity-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.info-item:hover {
    background: rgba(213, 156, 78, 0.05);
    border-color: rgba(213, 156, 78, 0.2);
    transform: translateX(5px);
}

.info-icon {
    width: 45px;
    height: 45px;
    background: rgba(213, 156, 78, 0.1);
    color: var(--color-gold-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-text h3 {
    font-size: 0.9rem;
    color: var(--color-gold-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.info-text p {
    font-size: 1.1rem;
    color: var(--color-white);
    font-weight: 500;
}

.identity-image {
    position: relative;
    z-index: 1;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.identity-card:hover .image-frame img {
    transform: scale(1.05);
}

.frame-glow {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at center, rgba(213, 156, 78, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    from { opacity: 0.5; transform: scale(1); }
    to { opacity: 1; transform: scale(1.1); }
}

@media (max-width: 1024px) {
    .identity-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }
    
    .section-title {
        text-align: center !important;
    }
    
    .identity-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .identity-info-grid {
        justify-content: center;
    }
    
    .info-item {
        text-align: left;
    }
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */

.philosophy {
    padding: var(--spacing-xxl) 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}




.philosophy-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(213, 156, 78, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.philosophy-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(213, 156, 78, 0.1);
    color: var(--color-gold-light);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(213, 156, 78, 0.2);
}

.philosophy-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-gold-main);
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-body);
    text-shadow: 0 0 15px rgba(213, 156, 78, 0.3);
}

.philosophy-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-light);
    margin-bottom: var(--spacing-lg);
}

.philosophy-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.p-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.p-feature-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(213, 156, 78, 0.3));
    animation: pulseIcon 2s infinite alternate;
}

@keyframes pulseIcon {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.p-feature span:not(.p-feature-icon) {
    font-size: 0.9rem;
    color: var(--color-gold-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FEATURES SECTION (Index Page)
   ============================================ */

.home-page .features {
    padding: var(--spacing-xxl) 0;
    position: relative;
    background: transparent;
}

.home-page .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.home-page .feature-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
}

.home-page .feature-card-inner {
    height: 100%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: none;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--transition-normal);
    z-index: 2;
    position: relative;
    border-radius: 0;
}

.home-page .feature-card:hover .feature-card-inner {
    background: rgba(20, 20, 20, 0.9);
    border-color: rgba(213, 156, 78, 0.3);
    transform: translateY(-5px);
}

.home-page .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(213, 156, 78, 0.15) 0%, rgba(192, 115, 45, 0.15) 100%);
    color: var(--color-gold-light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    border: none;
}

.home-page .feature-icon i {
    font-size: 25px;
}

.home-page .feature-content h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
    transition: color var(--transition-normal);
}

.home-page .feature-card:hover h3 {
    color: var(--color-gold-light);
}

.home-page .feature-content p {
    font-size: 0.85rem;
    color: var(--color-gray-medium);
    line-height: 1.5;
}

.home-page .feature-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(213, 156, 78, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.home-page .feature-card:hover .feature-card-glow {
    transform: translate(-50%, -50%) scale(2);
}

/* ============================================
   GLOBAL FEATURES (Used in Other Pages)
   ============================================ */

.features {
    padding: var(--spacing-xxl) 0;
    background: var(--color-black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(213, 156, 78, 0.2);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-normal);
    display: block; /* Important for <a> tags */

}

.feature-card:hover {
    background: rgba(20, 20, 20, 0.9);
    border-color: var(--color-gold-main);
    transform: translateY(-4px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-burnt-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    transition: transform var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon svg, 
.feature-icon span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-gray-medium);
    line-height: 1.6;
}

/* ============================================
   SHOWCASE SECTION (Bento Grid)
   ============================================ */

.showcase {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(180deg, var(--color-black) 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.showcase-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.showcase-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(213, 156, 78, 0.1);
    color: var(--color-gold-light);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(213, 156, 78, 0.2);
}

.showcase-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-medium);
    line-height: 1.6;
}

.showcase-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.bento-item {
    position: relative;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(213, 156, 78, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.item-large {
    grid-column: span 2;
    grid-row: span 1;
}

.item-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.bento-item:hover {
    border-color: var(--color-gold-main);
    box-shadow: 0 0 30px rgba(213, 156, 78, 0.2);
    z-index: 10;
}

.bento-item:hover img {
    transform: scale(1.1);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-lg);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.bento-item:hover .bento-overlay {
    opacity: 1;
}

.bento-info h3 {
    color: var(--color-gold-light);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.bento-info p {
    color: var(--color-white);
    font-size: 0.95rem;
    line-height: 1.4;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.bento-item:hover .bento-info h3,
.bento-item:hover .bento-info p {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 1024px) {
    .showcase-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .item-tall {
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    .showcase-bento {
        grid-template-columns: 1fr;
    }
    .item-large {
        grid-column: span 1;
    }
}


/* ============================================
   FINAL CTA SECTION
   ============================================ */

.final-cta {
    padding: var(--spacing-xxl) 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/bg.jpg');
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(213, 156, 78, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-light);
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--color-black);
    border-top: 1px solid rgba(213, 156, 78, 0.1);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo img {
    height: 60px;
    width: auto;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--color-gray-medium);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-gold-light);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-medium);
    transition: all var(--transition-normal);
    border-radius: 50%;
    border: 1px solid transparent;
}

.social-icon:hover {
    color: var(--color-gold-light);
    border-color: var(--color-gold-main);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(213, 156, 78, 0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-gray-medium);
}

/* ============================================
   HORIZONTAL SCROLL LAYOUT
   ============================================ */

#page-container {
    width: 100%;
    display: block;
    height: auto;
}

#page-container.horizontal-scroll {
    display: flex;
    height: 100vh;
    width: 700vw; /* 7 sections * 100vw */
    will-change: transform;
}

.page-section {
    width: 100vw;
    min-height: 100vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-xl);
    box-sizing: border-box;
    /* overflow: hidden; */
}

#page-container:not(.horizontal-scroll) .page-section {
    width: 100%;
    min-height: unset;
    height: auto;
    flex-shrink: unset;
    display: block;
    padding: var(--spacing-xl);
}


.hero {
    min-height: auto; /* Override previous min-height */
}


/* ============================================
   ANIMATIONS
   ============================================ */

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SECTION CONTENT ANIMATIONS
   ============================================ */

.page-section .container, 
.page-section .hero-container {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: 0.3s; /* Delay to sync with scroll */
}

.page-section.active-section .container,
.page-section.active-section .hero-container {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .identity-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .identity-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }
    
    .showcase-prev {
        left: 10px;
    }
    
    .showcase-next {
        right: 10px;
    }
    
    .showcase-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --spacing-xxl: 5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: var(--spacing-lg);
        transition: left var(--transition-normal);
        border-top: 1px solid rgba(213, 156, 78, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-logo img {
        height: 150px;
    }
    
    .identity-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .identity-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-nav {
        width: 35px;
        height: 35px;
    }
    
    .showcase-nav svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

