/* =============================================
   ANCIENT WISDOM GOLF CLUB — Frontend CSS
   Professional, modern, responsive
   ============================================= */

/* === Variables === */
:root {
    --green-dark:   #1a3c20;
    --green:        #2c5530;
    --green-mid:    #3d7045;
    --green-light:  #4a7c59;
    --green-soft:   #e8f5e9;
    --gold:         #c9a84c;
    --gold-light:   #f0d080;
    --dark:         #111827;
    --dark-card:    #1f2937;
    --text:         #374151;
    --text-light:   #6b7280;
    --border:       #e5e7eb;
    --white:        #ffffff;
    --bg-gray:      #f9fafb;
    --radius:       12px;
    --radius-lg:    20px;
    --shadow:       0 4px 20px rgba(0,0,0,.08);
    --shadow-lg:    0 12px 40px rgba(0,0,0,.15);
    --transition:   all .3s cubic-bezier(.4,0,.2,1);
    --font-body:    'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
}

/* === Reset / Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: #F9F6EE;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, button { font-family: inherit; }

/* === Container === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,.1);
    padding: 12px 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
}
.navbar.scrolled .nav-logo { color: var(--green); }
.nav-logo i { font-size: 1.5rem; color: var(--gold); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    transition: var(--transition);
    letter-spacing: .3px;
}
.nav-link:hover, .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,.15);
}
.navbar.scrolled .nav-link { color: var(--text); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--green);
    background: var(--green-soft);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-admin {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    background: var(--gold);
    color: var(--dark);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-admin:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201,168,76,.4);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 4px;
    transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--green); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: var(--white);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(44,85,48,.35);
    background: linear-gradient(135deg, var(--green-dark), var(--green));
}
.btn-outline-white {
    background: transparent;
    border-color: rgba(255,255,255,.7);
    color: var(--white);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.15);
    border-color: var(--white);
}
.btn-outline-dark {
    background: transparent;
    border-color: var(--green);
    color: var(--green);
}
.btn-outline-dark:hover {
    background: var(--green);
    color: var(--white);
}
.btn-full { width: 100%; justify-content: center; }

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(145deg, #fefefe 0%, #ffffff 50%, #0f172a 100%);
    overflow: hidden;
}

/* Hero background image support */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

/* Hero video background support */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    display: block; /* Show video by default */
}



.hero-bg {
    background-image: url('');
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
    
    
    .hero-bg {
        opacity: 1 !important; /* Always show background on mobile */
    }
}

/* For larger screens, ensure video covers properly */
@media (min-width: 769px) {
    .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none;
    }
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(99,102,241,.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 140px 24px 100px;
}
.hero-eyebrow {
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 400;
    color: rgba(255,255,255,.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,.7);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 36px;
}
.hero-stat { text-align: center; }
.stat-num {
    display: block;
    font-family: var(--font-display);   
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
}
.stat-label {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.6);
    margin-top: 4px;
}
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: .9rem;
    border: 1px solid rgba(255,255,255,.3);
    animation: bounce 2s infinite;
    transition: var(--transition);
    z-index: 2;
}
.hero-scroll:hover { background: rgba(255,255,255,.25); }
@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   ABOUT STRIP
   ============================================= */
.about-strip {
    background: #F9F6EE ;
    padding: 80px 0;
    border-top: 3px solid var(--green-light);
}
.about-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-strip-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--green-dark);
    margin: 12px 0 16px;
    line-height: 1.3;
}
.about-strip-text p { color: var(--text-light); line-height: 1.8; }
.about-strip-img img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.img-placeholder {
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-light);
    border-radius: var(--radius-lg);
    font-size: 4rem;
    color: rgba(255,255,255,.5);
}

/* =============================================
   SECTIONS — General
   ============================================= */
.section { padding: 96px 0; }
.section-white { background: #F9F6EE; }
.section-gray { background: var(--bg-gray); }
.section-dark { background: var(--dark); }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 100px;
    background: var(--green-soft);
    color: var(--green);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-badge.light {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.8);
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--dark);
    margin-bottom: 14px;
    line-height: 1.25;
}
.section-title.light { color: var(--white); }
.section-sub { color: var(--text-light); font-size: 1rem; max-width: 500px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 48px; }

/* =============================================
   MERCHANDISE GRID
   ============================================= */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.product-card {
    background: #F9F6EE;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--bg-gray);
}
.product-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-img-placeholder {
    height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: #ccc;
}
.product-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--gold);
    color: var(--dark);
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.product-badge.available {
    background: #10b981;
    color: white;
}
.product-badge.unavailable {
    background: #ef4444;
    color: white;
}
.product-body { padding: 22px; }
.product-category {
    font-size: .75rem;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.product-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 8px 0 8px;
}
.product-desc { font-size: .88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 14px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.product-purchase-count {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 8px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.product-purchase-count i {
    color: var(--green);
    font-size: 0.9rem;
}

.product-purchase-count .count-text {
    font-weight: 600;
    color: var(--text);
}

.product-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.btn-buy {
    width: 100%;
    background: var(--green);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-buy:hover:not(.disabled) {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
.btn-buy.disabled {
    background: var(--gray);
    color: var(--gray-dark);
    cursor: not-allowed;
    opacity: 0.6;
}
.btn-buy i {
    font-size: 0.9rem;
}
.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green);
    font-family: var(--font-display);
}
.product-stock { font-size: .8rem; color: #22c55e; }
.product-stock.out { color: #ef4444; }

/* =============================================
   NEWS GRID
   ============================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.news-card {
    background: #F9F6EE;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-img-wrap { height: 200px; overflow: hidden; background: var(--bg-gray); }
.news-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-img-wrap img { transform: scale(1.06); }
.news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: .8rem; color: var(--green); font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.news-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
}
.news-body p { font-size: .9rem; color: var(--text-light); line-height: 1.7; flex: 1; margin-bottom: 18px; }
.read-more {
    font-size: .85rem;
    font-weight: 600;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.read-more:hover { color: var(--green-dark); gap: 10px; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-slider {
    position: relative;
    margin-top: 40px;
}




.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    font-size: 1.1rem;
}

.slider-btn:hover {
    background: rgba(255,255,255,.2);
    border-color: var(--gold);
    color: var(--gold);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-info {
    text-align: center;
    margin-top: 20px;
}

.slide-counter {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 600;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

.testimonial-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-card:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-4px);
    border-color: var(--gold);
}

.comment-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--dark);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.quote-icon { 
    font-size: 1.8rem; 
    color: var(--gold); 
    opacity: .6; 
    margin-bottom: 16px; 
}

.testimonial-text {
    color: rgba(255,255,255,.8);
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-author { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
}

.comment-date {
    display: block;
    color: rgba(255,255,255,.6);
    font-size: 0.8rem;
    margin-top: 4px;
}

.testimonials-container {
    margin-top: 40px;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 30px;
}

.comment-count {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    max-height: 600px;
    overflow-y: auto;
    padding: 10px;
}

.testimonials-grid::-webkit-scrollbar {
    width: 8px;
}

.testimonials-grid::-webkit-scrollbar-track {
    background: rgba(255,255,255,.1);
    border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}
.author-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--gold));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}
.testimonial-author strong { display: block; color: var(--white); font-size: .95rem; }
.testimonial-author span { font-size: .8rem; color: rgba(255,255,255,.5); }

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 36px;
    align-items: start;
}
.contact-info-panel, .contact-form-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.contact-info-panel h3, .contact-form-panel h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--green-dark);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--green-soft);
}
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}
.contact-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--green-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--green);
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-item strong { display: block; font-weight: 600; color: var(--dark); margin-bottom: 3px; font-size: .9rem; }
.contact-item p { font-size: .88rem; color: var(--text-light); }
.contact-socials { display: flex; gap: 12px; margin-top: 28px; }
.contact-socials a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--green-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--green);
    transition: var(--transition);
    font-size: .95rem;
}
.contact-socials a:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 2px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 7px;
}
.form-group label i { color: var(--green); font-size: .85rem; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: .95rem;
    color: var(--dark);
    background: var(--bg-gray);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(44,85,48,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* Alert */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }

/* =============================================
   GAMES SECTION
   ============================================= */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.game-card {
    background: #F9F6EE;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--green);
}

.game-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    cursor: pointer;
}

.game-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fullscreen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.game-img-wrap:hover .fullscreen-overlay {
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
}

.fullscreen-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.game-img-wrap:hover .fullscreen-overlay i {
    transform: scale(1);
}

.game-img-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
}

.game-body {
    padding: 24px;
    position: relative;
}

.game-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.game-platforms {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.platform-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.platform-tag.pc {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
}

.platform-tag.mobile {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.platform-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.game-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 8px 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 3px solid var(--green);
}

/* New Game Description Layout */
.game-description {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.game-desc-item {
    background: linear-gradient(135deg, #F9F6EE 0%, #F0ECE1 100%);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.game-desc-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green) 0%, var(--gold) 50%, var(--green) 100%);
    border-radius: 3px 3px 0 0;
}

.game-desc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.game-desc-header i {
    font-size: 1.1rem;
    color: var(--green);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    padding: 6px;
}

.game-desc-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-desc-content {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    padding: 8px 0;
    position: relative;
}

.game-desc-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--green);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-description {
        gap: 8px;
    }
    
    .game-desc-item {
        padding: 12px;
    }
    
    .game-desc-header {
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .game-desc-content {
        font-size: 0.8rem;
    }
}

.game-desc strong {
    color: var(--green);
    font-weight: 600;
}

.game-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-game {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-game {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-game.mobile {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-game:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-game:active {
    transform: translateY(-1px);
}

.btn-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-game:hover::before {
    left: 100%;
}

/* Game Card Overlay Effect */
.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 16px;
}

.game-card:hover::before {
    opacity: 1;
}

/* Game Section Background Pattern */
#games {
    background: linear-gradient(135deg, #F9F6EE 0%, #F0ECE1 100%);
    position: relative;
}

#games::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(34, 197, 94, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .game-card {
        margin: 0 16px;
    }
    
    .game-body h3 {
        font-size: 1.2rem;
    }
    
    .game-img-wrap {
        height: 180px;
    }
}

/* Animation for game cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: fadeInUp 0.6s ease-out;
}

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--green-dark);
    color: rgba(255,255,255,.8);
    padding-top: 64px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-logo i { color: var(--gold); }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-bottom: 20px; color: rgba(255,255,255,.6); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,.1);
}
.footer-socials a:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

.footer-links h4, .footer-contact h4 {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: .9rem;
    color: rgba(255,255,255,.6);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact p {
    font-size: .88rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-contact i { color: var(--gold); width: 16px; }
.footer-bottom {
    text-align: center;
    padding: 22px 24px;
    font-size: .82rem;
    color: rgba(255,255,255,.4);
}
.footer-bottom strong { color: rgba(255,255,255,.7); }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(44,85,48,.4);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--green-dark); transform: translateY(-3px); }

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
    color: var(--text-light);
}
.empty-state.light { color: rgba(255,255,255,.5); }
.empty-state i { font-size: 3.5rem; opacity: .3; margin-bottom: 18px; display: block; }
.empty-state h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--text); }
.empty-state.light h3 { color: rgba(255,255,255,.7); }
.empty-state p { font-size: .9rem; }

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
    .about-strip-inner { grid-template-columns: 1fr; gap: 36px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: min(300px, 80vw);
        height: 100vh;
        background: var(--green-dark);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 4px;
        padding: 40px 28px;
        transition: right .35s cubic-bezier(.4,0,.2,1);
        z-index: 900;
        box-shadow: -8px 0 32px rgba(0,0,0,.3);
    }
    .nav-links.open { right: 0; }
    .nav-link { color: rgba(255,255,255,.85); font-size: 1rem; padding: 12px 16px; width: 100%; }
    .nav-link:hover, .nav-link.active { background: rgba(255,255,255,.1); color: var(--white); }
    .hamburger { display: flex; }
    .hero-stats { gap: 24px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .merch-grid, .news-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .contact-info-panel, .contact-form-panel { padding: 28px 22px; }
    .section { padding: 64px 0; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.4rem; }
    .section-title { font-size: 1.7rem; }
    .btn { padding: 11px 22px; font-size: .9rem; }
    .container { padding: 0 16px; }
}
