:root {

    --bg-body: #0f172a;
    --bg-card: #1e293b;
    --bg-input: #334155;

    --primary-color: #06b6d4;
    --primary-hover: #22d3ee;
    --accent-color: #0891b2;

    --text-main: #f1f5f9;
    --text-muted: #94a3b8;

    --border-color: #334155;
    --success-color: #10b981;
    --error-color: #ef4444;

    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
    --glow: 0 0 15px rgba(6, 182, 212, 0.3);
}

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

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


a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}


.header {
    background-color: rgba(30, 41, 59, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
}

.nav-btn {
    background-color: var(--primary-color);
    color: var(--bg-body);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--glow);
}

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


.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(22, 78, 99, 0.85) 100%),
        url('../img/hero.png') center center/cover no-repeat;

    color: var(--text-main);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;

    background-color: #0f172a;
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    position: relative;
    z-index: 2;
}


.btn {
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-body);
    box-shadow: var(--glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.5);
}

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

.btn-secondary:hover {
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--text-main);
}


.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--text-main);
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--glow);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.benefit-card p {
    color: var(--text-muted);
}


.lottery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.lottery-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.lottery-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.lottery-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.lottery-logo {
    max-width: 160px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.lottery-body {
    padding: 2rem;
    flex-grow: 1;
    text-align: center;
}

.lottery-body h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.lottery-body p {
    color: var(--text-muted);
}

.lottery-footer {
    padding: 1.5rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-color);
}

.btn-action {
    background-color: var(--success-color);
    color: #fff;
    width: 100%;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
}

.btn-action:hover {
    background-color: #059669;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}


.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(6, 182, 212, 0.15);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}


.responsible-box {
    background-color: rgba(6, 182, 212, 0.05);
    border: 1px solid var(--primary-color);
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: center;
}

.responsible-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}




.form-container,
.auth-card {
    max-width: 600px;
    width: 100%;
    margin: 3rem auto;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.auth-card {
    max-width: 420px;
    margin: 5rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-control {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

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

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}


.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group label {
    color: var(--text-muted);
    font-weight: normal;
    font-size: 0.95rem;
}


.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: none;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}


.ticket-builder {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.ticket-row {
    background: var(--bg-body);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.number-input {
    width: 50px;
    height: 50px;
    padding: 0;
    text-align: center;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.1rem;
}

.number-input:focus {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--bg-body);
    outline: none;
}

.summary-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(6, 182, 212, 0.05));
    border: 1px solid var(--primary-color);
    color: var(--text-main);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: right;
}

.summary-box h2 {
    color: var(--primary-color);
    font-size: 2rem;
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.overlay-content {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 16px;
    max-width: 500px;
    text-align: center;
    width: 90%;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

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

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    transition: 0.3s;
}

.cookie-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    z-index: 5001;
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: none;
    color: var(--text-main);
}

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


@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

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

    .ticket-row {
        flex-direction: column;
        align-items: center;
    }

    .number-group {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.pei-footer {
    background: #020617;
    color: #e5e7eb;
    padding: 24px 16px 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    text-align: center;
}

.pei-footer a {
    color: #38bdf8;
    text-decoration: none;
}

.pei-footer a:hover {
    text-decoration: underline;
}

.pei-footer-inner {
    max-width: 1200px;
    margin: 0 auto 12px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}


.pei-footer-main {
    margin: 0 0 6px;
    font-weight: 600;
}

.pei-footer-text {
    margin: 0 0 6px;
    line-height: 1.5;
}

.pei-footer-links {
    margin: 0;
}

.pei-footer-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.pei-footer-logo img {
    height: 68px;
    display: block;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
}

.pei-footer-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid #38bdf8;
    font-weight: 600;
}

.pei-footer-badge img {
    height: 20px;
}

.pei-footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid #111827;
    padding-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
}

.pei-footer-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pei-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.pei-footer-separator {
    opacity: 0.7;
}

@media (max-width: 640px) {
    .pei-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .pei-footer-logos {
        justify-content: flex-start;
    }

    .pei-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}