/* ============================================
   LUDICMYCELIUM.COM - Indian Luxury Social Casino
   
   CSS ARCHITECTURE: OOCSS (Object-Oriented CSS)
   - Separation of structure from skin
   - Reusable objects and patterns
   
   THEME: Indian Luxury & Elegance
   PALETTE: Indian Heritage Colors
   - saffron-gold: #ff9933 (Indian flag saffron)
   - emerald-green: #138808 (Indian flag green)
   - royal-purple: #6a0dad (Royalty & luxury)
   - lotus-pink: #ff69b4 (Sacred lotus)
   - sunset-orange: #ff6347 (Warm sunsets)
   - peacock-blue: #1e90ff (Peacock feather)
   
   EFFECT: Gradient Mesh (complex radial gradients)
   TYPOGRAPHY: Playfair Display + Lato
   BUTTONS: Gradient Fill with shine effect
   ============================================ */

/* ==================== ROOT VARIABLES ==================== */
:root {
    /* Indian Luxury Palette */
    --saffron-gold: #ff9933;
    --emerald-green: #138808;
    --royal-purple: #6a0dad;
    --lotus-pink: #ff69b4;
    --sunset-orange: #ff6347;
    --peacock-blue: #1e90ff;
    
    /* Supporting Colors */
    --ivory-white: #fffff0;
    --deep-night: #0a0a0a;
    --silk-cream: #faf0e6;
    --shadow-gray: #2a2a2a;
    --gold-accent: #ffd700;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Layout */
    --header-height: 80px;
    --container-width: 1200px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--deep-night);
    color: var(--ivory-white);
    line-height: 1.6;
}

/* ==================== OOCSS OBJECTS (STRUCTURE) ==================== */

/* Container Object */
.obj-container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Media Object */
.obj-media {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.obj-media-figure {
    flex-shrink: 0;
}

.obj-media-body {
    flex: 1;
}

/* Grid Object */
.obj-grid {
    display: grid;
    gap: 2rem;
}

.obj-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.obj-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.obj-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .obj-grid-2,
    .obj-grid-3,
    .obj-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Flex Object */
.obj-flex {
    display: flex;
    align-items: center;
}

.obj-flex-center {
    justify-content: center;
}

.obj-flex-between {
    justify-content: space-between;
}

.obj-flex-column {
    flex-direction: column;
}

/* Card Object (Structure Only) */
.obj-card {
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

/* Button Object (Structure Only) */
.obj-button {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

/* ==================== OOCSS SKINS (STYLING) ==================== */

/* Gradient Mesh Backgrounds */
.skin-mesh-primary {
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 153, 51, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(106, 13, 173, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(19, 136, 8, 0.2) 0%, transparent 60%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.skin-mesh-secondary {
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 105, 180, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(30, 144, 255, 0.25) 0%, transparent 50%),
        linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

.skin-mesh-card {
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 153, 51, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(106, 13, 173, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, rgba(42, 42, 42, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 153, 51, 0.2);
}

/* Button Skins */
.skin-button-primary {
    background: linear-gradient(135deg, var(--saffron-gold) 0%, var(--sunset-orange) 100%);
    color: var(--deep-night);
    position: relative;
    overflow: hidden;
}

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

.skin-button-primary:hover::before {
    left: 100%;
}

.skin-button-secondary {
    background: linear-gradient(135deg, var(--emerald-green) 0%, var(--peacock-blue) 100%);
    color: var(--ivory-white);
}

.skin-button-outline {
    background: transparent;
    border: 2px solid var(--saffron-gold);
    color: var(--saffron-gold);
}

.skin-button-outline:hover {
    background: var(--saffron-gold);
    color: var(--deep-night);
}

/* Text Skins */
.skin-text-gradient {
    background: linear-gradient(135deg, var(--saffron-gold), var(--royal-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== LAYOUT COMPONENTS ==================== */

/* Header */
.layout-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 153, 51, 0.2);
    z-index: 1000;
}

.layout-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--saffron-gold);
    text-decoration: none;
    letter-spacing: 1px;
}

/* Navigation */
.navigation-primary {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.navigation-link {
    color: var(--ivory-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.navigation-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--saffron-gold);
    transition: width 0.3s;
}

.navigation-link:hover {
    color: var(--saffron-gold);
}

.navigation-link:hover::after {
    width: 100%;
}

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

.mobile-menu-toggle-bar {
    width: 28px;
    height: 3px;
    background: var(--saffron-gold);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .navigation-primary {
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        border-top: 1px solid rgba(255, 153, 51, 0.2);
    }
    
    .navigation-primary.active {
        transform: translateX(0);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active .mobile-menu-toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active .mobile-menu-toggle-bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .mobile-menu-toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Hero Section */
.section-hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 60px);
    display: flex;
    align-items: center;
    background-attachment: scroll;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .section-hero {
        padding-top: calc(var(--header-height) + 40px);
        min-height: calc(100vh - 60px);
    }
}

/* Section Layout */
.section-layout {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* ==================== COMPONENT MODULES ==================== */

/* Game Card Module */
.module-game-card {
    text-align: center;
    transition: var(--transition);
}

.module-game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 153, 51, 0.3);
}

.game-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.game-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--saffron-gold);
}

.game-card-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Benefit Card Module */
.module-benefit-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.benefit-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.benefit-card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--lotus-pink);
}

.benefit-card-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Testimonial Module */
.module-testimonial {
    padding: 2rem;
    text-align: center;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--saffron-gold);
    font-size: 1.1rem;
}

.testimonial-role {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

/* FAQ Module */
.module-faq-item {
    border-bottom: 1px solid rgba(255, 153, 51, 0.2);
    padding: 1.5rem 0;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--ivory-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--saffron-gold);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--saffron-gold);
    transition: transform 0.3s;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.faq-answer.active {
    max-height: 500px;
    margin-top: 1rem;
}

/* Leaderboard Module */
.module-leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.leaderboard-rank {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-accent);
    min-width: 50px;
}

.leaderboard-player {
    flex: 1;
}

.leaderboard-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ivory-white);
    margin-bottom: 0.3rem;
}

.leaderboard-score {
    color: var(--emerald-green);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Games Grid */
.games-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.games-grid .module-game-card {
    flex: 0 0 auto;
    width: clamp(280px, 30%, 350px);
}

@media (max-width: 768px) {
    .games-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .games-grid .module-game-card {
        width: 100%;
        max-width: 400px;
    }
}

/* ==================== DISCLAIMER ==================== */
.section-disclaimer {
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 99, 71, 0.2) 0%, transparent 70%),
        linear-gradient(135deg, #1a0a0a 0%, #0a0a0a 100%);
    padding: 3rem 0;
    border-top: 2px solid var(--sunset-orange);
}

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

.disclaimer-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--sunset-orange);
    margin-bottom: 1.5rem;
}

.disclaimer-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.disclaimer-badges .badge {
    background: rgba(255, 99, 71, 0.2);
    border: 2px solid var(--sunset-orange);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    color: var(--ivory-white);
}

/* ==================== FOOTER ==================== */
.layout-footer {
    background: rgba(10, 10, 10, 0.95);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255, 153, 51, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--saffron-gold);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--saffron-gold);
    padding-left: 5px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.compliance-logos {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.compliance-logo {
    height: 40px !important;
    width: auto !important;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 8px;
    opacity: 0.9;
    transition: var(--transition);
    border: 1px solid rgba(255, 153, 51, 0.3);
    object-fit: contain;
}

.compliance-logo:hover {
    opacity: 1;
    border-color: var(--saffron-gold);
    box-shadow: 0 0 15px rgba(255, 153, 51, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-free-badge {
    margin-top: 1rem;
    color: var(--emerald-green);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ==================== MODALS ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid var(--saffron-gold);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 153, 51, 0.3);
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--saffron-gold);
    margin-bottom: 1rem;
}

.modal-body p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.modal-warning {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
    border: 2px solid var(--saffron-gold);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden {
    display: none !important;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

