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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #1a1d2e;
    color: #ffffff;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    will-change: transform;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

@keyframes gridMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(50px, 50px, 0); }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

.glow-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ff6b00, transparent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #00d9ff, transparent);
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(30px, -30px, 0) scale(1.1); }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.logo-symbol {
    width: 100px;
    height: 100px;
    animation: logoFloat 3s ease-in-out infinite;
    will-change: transform;
}

.logo-symbol svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.5));
}

@keyframes logoFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -10px, 0); }
}

.logo-text h1 {
    font-size: 3em;
    font-weight: 800;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #00d9ff 0%, #ff00ff 50%, #ff6b00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1em;
    color: #8b92b0;
    letter-spacing: 2px;
    font-weight: 300;
}

.form-container {
    background: rgba(26, 29, 46, 0.8);
    border-radius: 16px;
    padding: 50px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 0, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateZ(0);
}

.section {
    margin-bottom: 45px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(139, 146, 176, 0.15);
}

.section:last-of-type {
    border-bottom: none;
}

.terms-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 107, 0, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 0, 0.2);
}

.section h2 {
    font-size: 1.4em;
    margin-bottom: 25px;
    color: #ff6b00;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.player-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 45px;
}

.player-section {
    background: rgba(0, 217, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transform: translateZ(0);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #c5c9db;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="datetime-local"],
select,
textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(26, 29, 46, 0.6);
    border: 1px solid rgba(139, 146, 176, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #ff6b00;
    background: rgba(26, 29, 46, 0.9);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
    transform: translateZ(0);
}

input::placeholder,
textarea::placeholder {
    color: #6b7280;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ff6b00' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

select option {
    background: #1a1d2e;
    color: #ffffff;
    padding: 10px;
}

textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

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

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
    cursor: pointer;
    gap: 12px;
}

.checkbox-group span {
    padding-top: 2px;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    cursor: pointer;
    accent-color: #ff6b00;
    border-radius: 4px;
}

.button-group {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 16px 32px;
    font-size: 1em;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
    border: 1px solid rgba(255, 107, 0, 0.5);
    will-change: transform, box-shadow;
}

.btn-primary span {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.6);
}

.btn-primary:hover .btn-glow {
    opacity: 1;
    animation: glowPulse 1.5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

.btn-primary:active {
    transform: translate3d(0, 0, 0);
}

.btn-secondary {
    background: transparent;
    color: #ff6b00;
    border: 2px solid rgba(255, 107, 0, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 107, 0, 0.1);
    border-color: #ff6b00;
}

.success-message {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(255, 107, 0, 0.2));
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin-top: 20px;
    border: 1px solid rgba(0, 217, 255, 0.3);
    animation: slideIn 0.5s ease;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00d9ff, #00ff88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
    transform: translateZ(0);
}

.success-message h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #00d9ff;
}

.success-message p {
    font-size: 1.1em;
    color: #c5c9db;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate3d(0, -30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    color: #6b7280;
    font-size: 0.9em;
    letter-spacing: 1px;
    border-top: 1px solid rgba(139, 146, 176, 0.1);
}

@media (max-width: 768px) {
    .logo-text h1 {
        font-size: 2em;
    }

    .form-container {
        padding: 30px 20px;
    }

    .player-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .button-group {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .logo-container {
        flex-direction: column;
        gap: 15px;
    }

    .logo-symbol {
        width: 80px;
        height: 80px;
    }
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(0.8);
    cursor: pointer;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 29, 46, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff6b00, #00d9ff);
    border-radius: 6px;
    border: 2px solid rgba(26, 29, 46, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff8c00, #00ffff);
}
