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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    min-height: 100vh;
    background: linear-gradient(-45deg, #0f2027, #203a43, #2c5364, #1e3c72, #2a5298);
    background-attachment: fixed;
    background-size: 400% 400%;
    color: #333;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background Orbs */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(42, 82, 152, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 60, 114, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(106, 169, 255, 0.2) 0%, transparent 50%);
    z-index: -1;
}

/* Optional: Add background image */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1519681393784-d120267933ba?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    
    opacity: 0.15;
    z-index: -2;
}

/* Header Styles - Glassmorphism */
header {
    background: rgba(15, 32, 39, 0.7);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 2px solid rgba(106, 169, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    contain: layout style;
    transform: translate3d(0, 0, 0);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(106, 169, 255, 0.6));
    transition: all 0.4s ease;
    transform: translate3d(0, 0, 0);
}

.logo:hover {
    transform: scale(1.15) rotate(8deg);
    filter: drop-shadow(0 0 25px rgba(106, 169, 255, 1));
}

.site-name {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 
        0 0 10px rgba(106, 169, 255, 0.8),
        0 0 20px rgba(106, 169, 255, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.site-name:hover {
    text-shadow: 
        0 0 15px rgba(106, 169, 255, 1),
        0 0 30px rgba(106, 169, 255, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-right {
    display: flex;
    align-items: center;
}

.back-link {
    color: #6aa9ff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: rgba(106, 169, 255, 0.1);
    border: 1px solid rgba(106, 169, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.back-link:hover {
    background: rgba(106, 169, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(106, 169, 255, 0.3);
    border-color: rgba(106, 169, 255, 0.6);
}

/* Main Container - Ultra Glassmorphism */
.container {
    max-width: 950px;
    margin: 3rem auto;
    padding: 3.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px) saturate(180%);
    border-radius: 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 2px rgba(106, 169, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    min-height: 60vh;
    position: relative;
    overflow: hidden;
    contain: layout style paint;
    transform: translate3d(0, 0, 0);
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(106, 169, 255, 0.8), 
        transparent);
}

/* Page Title with Gradient */
.page-title {
    background: linear-gradient(135deg, #6aa9ff 0%, #ffffff 50%, #6aa9ff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 800;
    letter-spacing: -1px;
    filter: drop-shadow(0 4px 15px rgba(106, 169, 255, 0.4));
    position: relative;
    transform: translate3d(0, 0, 0);
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #6aa9ff, transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(106, 169, 255, 0.6);
}

/* Instructions and Disclaimer */
.instruction {
    text-align: center;
    color: #a8d5ff;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.disclaimer {
    background: linear-gradient(135deg, rgba(106, 169, 255, 0.15), rgba(42, 82, 152, 0.15));
    border-left: 4px solid #6aa9ff;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    border-radius: 15px;
    color: #e0f2ff;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(106, 169, 255, 0.2);
}

.disclaimer strong {
    color: #6aa9ff;
    text-shadow: 0 0 10px rgba(106, 169, 255, 0.5);
}

/* Policy Boxes - Elevated Cards */
.policy-box {
    display: block;
    background: linear-gradient(135deg, rgba(106, 169, 255, 0.1), rgba(42, 82, 152, 0.1));
    border: 2px solid rgba(106, 169, 255, 0.4);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

.policy-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(106, 169, 255, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.policy-box:hover::before {
    left: 100%;
}

.policy-box:hover {
    background: linear-gradient(135deg, rgba(106, 169, 255, 0.25), rgba(42, 82, 152, 0.25));
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(106, 169, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: #6aa9ff;
}

.policy-box h2 {
    color: #6aa9ff;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(106, 169, 255, 0.3);
    transition: all 0.3s ease;
}

.policy-box:hover h2 {
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(106, 169, 255, 0.6);
    transform: translateX(5px);
}

.policy-box p {
    color: #c5e4ff;
    line-height: 1.7;
    font-size: 1.05rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Policy Content Sections */
.policy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 15px;
    border: 1px solid rgba(106, 169, 255, 0.15);
    transition: all 0.3s ease;
    transform: translate3d(0, 0, 0);
}

.policy-section:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(106, 169, 255, 0.25);
    transform: translateX(5px);
}

.policy-section h2 {
    color: #6aa9ff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(106, 169, 255, 0.4);
    font-weight: 700;
    text-shadow: 
        0 2px 10px rgba(106, 169, 255, 0.3),
        0 0 20px rgba(106, 169, 255, 0.2);
    position: relative;
}

.policy-section h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #6aa9ff;
    box-shadow: 0 0 10px rgba(106, 169, 255, 0.8);
}

.policy-section h3 {
    color: #8dc4ff;
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.policy-section p {
    color: #d0e8ff;
    line-height: 1.9;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.policy-section ul, .policy-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: #c5e4ff;
}

.policy-section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    position: relative;
    padding-left: 0.5rem;
}

.policy-section li::marker {
    color: #6aa9ff;
}

/* Footer Styles - Modern Glass */
footer {
    background: rgba(15, 32, 39, 0.7);
    color: white;
    text-align: center;
    padding: 2.5rem;
    margin-top: 4rem;
    backdrop-filter: blur(20px) saturate(180%);
    border-top: 2px solid rgba(106, 169, 255, 0.3);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}

.copyright {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: #a8d5ff;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(106, 169, 255, 0.3);
}

.version {
    font-size: 0.95rem;
    color: #6aa9ff;
    font-weight: 500;
    text-shadow: 
        0 0 10px rgba(106, 169, 255, 0.5),
        0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .header-left {
        flex-direction: column;
        text-align: center;
    }

    .container {
        margin: 1.5rem 1rem;
        padding: 2rem 1.5rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .policy-box {
        padding: 1.5rem;
    }

    .policy-section {
        padding: 1.5rem;
    }

    footer {
        padding: 2rem 1rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 32, 39, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6aa9ff, #2a5298);
    border-radius: 10px;
    border: 2px solid rgba(15, 32, 39, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8dc4ff, #3a62b8);
}
