:root {
    --bg-body: #0f1115;
    --bg-card: #181b21;
    --bg-card-hover: #1e2229;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --accent: #2e7d32;
    --accent-light: #4caf50;
    --accent-gradient: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    --accent-glow: rgba(76, 175, 80, 0.3);
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(15, 17, 21, 0.85);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

header {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: padding 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-light);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

main {
    margin-top: 90px;
    flex: 1;
    padding: 60px 0;
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at top center, #1f2937 0%, var(--bg-card) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 60px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--accent-light);
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-body {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--accent-gradient);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--accent-glow);
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn:active {
    transform: translateY(0);
}

.btn-full {
    width: 100%;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    background-color: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-card);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.card-header i {
    font-size: 1.5rem;
    color: var(--accent-light);
    background: rgba(76, 175, 80, 0.1);
    padding: 12px;
    border-radius: 12px;
}

.card-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.card p:last-child {
    margin-bottom: 0;
}

.info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.badge i {
    color: var(--accent-light);
}

.legal-notice {
    background: linear-gradient(90deg, rgba(46, 125, 50, 0.1) 0%, transparent 100%);
    border-left: 4px solid var(--accent);
    padding: 30px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 60px;
}

.legal-notice h3 {
    margin-bottom: 12px;
    color: var(--accent-light);
    font-size: 1.2rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-light);
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-group input {
    margin-top: 5px;
    cursor: pointer;
    accent-color: var(--accent);
    width: 18px;
    height: 18px;
}

.checkbox-group label {
    cursor: pointer;
}

.auth-container {
    max-width: 440px;
    margin: 40px auto;
    padding: 50px;
}

.auth-links {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-links a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

footer {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 40px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    margin: 30px;

}

.footer-content-imgs {
    margin-top: 10px;
    margin-bottom: 30px;
}

.footer-imgs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-imgs img {
    height: 40px;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;

}

.footer-links ul li {
    margin-bottom: 14px;
}

.footer-links ul li a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-warning {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(239, 83, 80, 0.08);
    border: 1px solid rgba(239, 83, 80, 0.2);
    padding: 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
}

.footer-warning i {
    color: #ef5350;
    font-size: 1.8rem;
    margin-top: -2px;
}

.footer-legal {
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
        padding: 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .card {
        padding: 30px;
    }

    .auth-container {
        padding: 30px 20px;
    }
}.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.modal-content {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.modal-content h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--text-main);
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1140px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    z-index: 1500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    gap: 20px;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-text h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.cookie-text a {
    color: var(--accent-light);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.settings-modal {
    text-align: left;
    max-width: 600px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.close-icon {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.cookie-options {
    margin-bottom: 30px;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.option-info strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 4px;
}

.option-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent);
}

input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: 0;
        width: 100%;
        border-radius: 12px 12px 0 0;
        left: 0;
        transform: none;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}