/* ==========================================
   INDIA-39 RULES - STYLESHEET
   Numbered Verbatim Rules Layout
   Fonts: Poppins & Calibri ONLY
   ========================================== */

:root {
    --font-family: 'Poppins', Calibri, Arial, sans-serif;
    
    /* Liquid Glass Colors */
    --glass-bg: rgba(14, 16, 24, 0.7);
    --glass-border: rgba(255, 255, 255, 0.16);
    --glass-card: rgba(255, 255, 255, 0.035);
    --glass-card-hover: rgba(255, 255, 255, 0.06);
    
    --miku-teal: #39C5BB;
    --lotus-pink: #ff3b80;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #20bd5a;
    
    --text-white: #ffffff;
    --text-body: #d8dadf;
    --text-muted: #9ca3af;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;

    --shadow-glass: 0 25px 70px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    color: var(--text-body);
}

/* Base Flowing Spectrum Background */
body {
    background: linear-gradient(-45deg, #090a0f, #16002c, #00222a, #2c001c, #090a0f);
    background-size: 400% 400%;
    animation: gradientShift 22s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animated Flowing Spectrum Blobs */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.spectrum-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.55;
    z-index: -1;
    pointer-events: none;
    animation: flowSpectrum 25s infinite ease-in-out alternate;
}

.blob-teal {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #00f2fe 0%, #39C5BB 50%, transparent 70%);
    top: -150px;
    left: -150px;
}

.blob-pink {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, #ff3b80 0%, #e02868 50%, transparent 70%);
    bottom: -180px;
    right: -180px;
    animation-delay: -6s;
}

.blob-purple {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #7000ff 0%, #5865F2 50%, transparent 70%);
    top: 35%;
    left: 55%;
    transform: translate(-50%, -50%);
    animation-delay: -12s;
}

.blob-yellow {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, #ffaa00 0%, #ff5500 50%, transparent 70%);
    bottom: 10%;
    left: -100px;
    animation-delay: -18s;
}

@keyframes flowSpectrum {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(80px, 60px) rotate(120deg) scale(1.2); }
    66% { transform: translate(-60px, 100px) rotate(240deg) scale(0.9); }
    100% { transform: translate(40px, -40px) rotate(360deg) scale(1.1); }
}

/* Page Layout */
.page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 3.5rem 1.25rem;
}

/* Liquid Glass Centered Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    max-width: 720px;
    width: 100%;
    padding: 3.25rem 2.75rem;
    box-shadow: var(--shadow-glass);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Specular glass reflection line */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* Top Middle Logo */
.logo-container {
    margin-bottom: 1.5rem;
}

.profile-logo {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--miku-teal);
    box-shadow: 0 0 30px rgba(57, 197, 187, 0.4), 0 8px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

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

/* Header Text */
.header-section {
    text-align: center;
    width: 100%;
    margin-bottom: 2.25rem;
}

.main-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--miku-teal);
    letter-spacing: 0.5px;
    margin-bottom: 1.6rem;
}

.intro-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.intro-box p {
    font-size: 0.96rem;
    color: var(--text-body);
    line-height: 1.6;
}

.intro-box strong {
    color: var(--text-white);
}

.mission-note {
    background: rgba(57, 197, 187, 0.08);
    border-left: 3px solid var(--miku-teal);
    padding: 0.6rem 0.85rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.rules-notice {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.3rem;
}

/* Numbered Verbatim Rules List */
.numbered-rules-list {
    list-style: none;
    counter-reset: rule-counter;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 2.75rem;
}

.numbered-rules-list li {
    counter-increment: rule-counter;
    background: var(--glass-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.35rem;
    position: relative;
    padding-left: 3.5rem;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.numbered-rules-list li::before {
    content: counter(rule-counter) ".";
    position: absolute;
    left: 1.2rem;
    top: 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--miku-teal);
}

.numbered-rules-list li:hover {
    background: var(--glass-card-hover);
    border-color: rgba(57, 197, 187, 0.4);
    transform: translateY(-2px);
}

.numbered-rules-list li p {
    font-size: 0.93rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* Action Button at Bottom */
.action-footer {
    width: 100%;
    display: flex;
    justify-content: center;
}

.join-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 1.75rem;
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-hover) 100%);
    color: #ffffff;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1.08rem;
    border-radius: var(--radius-md);
    text-decoration: none !important;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
    text-align: center;
}

.join-btn:hover {
    background: linear-gradient(135deg, #28e06f 0%, #1b9c4a 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
}

/* Responsive */
@media (max-width: 600px) {
    .glass-card {
        padding: 2rem 1.25rem;
    }
    
    .main-title {
        font-size: 1.8rem;
    }

    .numbered-rules-list li {
        padding-left: 2.8rem;
        padding-right: 1rem;
    }

    .numbered-rules-list li::before {
        left: 1rem;
    }

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