/* yonoslots - Modern Purple Style - English + Hindi */
/* Mobile-first design with purple/violet accents */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --dark: #0f0a1a;
    --darker: #070510;
    --card-bg: #1a1128;
    --card-border: #2d1f42;
    --white: #ffffff;
    --offwhite: #f5f3ff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --text: #e2e8f0;
    --text-light: #94a3b8;
    --shadow: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.4);
    --radius: 12px;
    --radius-lg: 20px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    word-wrap: break-word;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--dark);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; }

/* Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Hindi text styling */
.hindi-text {
    color: var(--primary-light);
    font-style: italic;
    margin-top: 12px;
    padding: 12px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* Header */
.header {
    background: rgba(15, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1300px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    display: block;
    width: auto;
    height: 40px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.logo-icon img {
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 14px;
    color: var(--gray-400);
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--white);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transition: 0.3s;
    border-radius: 2px;
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 17px;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.badge-icon { font-size: 16px; }
.badge.hot { border-color: #ef4444; }
.badge.hot .badge-icon { color: #ef4444; }
.badge.new { border-color: var(--primary); }
.badge.new .badge-icon { color: var(--primary-light); }
.badge.jackpot { border-color: var(--accent); }
.badge.jackpot .badge-icon { color: var(--accent); }

/* Section */
section { padding: 60px 0; }

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--gray-400);
}

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.game-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: 0.3s all;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
}

.game-card-header {
    height: 140px;
    background: linear-gradient(135deg, var(--card-border) 0%, var(--card-bg) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
}

.game-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

.game-card-body {
    word-wrap: break-word;
    padding: 20px;
}

.game-card-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.game-card-body p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.5;
    margin-bottom: 12px;
}

.game-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-rtp {
    font-size: 12px;
    color: var(--primary-light);
    font-weight: 600;
}

.game-tags {
    display: flex;
    gap: 6px;
}

.game-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.game-tag.hot { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.game-tag.new { background: rgba(139, 92, 246, 0.2); color: var(--primary-light); }
.game-tag.jackpot { background: rgba(245, 158, 11, 0.2); color: var(--accent); }

.game-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.game-featured .game-card-header {
    height: 100%;
    min-height: 300px;
}

/* Categories */
.category-section {
    background: var(--darker);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 30px 0;
}

.categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.category-pill {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-300);
    transition: 0.3s;
}

.category-pill:hover, .category-pill.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary);
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 24px 0;
}

.info-box h3 {
    color: var(--white);
    margin-bottom: 16px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.info-item {
    text-align: center;
    padding: 16px;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius);
}

.info-item .label {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item .value {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Content Section */
.content-section {
    background: var(--darker);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.content-main h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.content-main p {
    color: var(--gray-300);
    margin-bottom: 14px;
    line-height: 1.8;
}

.sidebar-list {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.sidebar-list h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.sidebar-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--card-border);
}

.sidebar-list li:last-child { border-bottom: none; }

.sidebar-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-300);
}

.sidebar-list a:hover { color: var(--primary-light); }

/* Hubs */
.hubs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hub-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: 0.3s;
}

.hub-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.hub-icon { font-size: 40px; margin-bottom: 14px; }
.hub-card h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.hub-card p { font-size: 13px; color: var(--gray-400); }

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
    text-align: center;
    padding: 80px 0;
    position: relative;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-section p {
    color: var(--gray-300);
    margin-bottom: 24px;
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-lg { padding: 14px 32px; font-size: 15px; }

/* Footer */
.footer {
    background: var(--darker);
    border-top: 1px solid var(--card-border);
    padding: 50px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 32px;
}


.footer-brand p { font-size: 13px; color: var(--gray-400); line-height: 1.7; }
.footer-links h4 { color: var(--white); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: var(--gray-400); }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid var(--card-border); padding-top: 24px; text-align: center; font-size: 12px; color: var(--gray-500); }

/* Page Header */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
    border-bottom: 1px solid var(--card-border);
}

.page-header h1 { font-size: 36px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.page-header p { color: var(--gray-400); font-size: 16px; }

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px;
}

.article-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin: 32px 0 14px;
}

.article-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-light);
    margin: 24px 0 10px;
}

.article-content p { color: var(--gray-300); margin-bottom: 14px; line-height: 1.8; }
.article-content ul, .article-content ol { margin: 14px 0 20px 20px; }
.article-content li { color: var(--gray-300); margin-bottom: 8px; line-height: 1.7; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

/* FAQ */
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    color: var(--primary-light);
}

.faq-item.active .faq-question::after { transform: rotate(45deg); }

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 20px 16px;
    max-height: 400px;
}

.faq-answer p { color: var(--gray-400); font-size: 13px; line-height: 1.7; }

/* Responsive */
@media (max-width: 1024px) {
    .game-grid { grid-template-columns: repeat(2, 1fr); }
    .game-featured { grid-column: span 2; grid-template-columns: 1fr; }
    .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav { padding: 12px 16px; }
    .logo-icon { height: 32px; }
    .header { min-height: auto; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
        gap: 14px;
        box-shadow: var(--shadow-lg);
        display: none;
        border-top: 1px solid var(--card-border);
    }
    .nav-menu.active { display: flex; }
    .hero { padding: 50px 0 40px; }
    .game-grid { grid-template-columns: 1fr; }
    .game-featured { grid-column: span 1; }
    .hubs-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
}

/* Download App Button */
.btn-download {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-download:hover {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}