@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    
    --bg-main: #0a1929;           
    --bg-secondary: #132f4c;      
    --bg-tertiary: #1e3a5f;       
    
    --primary: #66b2ff;           
    --primary-hover: #82b1ff;     
    --secondary: #4054b2;         
    --accent: #ff4d4d;            
    
    --text-main: #e0e0e0;         
    --text-muted: #aab4be;        
    --text-inverse: #0a1929;      

    --border-color: rgba(102, 178, 255, 0.2); 
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.5);  
    --radius: 12px;
    --header-height: 70px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-inverse);
    box-shadow: 0 4px 12px rgba(102, 178, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    color: var(--text-inverse);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-inverse);
    transform: translateY(-2px);
}


.hero .btn-white {
    background-color: rgba(255,255,255,0.1);
    color: var(--text-main);
    border: 1px solid var(--text-main);
    backdrop-filter: blur(5px);
}

.hero .btn-white:hover {
    background-color: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
}


.header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}


.nav-actions {
    display: flex;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

.age-badge-top {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    color: white;
    text-align: center;
    font-size: 0.85rem;
    padding: 8px;
    font-weight: 700;
    position: relative;
    top: var(--header-height);
    z-index: 900;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

main {
    margin-top: calc(var(--header-height));
    flex: 1;
    padding-bottom: 60px;
}


.hero {
    
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.9) 0%, rgba(19, 47, 76, 0.85) 100%),
                url('../img/hero.png');
    background-size: cover;
    background-position: center center;
    color: var(--text-main);
    padding: 100px 0;
    text-align: center;
    border-radius: 0 0 30px 30px;
    margin-bottom: 60px;
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}


.card {
    background: var(--bg-secondary);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-7px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(102, 178, 255, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: inline-block;
}

.card h3, .card h4 {
    margin-bottom: 15px;
    color: var(--text-main);
    font-weight: 600;
}
.card p {
    color: var(--text-muted);
}


.list-check li, .list-cross li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.list-check li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary); 
    font-size: 1.1rem;
}

.list-cross li::before {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.1rem;
}


.responsible-block {
    background: linear-gradient(145deg, var(--bg-secondary), var(--bg-tertiary));
    padding: 60px;
    border-radius: var(--radius);
    margin: 60px 0;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}
.responsible-block h2 {
    color: var(--primary) !important;
}


.faq-item {
    background: var(--bg-secondary);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid transparent;
    transition: border-color 0.3s;
}
.faq-item:hover {
    border-color: var(--border-color);
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.1rem;
}
.faq-item p {
    color: var(--text-muted);
}


.auth-container {
    max-width: 480px;
    margin: 40px auto;
    background: var(--bg-secondary);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}
.auth-container h2 {
    color: var(--primary) !important;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    color: var(--text-main);
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 178, 255, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27292.4%27%20height%3D%27292.4%27%3E%3Cpath%20fill%3D%27%2366b2ff%27%20d%3D%27M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%27%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
    padding-right: 40px;
}

.checkbox-group {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}
.checkbox-group input[type="checkbox"] {
    accent-color: var(--primary);
    margin-top: 4px;
}

hr {
    border-color: var(--border-color) !important;
}

 
.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 13, 21, 0.97); 
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s;
}

.age-gate-box {
    background: var(--bg-secondary);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}
.age-gate-box h2 {
    color: var(--text-main);
}
.age-gate-box p {
    color: var(--text-muted);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    padding: 25px;
    z-index: 9998;
    display: none;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}
.cookie-banner strong {
    color: var(--text-main);
}


@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .nav-menu, .nav-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--bg-secondary);
        padding: 25px;
        box-shadow: var(--shadow);
        border-top: 1px solid var(--border-color);
    }
    .nav-menu.active, .nav-actions.active {
        display: flex;
    }
    .header-inner {
        flex-wrap: wrap;
    }
    .mobile-toggle {
        display: block;
    }
    .header {
        height: auto;
        min-height: var(--header-height);
        padding: 10px 0;
    }
    .age-badge-top {
        top: 0;
        margin-top: auto; 
    }
    main {
         margin-top: 20px;
    }
    .hero {
        padding: 60px 0;
        border-radius: 0;
    }
    .auth-container {
        padding: 30px;
    }
    .responsible-block {
        padding: 30px;
    }
}

.site-footer {
  background: linear-gradient(180deg, #020617 0%, #020617 100%);
  color: #d4d4d4;
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.8;
  padding: 32px 20px;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.site-footer p {
  margin: 10px auto;
  max-width: 900px;
  color: #e5e7eb;
}

.site-footer strong {
  color: #ffffff;
  font-weight: 600;
}

.site-footer a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: #a5b4fc;
  text-decoration: underline;
}

.site-footer .footer-warning {
  color: #f97316;
  font-weight: bold;
  font-size: 15px;
}

.site-footer .footer-links {
  font-size: 13px;
}

.site-footer .footer-links a {
  color: #9ca3af;
  margin: 0 10px;
}

.site-footer .footer-links a:hover {
  color: #38bdf8;
}

.site-footer .footer-copyright {
  margin-top: 22px;
  font-size: 12px;
  color: #6b7280;
  padding-top: 18px;
  border-top: 1px solid #1f2937;
}
