/* ===== VARIABLES & RESET ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

:root {
    --primary: #efffc1;
    --dark: #000000;
    --light: #ffffff;
    --gray: #1a1a1a;
    --gray-light: #2a2a2a;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --container-max: 1400px;
    --header-height: 80px;
    --border-radius: 15px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== UTILITY CLASSES ===== */
.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 6rem 0;
}

.dark-section {
    background: var(--gray);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(239, 255, 193, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--dark);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.nav-logo {
    flex: 0 0 auto;
}

.nav-logo .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
}

.nav-logo .logo span {
    color: var(--primary);
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--gray) 100%);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(239, 255, 193, 0.1) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #ccc;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.stats-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: #ccc;
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    width: 150px;
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.floating-card p {
    font-size: 0.9rem;
    font-weight: 500;
}

.card-1 { top: 20%; left: 20%; animation-delay: 0s; }
.card-2 { top: 50%; right: 20%; animation-delay: 2s; }
.card-3 { bottom: 20%; left: 40%; animation-delay: 4s; }
.card-4 { top: 30%; left: 60%; animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* ===== STEPS SECTION ===== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--gray-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* ===== JOIN PROCESS ===== */
.join-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.process-step:hover {
    transform: translateY(-10px);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.process-step:hover .process-icon {
    background: var(--primary);
    transform: scale(1.1);
}

.process-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.process-step:hover .process-icon i {
    color: var(--dark);
}

/* ===== CTA CONTAINER ===== */
.cta-container {
    text-align: center;
    margin-top: 4rem;
}

.cta-container h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.cta-container p {
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.note {
    color: #888;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.note i {
    margin-right: 5px;
}

/* ===== RULES GRID ===== */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.rule-card {
    background: var(--gray-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.rule-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(239, 255, 193, 0.1), transparent);
    transition: var(--transition);
}

.rule-card:hover::before {
    left: 100%;
}

.rule-icon {
    width: 70px;
    height: 70px;
    background: rgba(239, 255, 193, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.rule-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.rule-badge {
    background: var(--primary);
    color: var(--dark);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

.rules-reminder {
    background: rgba(239, 255, 193, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin-top: 3rem;
    border-radius: 0 8px 8px 0;
}

.rules-reminder h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== STAFF SECTION ===== */
.staff-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.staff-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.requirements-list,
.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.requirements-list li,
.benefits-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.requirements-list li:last-child,
.benefits-list li:last-child {
    border-bottom: none;
}

.requirements-list i,
.benefits-list i {
    margin-right: 1rem;
    color: var(--primary);
    width: 20px;
}

.staff-process {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 2rem;
}

.staff-process h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.staff-process ol {
    color: #ccc;
    padding-left: 1.5rem;
    line-height: 1.6;
}

/* ===== SOCIAL SECTION ===== */
.social-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.social-card {
    background: var(--gray-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--light);
    transition: var(--transition);
}

.social-card:hover {
    transform: translateY(-10px);
}

.social-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.social-card:hover .social-icon {
    transform: scale(1.1);
}

.instagram { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
.discord { background: #5865F2; }
.whitelist { background: var(--primary); }

.social-icon i {
    font-size: 2rem;
    color: white;
}

.social-follow {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

/* ===== NEWSLETTER ===== */
.newsletter {
    max-width: 600px;
    margin: 4rem auto 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    text-align: center;
}

.newsletter h3 {
    color: var(--light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 4rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gray-light);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    color: var(--light);
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
}

.faq-answer {
    color: #ccc;
    margin-top: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, margin-top 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 1.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active {
    background: rgba(239, 255, 193, 0.05);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: var(--primary);
}

.footer-contact {
    margin-top: 1rem;
}

.footer-contact p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.footer-links-column h4 {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links-column a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-links-column a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--light);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: var(--dark);
}

.footer-sponsors {
    text-align: center;
    margin: 2rem 0 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.footer-sponsors p:first-child {
    color: var(--light);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer-sponsors p:last-child {
    color: #aaa;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* ===== MENÚ TOGGLE (MÓVIL) ===== */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--light);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-visual {
        height: 300px;
        order: -1;
    }
    
    .staff-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        height: calc(100vh - var(--header-height));
        overflow-y: auto;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        width: 100%;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 0.8rem 0;
        display: block;
    }
    
    .nav-links a::after {
        width: 0;
        bottom: 0.5rem;
    }
    
    .nav-links a:hover::after {
        width: 50px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .floating-card {
        position: relative;
        margin: 1rem auto;
        width: 200px;
    }
    
    .card-1, .card-2, .card-3, .card-4 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 1rem;
    }
    
    .hero-visual {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .steps-container,
    .join-process,
    .rules-grid,
    .social-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stats-container {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .nav {
        padding: 0 15px;
    }
}

/* ===== ANIMACIONES ===== */
.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --primary: #ffff00;
        --light: #ffffff;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #0a0a0a;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== FORMS ===== */
.form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 2rem;
    border-left: 4px solid var(--primary);
}

.form-section-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--light);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23efffc1' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: var(--primary);
    background: rgba(239, 255, 193, 0.05);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(239, 255, 193, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-hint {
    display: block;
    margin-top: 0.3rem;
    color: #aaa;
    font-size: 0.8rem;
}

/* Radio buttons personalizados */
.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: var(--transition);
}

.radio-option input[type="radio"]:checked + .radio-custom {
    background: var(--primary);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    background: var(--dark);
    border-radius: 50%;
}

.radio-option:hover .radio-custom {
    background: rgba(239, 255, 193, 0.2);
}

/* Checkboxes personalizados */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    position: relative;
}

.checkbox-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary);
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: bold;
}

.checkbox-option:hover .checkbox-custom {
    background: rgba(239, 255, 193, 0.2);
}

/* Acuerdos y términos */
.agreement-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.agreement-box.scrollable {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 1rem;
}

.agreement-box h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.agreement-box ol,
.agreement-box ul {
    color: #ccc;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.agreement-box li {
    margin-bottom: 0.5rem;
}

/* Estilo para el scrollbar en la caja de acuerdos */
.agreement-box.scrollable::-webkit-scrollbar {
    width: 6px;
}

.agreement-box.scrollable::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.agreement-box.scrollable::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.agreement-box.scrollable::-webkit-scrollbar-thumb:hover {
    background: rgba(239, 255, 193, 0.8);
}

/* Términos y condiciones */
.terms-group {
    margin-top: 1.5rem;
}

.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    color: #ccc;
    line-height: 1.5;
}

.terms-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.terms-label .checkbox-custom {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.terms-link {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.terms-link:hover {
    text-decoration: underline;
}

/* Acciones del formulario */
.form-actions {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-submit {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    background: var(--primary);
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(239, 255, 193, 0.3);
}

.form-note {
    margin-top: 1rem;
    color: #aaa;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Estilo específico para las opciones del select (no todas son personalizables) */
.form-group select option {
    background: var(--gray-light);
    color: var(--light);
    padding: 0.5rem;
}

/* Estilo para selects en navegadores que soportan estilos limitados */
.form-group select::-ms-expand {
    display: none; /* Oculta la flecha por defecto en IE */
}

/* Estilo para selects en Safari */
@supports (-webkit-appearance: none) {
    .form-group select {
        -webkit-appearance: none;
        appearance: none;
    }
}

/* ===== RESPONSIVE FORMS ===== */
@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .checkbox-group {
        gap: 0.5rem;
    }
    
    .terms-label {
        font-size: 0.9rem;
    }
    
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 1rem;
    }
    
    .form-section {
        padding: 1.2rem;
    }
    
    .form-section-title {
        font-size: 1.3rem;
    }
}