/* Rules Page Custom Styles */
.rules-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.rules-intro h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, var(--light-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.rules-intro p {
    color: #b3c7e6;
    font-size: 1.15rem;
}

.rules-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.rules-card {
    background: linear-gradient(135deg, rgba(26,58,95,0.85) 60%, rgba(74,138,224,0.12) 100%);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(74,138,224,0.10);
    padding: 2rem 1.5rem;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1.5px solid rgba(74,138,224,0.18);
    overflow: hidden;
    animation: rulesFadeIn 0.7s;
}

.rules-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 32px rgba(74,138,224,0.18);
    border-color: var(--light-blue);
}

.rules-card h2 {
    font-size: 1.35rem;
    color: var(--light-blue);
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-weight: 700;
}

.rules-card p {
    color: #e6f1ff;
    font-size: 1.08rem;
    line-height: 1.6;
}

@keyframes rulesFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.warning-box {
    background: linear-gradient(90deg, rgba(255,107,107,0.13) 60%, rgba(74,138,224,0.08) 100%);
    border-left: 5px solid var(--warning);
    padding: 1.2rem 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(255,107,107,0.08);
}

.warning-box h3 {
    color: var(--warning);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.warning-box p {
    color: #ffd6d6;
    font-size: 1.05rem;
}
 :root {
            --primary-blue: #1a3a5f;
            --secondary-blue: #2a4a6f;
            --accent-blue: #3a6ac0;
            --light-blue: #4a8ae0;
            --text-light: #e6f1ff;
            --text-dark: #0a192f;
            --warning: #ff6b6b;
            --success: #4cd97b;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: var(--text-dark);
            color: var(--text-light);
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(26, 58, 95, 0.8) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(42, 74, 111, 0.6) 0%, transparent 20%),
                linear-gradient(135deg, #0a192f 0%, #1a3a5f 100%);
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }
        
        /* Animated background elements */
        .bg-elements {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }
        
        .bg-element {
            position: absolute;
            border-radius: 50%;
            background: radial-gradient(circle, var(--light-blue) 0%, transparent 70%);
            opacity: 0.1;
            animation: float 15s infinite linear;
        }
        
        @keyframes float {
            0% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
            100% { transform: translateY(0) rotate(360deg); }
        }
        
        /* Header Styles */
        header {
            background: rgba(26, 58, 95, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 2rem;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            border-bottom: 1px solid rgba(74, 138, 224, 0.3);
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo-icon {
            font-size: 2rem;
            color: var(--light-blue);
        }
        
        .logo-text {
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(to right, var(--light-blue), var(--accent-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        
        .nav-links a {
            color: var(--text-light);
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        
        .nav-links a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--light-blue);
            transition: width 0.3s;
        }
        
        .nav-links a:hover::before {
            width: 100%;
        }
        
        .nav-links a:hover {
            color: var(--light-blue);
        }
        
        .nav-links a.active {
            color: var(--light-blue);
        }
        
        .nav-links a.active::before {
            width: 100%;
        }
        
        /* Main Content Styles */
        main {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
            min-height: calc(100vh - 160px);
        }
        
        .page {
            display: none;
            animation: fadeIn 0.5s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .active {
            display: block;
        }
        
        /* Home Page */
        .hero {
            text-align: center;
            padding: 4rem 2rem;
            background: rgba(26, 58, 95, 0.7);
            border-radius: 15px;
            margin-bottom: 3rem;
            position: relative;
            overflow: hidden;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at top right, rgba(74, 138, 224, 0.2), transparent 50%);
            z-index: -1;
        }
        
        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            background: linear-gradient(to right, var(--text-light), var(--light-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto 2rem;
            color: #ccd6f6;
        }
        
        .btn-hero {
            background: linear-gradient(to right, var(--light-blue), var(--accent-blue));
            color: var(--text-dark);
            padding: 1rem 2rem;
            font-size: 1.1rem;
            border-radius: 50px;
            margin: 0 0.5rem;
            box-shadow: 0 5px 15px rgba(74, 138, 224, 0.4);
            border: none;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .btn-hero:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(74, 138, 224, 0.6);
        }
        
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        
        .feature-card {
            background: rgba(26, 58, 95, 0.7);
            border-radius: 10px;
            padding: 2rem;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
            border: 1px solid rgba(74, 138, 224, 0.2);
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            border-color: rgba(74, 138, 224, 0.5);
        }
        
        .feature-icon {
            font-size: 3rem;
            color: var(--light-blue);
            margin-bottom: 1rem;
        }
        
        .info-box {
            background: rgba(74, 138, 224, 0.1);
            border-left: 4px solid var(--light-blue);
            padding: 1rem;
            margin: 1.5rem 0;
            border-radius: 5px;
        }
        
        .warning-box {
            background: rgba(255, 107, 107, 0.1);
            border-left: 4px solid var(--warning);
            padding: 1rem;
            margin: 1.5rem 0;
            border-radius: 5px;
        }
        
        .owner-section {
            background: rgba(26, 58, 95, 0.7);
            border-radius: 10px;
            padding: 2rem;
            text-align: center;
            margin: 3rem 0;
            border: 1px solid rgba(74, 138, 224, 0.3);
        }
        
        .owner-section h2 {
            color: var(--light-blue);
            margin-bottom: 1rem;
        }
        
        .owner-section p {
            margin-bottom: 1.5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .btn-owner {
            background: transparent;
            color: var(--light-blue);
            border: 2px solid var(--light-blue);
            padding: 0.8rem 1.5rem;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
        }
        
        .btn-owner:hover {
            background: rgba(74, 138, 224, 0.1);
            transform: translateY(-2px);
        }
        
        /* Pricing Page */
        .pricing-intro {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .pricing-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        
        .pricing-card {
            background: rgba(26, 58, 95, 0.7);
            border-radius: 10px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s;
            border: 1px solid rgba(74, 138, 224, 0.2);
            position: relative;
            overflow: hidden;
        }
        
        .pricing-card.popular {
            border-color: var(--light-blue);
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(74, 138, 224, 0.3);
        }
        
        .pricing-card.popular::before {
            content: 'MOST POPULAR';
            position: absolute;
            top: 0;
            right: 0;
            background: var(--light-blue);
            color: var(--text-dark);
            padding: 0.5rem 1rem;
            font-size: 0.8rem;
            font-weight: 700;
            border-radius: 0 0 0 10px;
        }
        
        .pricing-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--light-blue);
        }
        
        .price {
            font-size: 2.5rem;
            font-weight: 700;
            margin: 1rem 0;
            color: var(--text-light);
        }
        
        .price span {
            font-size: 1rem;
            color: #ccd6f6;
        }
        
        .pricing-features {
            list-style: none;
            margin: 2rem 0;
            text-align: left;
        }
        
        .pricing-features li {
            margin-bottom: 0.8rem;
            padding-left: 1.5rem;
            position: relative;
        }
        
        .pricing-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--success);
            font-weight: bold;
        }
        
        .btn-pricing {
            width: 100%;
            padding: 1rem;
            background: var(--light-blue);
            color: var(--text-dark);
            border-radius: 5px;
            font-weight: 600;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }
        
        .btn-pricing:hover {
            background: var(--accent-blue);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(74, 138, 224, 0.4);
        }
        
        /* Terms Page */
        .terms-container {
            background: rgba(26, 58, 95, 0.7);
            border-radius: 10px;
            padding: 2rem;
            margin-top: 2rem;
        }
        
        .terms-section {
            margin-bottom: 2rem;
        }
        
        .terms-section h2 {
            color: var(--light-blue);
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid rgba(74, 138, 224, 0.3);
        }
        
        .terms-list {
            list-style: none;
            margin-left: 1rem;
        }
        
        .terms-list li {
            margin-bottom: 0.8rem;
            padding-left: 1.5rem;
            position: relative;
        }
        
        .terms-list li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--light-blue);
        }
        
        /* Quarantine Modal */
        #quarantine-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }
        
        .quarantine-content {
            background: var(--primary-blue);
            padding: 3rem;
            border-radius: 15px;
            text-align: center;
            max-width: 500px;
            width: 90%;
            border: 2px solid var(--warning);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            animation: shake 0.5s;
        }
        
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
            20%, 40%, 60%, 80% { transform: translateX(5px); }
        }
        
        .quarantine-icon {
            font-size: 4rem;
            color: var(--warning);
            margin-bottom: 1rem;
        }
        
        .quarantine-content h2 {
            color: var(--warning);
            margin-bottom: 1rem;
        }
        
        .quarantine-content p {
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }
        
        #close-quarantine {
            background: var(--warning);
            color: white;
            border: none;
            padding: 0.8rem 2rem;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s;
        }
        
        #close-quarantine:hover {
            background: #ff5252;
            transform: translateY(-2px);
        }
        
        /* Footer */
        footer {
            background: rgba(10, 25, 47, 0.9);
            padding: 3rem 2rem 1.5rem;
            margin-top: 4rem;
            border-top: 1px solid rgba(74, 138, 224, 0.3);
        }
        
        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .footer-section h3 {
            color: var(--light-blue);
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        
        .footer-links a {
            color: #ccd6f6;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: var(--light-blue);
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(74, 138, 224, 0.2);
            color: #8892b0;
            font-size: 0.9rem;
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                gap: 1rem;
            }
            
            .nav-links {
                gap: 1rem;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .pricing-card.popular {
                transform: scale(1);
            }
        }

.additional-buttons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.85rem;
    background-color: #0070f3;
    color: #fff;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-small:hover {
    background-color: #005bb5;
}
