/* =============================================
   BULLPADEL LIMITED EDITION CLUB - Registration
   ============================================= */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #ffffff;
    text-decoration: none;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 40px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    height: 28px;
    width: auto;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-badge {
    width: 80px;
    height: auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 5px;
}

.hero-cta {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 36px;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: #ffffff;
    color: #000000;
}

/* =============================================
   CONTENT SECTION
   ============================================= */
.content-section {
    background: #0d0d0d;
    padding: 80px 40px;
}

.content-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.content-heading {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    line-height: 1.3;
}

.content-left p,
.content-right p {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 16px;
    line-height: 1.7;
}

.benefit-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 28px;
    margin-bottom: 8px;
    color: #ffffff;
}

.benefit-title:first-of-type {
    margin-top: 0;
}

/* =============================================
   REGISTRATION SECTION
   ============================================= */
.register-section {
    position: relative;
    padding: 80px 40px;
    overflow: hidden;
}

.register-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
    z-index: 0;
}

/* Polygonal dark background effect */
.register-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.02) 41%, rgba(255,255,255,0.02) 60%, transparent 61%),
        linear-gradient(-45deg, transparent 40%, rgba(255,255,255,0.03) 41%, rgba(255,255,255,0.03) 60%, transparent 61%),
        linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.015) 31%, rgba(255,255,255,0.015) 70%, transparent 71%);
    background-size: 200px 200px, 300px 300px, 250px 250px;
}

.register-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.register-badge {
    width: 70px;
    height: auto;
    margin-bottom: 10px;
}

.register-title {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.register-subtitle {
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 16px;
}

.register-desc {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.7;
    max-width: 400px;
}

/* =============================================
   FORM STYLES
   ============================================= */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.required {
    color: #ffffff;
}

.form-group input,
.form-group select {
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 0.9rem;
    font-family: inherit;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #555;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap input {
    width: 100%;
    padding-right: 40px;
}

.input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1rem;
    pointer-events: none;
}

/* Legal text */
.form-legal {
    margin: 20px 0 16px;
    font-size: 0.78rem;
    color: #cccccc;
    line-height: 1.6;
}

.form-legal strong {
    color: #ffffff;
}

/* Checkboxes */
.form-checkbox {
    margin-bottom: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #cccccc;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #666;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    transition: all 0.2s;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #ffffff;
    border-color: #ffffff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: #000000;
    font-size: 12px;
    font-weight: 700;
}

/* Submit button */
.btn-submit {
    display: block;
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    background: #666;
    color: #ffffff;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #888;
}

.btn-submit:disabled {
    background: #444;
    cursor: not-allowed;
}

/* =============================================
   RESULT OVERLAYS
   ============================================= */
.result-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

.result-overlay.active {
    display: flex;
}

.result-card {
    display: none;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 50px 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #4ade80;
}

.result-icon-warn {
    color: #fbbf24;
}

.result-icon-error {
    color: #ef4444;
}

.result-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.result-card p {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 24px;
}

.btn-result {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-result:hover {
    background: #ffffff;
    color: #000000;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: #000000;
    padding: 30px 40px;
    border-top: 1px solid #1a1a1a;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-inner p {
    font-size: 0.78rem;
    color: #666;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.78rem;
    color: #666;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .content-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .register-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .register-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 16px 20px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-tagline {
        font-size: 0.8rem;
    }

    .hero-cta {
        padding: 12px 24px;
        font-size: 0.75rem;
    }

    .content-section,
    .register-section {
        padding: 50px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
