/* Color Clash - Privacy Policy Premium Theme */

:root {
    /* Vibrant Gaming Color Palette */
    --bg-dark: #070318;
    --bg-card: #100a26;
    --bg-card-hover: #160f33;
    
    --text-primary: #f1faee;
    --text-secondary: #a5b4fc;
    --text-muted: #6b7280;
    
    --accent-red: #ff2d55;
    --accent-blue: #007aff;
    --accent-gold: #ffd166;
    
    --gradient-primary: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-blue) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(255, 45, 85, 0.15) 0%, rgba(0, 122, 255, 0.15) 100%);
    
    --border-subtle: rgba(165, 180, 252, 0.1);
    --border-glow: rgba(165, 180, 252, 0.2);
    
    --container-max: 960px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    --shadow-glow: 0 0 30px rgba(0, 122, 255, 0.2), 0 0 50px rgba(255, 45, 85, 0.1);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 45, 85, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 122, 255, 0.08) 0%, transparent 40%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1c1445;
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-primary);
}

/* Structure */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    width: 100%;
    height: 90px;
    border-bottom: 1px solid var(--border-subtle);
    background-color: rgba(7, 3, 24, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 15px rgba(0, 122, 255, 0.3);
    border: 2px solid transparent;
    background: var(--gradient-primary) border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-sm) - 2px);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-cta .btn {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.header-cta .btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(255, 45, 85, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 60px 0 40px;
    text-align: center;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
    border: 3px solid transparent;
    background: var(--gradient-primary) border-box;
    padding: 2px;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 4px);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 20px;
}

.badge-container {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.badge {
    background: rgba(165, 180, 252, 0.08);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: 1px solid var(--border-subtle);
}

.badge-update {
    border-color: rgba(255, 209, 102, 0.3);
    color: var(--accent-gold);
    background: rgba(255, 209, 102, 0.05);
}

/* Privacy policy main wrapper */
.policy-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.policy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

/* Policy Content Details */
.policy-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 36px 0 16px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
}

.policy-card h2::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.policy-card h2:first-of-type {
    margin-top: 0;
}

.policy-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.policy-card p strong {
    color: var(--text-primary);
}

/* Highlight boxes */
.highlight-box {
    background: var(--gradient-glow);
    border-left: 4px solid var(--accent-red);
    padding: 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 28px 0;
}

.highlight-box p {
    margin-bottom: 0;
    color: var(--text-primary);
    font-weight: 500;
}

.highlight-box p strong {
    color: var(--accent-gold);
}

/* Lists */
.policy-card ul {
    list-style: none;
    margin-bottom: 24px;
    padding-left: 8px;
}

.policy-card li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.policy-card li::before {
    content: "\f00c"; /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-gold);
    font-size: 0.95rem;
}

/* Interactive section grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 32px 0;
}

.feature-item {
    background: rgba(165, 180, 252, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 24px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(0, 122, 255, 0.1);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.feature-item:nth-child(2n) .feature-icon {
    background: rgba(255, 45, 85, 0.1);
    color: var(--accent-red);
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Footer styling */
footer {
    border-top: 1px solid var(--border-subtle);
    padding: 40px 0;
    background-color: rgba(7, 3, 24, 0.9);
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    overflow: hidden;
}

.footer-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
        box-shadow: var(--shadow-glow);
    }
    50% {
        transform: translateY(-8px);
        box-shadow: 0 10px 40px rgba(0, 122, 255, 0.3), 0 10px 60px rgba(255, 45, 85, 0.2);
    }
    100% {
        transform: translateY(0px);
        box-shadow: var(--shadow-glow);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .policy-card {
        padding: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    header {
        height: 80px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
}