/* Teen Patti A2 - Cyber Purple Theme */
/* Modern dark theme with purple-blue gradient and glassmorphism effects */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #f59e0b;
    --accent: #10b981;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --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-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.45);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: translateY(-2px);
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.btn-sticky {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.banner-carousel {
    position: relative;
    margin-top: 40px;
    margin-bottom: 48px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(217, 70, 239, 0.18), transparent 35%),
        radial-gradient(circle at left center, rgba(99, 102, 241, 0.24), transparent 40%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    overflow: hidden;
}

.banner-slides {
    position: relative;
    min-height: 340px;
}

.banner-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transform: translateX(24px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.banner-slide.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.banner-copy {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 8px 12px 4px;
}

.banner-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.banner-copy h2 {
    font-size: 48px;
    line-height: 1.05;
    margin-bottom: 16px;
}

.banner-copy h2 span {
    background: linear-gradient(135deg, #f9a8d4 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-copy p {
    max-width: 560px;
    margin-bottom: 24px;
    color: var(--gray-light);
    font-size: 17px;
}

.banner-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.banner-visual {
    position: relative;
    height: 100%;
    min-height: 280px;
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(30, 27, 75, 0.92) 0%, rgba(88, 28, 135, 0.72) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.banner-visual::before {
    content: "";
    position: absolute;
    inset: auto -60px -90px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.35), transparent 70%);
    pointer-events: none;
}

.banner-game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.banner-game-card {
    position: relative;
    min-height: 110px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.75) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.25);
}

.banner-game-card strong,
.banner-game-card span {
    display: block;
}

.banner-game-card strong {
    font-size: 16px;
    margin-bottom: 8px;
}

.banner-game-card span {
    color: var(--gray-light);
    font-size: 13px;
}

.banner-game-card.hot::after,
.banner-game-card.new::after {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.banner-game-card.hot::after {
    content: "HOT";
    background: rgba(239, 68, 68, 0.16);
    color: #fca5a5;
}

.banner-game-card.new::after {
    content: "NEW";
    background: rgba(16, 185, 129, 0.16);
    color: #86efac;
}

.banner-callout {
    position: absolute;
    right: 16px;
    bottom: 16px;
    max-width: 180px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(251, 191, 36, 0.28);
    color: #fef3c7;
    font-size: 13px;
    line-height: 1.5;
}

.banner-stats-visual {
    display: grid;
    gap: 14px;
    align-content: stretch;
}

.banner-stat-panel {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.banner-stat-label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-light);
    font-size: 13px;
}

.banner-stat-panel strong {
    font-size: 28px;
    color: var(--white);
}

.banner-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.banner-chip-row span {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--light);
    font-size: 13px;
}

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

.banner-stack-card {
    position: absolute;
    width: 220px;
    min-height: 132px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.28);
}

.banner-stack-card span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.banner-stack-card strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
}

.banner-stack-card.primary {
    z-index: 3;
    transform: rotate(-8deg) translateX(-60px);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(217, 70, 239, 0.85));
}

.banner-stack-card.secondary {
    z-index: 2;
    transform: translateY(46px);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.92), rgba(99, 102, 241, 0.82));
}

.banner-stack-card.tertiary {
    z-index: 1;
    transform: rotate(8deg) translateX(64px);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(239, 68, 68, 0.82));
}

.banner-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.banner-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
}

.banner-dot,
.banner-arrow {
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.banner-dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: var(--secondary);
}

.banner-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 24px;
    line-height: 1;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.16);
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

.hero-visual {
    position: relative;
}

.phone-mockup {
    background: var(--dark-light);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(3deg) scale(1.02);
}

.phone-screen {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-radius: var(--radius-lg);
    aspect-ratio: 9/16;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.card-display {
    display: flex;
    gap: -20px;
    margin-bottom: 30px;
}

.card {
    width: 60px;
    height: 84px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    box-shadow: var(--shadow-md);
    margin-left: -20px;
    animation: float 3s ease-in-out infinite;
}

.card:first-child {
    margin-left: 0;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* Games Section */
.games-section {
    padding: 100px 0;
    background: var(--dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray-light);
    font-size: 18px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
}

.game-card {
    background: var(--dark-light);
    border-radius: var(--radius-lg);
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.game-icon {
    width: 88px;
    height: 88px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.14);
}

.game-copy {
    min-width: 0;
}

.game-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.game-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.24);
    color: #c4b5fd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.game-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.2;
}

.game-card p {
    color: var(--gray-light);
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.55;
}

.game-card .play-btn {
    width: auto;
    min-height: 0;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    color: #a78bfa;
    justify-content: flex-start;
    font-size: 14px;
    font-weight: 700;
}

.game-card .play-btn:hover {
    transform: none;
    background: none;
    box-shadow: none;
    color: #fbbf24;
}

.game-card .play-btn::after {
    content: "→";
    margin-left: 6px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--dark-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--gray-light);
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-section .btn {
    background: var(--white);
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 80px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    grid-column: 1 / -1;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--gray);
    margin-bottom: 20px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.social-contact-card {
    min-height: 220px;
    padding: 28px 24px;
    border-radius: 20px;
    background: rgba(30, 41, 59, 0.78);
    border: 1px solid rgba(99, 102, 241, 0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.social-contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.55);
    box-shadow: var(--shadow-glow);
}

.social-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--white);
}

.social-icon.youtube {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.social-icon.facebook {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.social-icon.telegram {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

.social-icon.whatsapp {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.social-contact-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.1;
}

.social-meta {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-light);
    font-size: 15px;
}

.social-handle {
    display: block;
    color: #a5b4fc;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-payment h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-icon {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 14px;
}

.responsible-gaming {
    margin-top: 8px;
    color: var(--secondary) !important;
    font-weight: 500;
}

.float-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 60px;
    padding: 14px 28px;
    border: 3px solid rgba(255, 255, 255, 0.96);
    border-radius: 999px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    z-index: 1100;
    box-shadow:
        0 14px 32px rgba(99, 102, 241, 0.35),
        0 0 28px rgba(139, 92, 246, 0.28);
    animation: floatDownloadButton 2.8s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.float-btn:hover {
    transform: translateY(-6px);
    filter: brightness(1.04);
    box-shadow:
        0 18px 36px rgba(99, 102, 241, 0.42),
        0 0 34px rgba(139, 92, 246, 0.38);
}

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

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    display: none;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {
    .banner-slide {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .banner-copy,
    .banner-visual {
        text-align: left;
    }

    .banner-copy h2 {
        font-size: 38px;
    }

    .banner-visual {
        min-height: 240px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .phone-mockup {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .social-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .float-btn {
        right: 16px;
        bottom: 16px;
        min-height: 54px;
        padding: 12px 22px;
        font-size: 16px;
    }

    .banner-carousel {
        padding: 18px;
        margin-bottom: 32px;
    }

    .banner-slides {
        height: 520px;
    }

    .banner-copy h2 {
        font-size: 32px;
    }

    .banner-copy p {
        font-size: 15px;
    }

    .banner-actions {
        flex-direction: column;
    }

    .banner-actions .btn {
        width: 100%;
    }

    .banner-game-grid {
        grid-template-columns: 1fr 1fr;
    }

    .banner-callout {
        position: static;
        max-width: none;
        margin-top: 14px;
    }

    .banner-stack-card {
        width: 180px;
        min-height: 112px;
    }

    .banner-stack-card strong {
        font-size: 22px;
    }

    .banner-nav {
        gap: 12px;
    }

    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .social-contact-card {
        min-height: 0;
        padding: 24px 20px;
    }

    .social-contact-card strong {
        font-size: 24px;
    }

    .social-handle {
        font-size: 16px;
    }
    
    .sticky-cta {
        display: block;
    }
    
    body {
        padding-bottom: 80px;
    }
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient-primary);
}

.glow {
    box-shadow: var(--shadow-glow);
}

/* Featured articles layout (shared) */
.featured-articles .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.featured-articles .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.featured-articles .article-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.featured-articles .article-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.featured-articles .article-content {
    padding: 22px;
}

.featured-articles .article-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    background: rgba(99, 102, 241, 0.25);
    color: var(--light);
}

.featured-articles .article-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.featured-articles .article-excerpt {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.featured-articles .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.featured-articles .read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s;
}

.featured-articles .read-more:hover {
    gap: 8px;
}

.featured-articles .view-all-btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 36px;
    transition: transform 0.3s;
}

.featured-articles .view-all-btn:hover {
    transform: translateY(-2px);
}

/* Homepage — Articles (CardMasters-style layout, dark theme) */
.a2-articles.featured-articles {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, var(--dark) 100%);
    padding: 80px 0;
}

.a2-articles .section-header h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 12px;
}

.a2-articles .section-header p {
    color: var(--gray-light);
    font-size: 1rem;
}

.a2-articles .article-card {
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
}

.a2-articles .article-card:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: var(--shadow-glow);
}

.a2-articles .article-title {
    color: var(--white);
}

.a2-articles .article-excerpt {
    color: var(--gray-light);
}

.a2-articles .article-meta {
    color: var(--gray-light);
}

.a2-articles .read-more {
    color: var(--secondary);
}

.a2-articles .view-all-btn {
    background: var(--gradient-primary);
    color: var(--white);
}
