/* ==========================================================================
   Santiago Ballpark - Summer Camp 2026 Stylesheet
   ========================================================================== */

/* Color Tokens & Variables */
:root {
    --blue-darker: #050d18;
    --blue-dark: #091526;
    --blue-medium: #112540;
    --blue-light: #1b3860;
    --orange-primary: #ff5e00;
    --orange-hover: #e05300;
    --yellow-accent: #f5b301;
    --yellow-light: #ffcb3d;
    --white: #ffffff;
    --gray-light: #f4f6f9;
    --gray-muted: #8fa0b5;
    --glass-bg: rgba(9, 21, 38, 0.7);
    --glass-border: rgba(255, 94, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(255, 94, 0, 0.4);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Montserrat', sans-serif;
    background-color: var(--blue-darker);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--blue-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--blue-light);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--orange-primary);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Navigation Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 13, 24, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27, 56, 96, 0.4);
    transition: var(--transition-normal);
}

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

.logo-container {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text-santiago {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 0.15em;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.logo-text-ballpark {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--orange-primary);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.baseball-dot {
    font-size: 1.2rem;
    animation: rotateBall 10s linear infinite;
}

@keyframes rotateBall {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-muted);
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--orange-primary);
    transition: var(--transition-fast);
}

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

.btn-register-nav {
    background: linear-gradient(135deg, var(--orange-primary), #ff7b00);
    color: var(--white);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
    transition: var(--transition-normal);
}

.btn-register-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-link {
    font-weight: 800;
    color: var(--yellow-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    transition: var(--transition-fast);
}

.phone-link:hover {
    color: var(--yellow-light);
    transform: scale(1.05);
}

.btn-admin-access {
    background: var(--blue-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--gray-muted);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}

.btn-admin-access:hover {
    background: var(--orange-primary);
    color: var(--white);
    border-color: var(--orange-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--blue-dark);
    z-index: 2000;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: 0.4s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-drawer-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav a {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-register-drawer {
    background: var(--orange-primary);
    text-align: center;
    border-radius: 50px;
    padding: 0.8rem;
    margin-top: 1rem;
    box-shadow: 0 4px 10px rgba(255, 94, 0, 0.2);
}

.admin-drawer-link {
    color: var(--gray-muted);
    font-size: 0.95rem !important;
    text-align: center;
    margin-top: auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 9rem 2rem 5rem;
    min-height: 95vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at center, var(--blue-dark) 0%, var(--blue-darker) 100%);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/uploads/ballpark_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    mix-blend-mode: overlay;
    z-index: 1;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-badge {
    background: rgba(255, 94, 0, 0.15);
    border: 1px solid var(--orange-primary);
    color: var(--orange-primary);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(255, 94, 0, 0.1);
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 10px rgba(255, 94, 0, 0.15); }
    to { box-shadow: 0 0 25px rgba(255, 94, 0, 0.4); }
}

.hero-title {
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    line-height: 0.95;
    letter-spacing: -0.03em;
    font-weight: 900;
    text-transform: uppercase;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
}

.title-santiago {
    color: var(--white);
    -webkit-text-stroke: 2px var(--blue-light);
    font-size: 4.8rem;
    text-shadow: -2px -2px 0 var(--blue-light), 2px -2px 0 var(--blue-light), -2px 2px 0 var(--blue-light), 2px 2px 0 var(--blue-light);
}

.title-ballpark {
    color: var(--orange-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.ball-wrapper {
    display: inline-flex;
    height: 4.5rem;
    width: 4.5rem;
    align-items: center;
    justify-content: center;
}

.title-baseball-icon {
    height: 4.5rem;
    width: 4.5rem;
    object-fit: contain;
    animation: rotateBall 15s linear infinite;
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-subtitle span {
    color: var(--yellow-accent);
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.2rem;
    letter-spacing: 0.02em;
    text-transform: none;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--gray-muted);
    max-width: 750px;
    margin-top: 0.5rem;
}

.hero-description strong {
    color: var(--white);
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.btn-primary-glow {
    background: linear-gradient(135deg, var(--orange-primary), #ff8800);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 94, 0, 0.4);
    transition: var(--transition-normal);
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 94, 0, 0.6);
}

.btn-secondary-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--blue-light);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: var(--transition-normal);
}

.btn-secondary-outline:hover {
    background: var(--blue-light);
    border-color: var(--blue-light);
    transform: translateY(-3px);
}

/* Features Preview Row */
.features-preview-row {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 21, 38, 0.6);
    border: 1px solid rgba(27, 56, 96, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    padding: 1rem 2.5rem;
    margin-top: 3.5rem;
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.preview-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--orange-primary);
    line-height: 1;
}

.preview-icon {
    font-size: 1.5rem;
}

.preview-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-divider {
    width: 1px;
    height: 30px;
    background: rgba(27, 56, 96, 0.6);
}

/* Common Section Layout */
section {
    padding: 6.5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.subtitle-tag {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--yellow-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.subtitle-tag.orange {
    color: var(--orange-primary);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-description {
    color: var(--gray-muted);
    font-size: 1.05rem;
}

/* Facilities Section */
.facilities-section {
    background: var(--blue-dark);
    position: relative;
}

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

/* Specific layout adjustments to balance 5 items beautifully */
@media(min-width: 992px) {
    .facilities-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .facility-card:nth-child(1),
    .facility-card:nth-child(2),
    .facility-card:nth-child(3) {
        grid-column: span 2;
    }
    .facility-card:nth-child(4),
    .facility-card:nth-child(5) {
        grid-column: 2 / span 2;
    }
    .facility-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

.facility-card {
    background: var(--blue-medium);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(27, 56, 96, 0.4);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.facility-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 94, 0, 0.4);
    box-shadow: 0 15px 30px rgba(255, 94, 0, 0.15);
}

.facility-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%; /* Aspect Ratio 5:3 */
    overflow: hidden;
}

.facility-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.facility-card:hover .facility-img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 30%, rgba(9, 21, 38, 0.9) 100%);
}

.facility-info {
    padding: 1.8rem;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.facility-icon-badge {
    position: absolute;
    top: -24px;
    right: 20px;
    background: var(--orange-primary);
    color: var(--white);
    height: 48px;
    width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 3px solid var(--blue-medium);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.facility-info h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
    color: var(--white);
}

.facility-info p {
    color: var(--gray-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Experience / Camp Info Section */
.experience-section {
    background: var(--blue-darker);
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.experience-text h2 {
    font-size: 2.3rem;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.experience-text h3 {
    color: var(--yellow-accent);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.experience-text p {
    font-size: 1.05rem;
    color: var(--gray-muted);
    margin-bottom: 2rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-item i {
    color: var(--orange-primary);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.benefit-item strong {
    color: var(--white);
    display: block;
    margin-bottom: 0.1rem;
}

.benefit-item div {
    color: var(--gray-muted);
    font-size: 0.95rem;
}

.experience-image-card {
    position: relative;
    border-radius: 20px;
    padding: 10px;
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--orange-primary) 100%);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.badge-available {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--yellow-accent);
    color: var(--blue-darker);
    font-weight: 900;
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    letter-spacing: 0.08em;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.image-container-decor {
    border-radius: 16px;
    overflow: hidden;
    height: 360px;
}

.main-experience-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-number-card {
    position: absolute;
    bottom: -25px;
    right: 25px;
    background: var(--blue-dark);
    border: 2px solid var(--orange-primary);
    border-radius: 12px;
    padding: 1rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-glow);
    animation: pulseCard 3s infinite;
}

@keyframes pulseCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.phone-icon-holder {
    background: var(--orange-primary);
    color: var(--white);
    height: 42px;
    width: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--gray-muted);
    text-transform: uppercase;
    display: block;
}

.contact-val {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

/* Registration Section & Form */
.registration-section {
    background: var(--blue-dark);
    position: relative;
}

.registration-wrapper {
    background: var(--blue-medium);
    border: 1px solid rgba(27, 56, 96, 0.6);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
}

.form-intro {
    background-image: linear-gradient(135deg, rgba(9, 21, 38, 0.75) 0%, rgba(27, 56, 96, 0.9) 100%), url('/uploads/register_bg.png');
    background-size: cover;
    background-position: center;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(27, 56, 96, 0.6);
    position: relative;
}

.form-intro h2 {
    font-size: 2.2rem;
    color: var(--orange-primary);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.form-intro p {
    color: var(--gray-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.steps-indicator {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.4;
    transition: var(--transition-fast);
}

.step.active {
    opacity: 1;
}

.step-num {
    background: var(--blue-light);
    color: var(--white);
    height: 32px;
    width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 2px solid transparent;
}

.step.active .step-num {
    background: var(--orange-primary);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 94, 0, 0.4);
}

.step-txt {
    font-weight: 700;
    font-size: 0.95rem;
}

.step-line {
    width: 2px;
    height: 20px;
    background: rgba(27, 56, 96, 0.6);
    margin-left: 15px;
}

/* Form Styles */
#registrationForm {
    padding: 3.5rem;
    position: relative;
}

.form-step-container {
    display: none;
}

.form-step-container.active {
    display: block;
    animation: slideInForm 0.35s ease;
}

@keyframes slideInForm {
    from { opacity: 0; transform: translateX(15px); }
    to { opacity: 1; transform: translateX(0); }
}

.form-step-title {
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
    color: var(--white);
    border-left: 4px solid var(--orange-primary);
    padding-left: 0.8rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group label i {
    color: var(--orange-primary);
    margin-right: 0.3rem;
}

.form-group input, 
.form-group select {
    background: var(--blue-dark);
    border: 1px solid rgba(27, 56, 96, 0.8);
    color: var(--white);
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.25);
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 10px rgba(255, 94, 0, 0.25);
}

.form-help {
    font-size: 0.78rem;
    color: var(--gray-muted);
    margin-top: 0.2rem;
}

.form-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
}

.btn-next-step, 
.btn-submit-registration {
    background: var(--orange-primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 0.9rem 2rem;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-fast);
}

.btn-next-step:hover,
.btn-submit-registration:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
}

.btn-prev-step {
    background: transparent;
    border: 1px solid rgba(27, 56, 96, 0.8);
    color: var(--gray-muted);
    border-radius: 8px;
    padding: 0.9rem 2rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-fast);
}

.btn-prev-step:hover {
    border-color: var(--white);
    color: var(--white);
}

/* Success State Overlay */
.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--blue-medium);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    z-index: 50;
    animation: fadeIn 0.4s ease;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.success-card {
    text-align: center;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.success-icon {
    font-size: 4rem;
    color: #00d97e;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-card h2 {
    font-size: 2rem;
}

.success-card p {
    color: var(--gray-muted);
}

.summary-box {
    background: var(--blue-dark);
    border: 1px solid rgba(27, 56, 96, 0.8);
    border-radius: 12px;
    padding: 1.2rem;
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.4rem;
}

.summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.summary-label {
    color: var(--gray-muted);
    font-weight: 600;
}

.summary-val {
    color: var(--white);
    font-weight: 700;
}

/* Footer Styles */
.main-footer {
    background: var(--blue-darker);
    border-top: 1px solid rgba(27, 56, 96, 0.5);
    padding: 5rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(27, 56, 96, 0.3);
}

.footer-branding p {
    color: var(--gray-muted);
    margin-top: 1rem;
    max-width: 400px;
}

.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: var(--white);
}

.footer-contact p {
    color: var(--gray-muted);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.orange-text {
    color: var(--orange-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-link-text {
    font-style: italic;
    opacity: 0.8;
}

/* Admin Panel Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 13, 24, 0.8);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-backdrop.active {
    display: flex;
}

.admin-modal-card {
    background: var(--blue-medium);
    border: 1px solid var(--orange-primary);
    box-shadow: var(--shadow-glow);
    border-radius: 20px;
    width: 100%;
    max-width: 950px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

@keyframes modalPop {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
    background: var(--blue-dark);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(27, 56, 96, 0.6);
}

.modal-header h3 {
    font-size: 1.3rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.modal-header h3 i {
    color: var(--orange-primary);
}

.btn-close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.btn-close-modal:hover {
    color: var(--orange-primary);
}

/* Admin Auth Container */
.admin-auth-container {
    padding: 3rem;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 450px;
    margin: 0 auto;
    text-align: center;
}

.admin-auth-container.active {
    display: flex;
}

.admin-auth-container p {
    color: var(--gray-muted);
}

.password-group {
    text-align: left;
}

.btn-admin-submit {
    background: var(--orange-primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 1rem;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-admin-submit:hover {
    background: var(--orange-hover);
}

.auth-error-msg {
    color: #ff3366;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
}

/* Admin Dashboard Container */
.admin-dashboard-container {
    display: none;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.admin-dashboard-container.active {
    display: flex;
}

.admin-tabs {
    display: flex;
    background: var(--blue-dark);
    border-bottom: 1px solid rgba(27, 56, 96, 0.6);
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 1.2rem;
    color: var(--gray-muted);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: var(--white);
}

.tab-btn.active {
    color: var(--orange-primary);
    border-bottom-color: var(--orange-primary);
    background: rgba(255, 94, 0, 0.05);
}

.admin-tab-content {
    display: none;
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1;
}

.admin-tab-content.active {
    display: block;
}

/* Dashboard Actions */
.table-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-export {
    background: #00d97e;
    color: var(--blue-darker);
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}

.btn-export:hover {
    background: #00be6e;
    transform: translateY(-1px);
}

.btn-clear-all {
    background: transparent;
    border: 1px solid rgba(255, 51, 102, 0.4);
    color: #ff3366;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}

.btn-clear-all:hover {
    background: rgba(255, 51, 102, 0.1);
}

/* Submissions Table */
.table-wrapper {
    overflow-x: auto;
    border: 1px solid rgba(27, 56, 96, 0.6);
    border-radius: 12px;
    background: var(--blue-dark);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.85rem;
}

.admin-table th {
    background: var(--blue-light);
    color: var(--white);
    padding: 1rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(27, 56, 96, 0.6);
    white-space: nowrap;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(27, 56, 96, 0.4);
    color: var(--gray-muted);
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: var(--white);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.td-name {
    font-weight: 700;
    color: var(--white);
}

.btn-row-delete {
    background: none;
    border: none;
    color: #ff3366;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.3rem;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.btn-row-delete:hover {
    background: rgba(255, 51, 102, 0.15);
}

/* Settings Form Styling */
#settingsForm {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.password-change-section {
    border-top: 1px solid rgba(27, 56, 96, 0.6);
    padding-top: 1.8rem;
    margin-top: 0.5rem;
}

.password-change-section h4 {
    margin-bottom: 1.2rem;
    color: var(--white);
}

.settings-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-save-settings {
    background: var(--orange-primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-save-settings:hover {
    background: var(--orange-hover);
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

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

    .title-santiago {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .features-preview-row {
        flex-direction: column;
        border-radius: 20px;
        padding: 1.5rem;
        gap: 1rem;
    }

    .preview-divider {
        width: 80%;
        height: 1px;
    }

    .experience-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .registration-wrapper {
        grid-template-columns: 1fr;
    }

    .form-intro {
        border-right: none;
        border-bottom: 1px solid rgba(27, 56, 96, 0.6);
        padding: 2.5rem;
    }

    #registrationForm {
        padding: 2.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group {
        grid-column: span 1 !important;
    }
    .header-actions {
        display: none;
    }
    section {
        padding: 4.5rem 1.5rem;
    }
}

/* Language Selection Toggle Styling */
.btn-lang-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    padding: 0.5rem 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}

.btn-lang-toggle:hover {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

.btn-lang-toggle-mobile {
    background: var(--blue-medium);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.btn-lang-toggle-mobile:hover {
    background: var(--blue-light);
    border-color: var(--orange-primary);
}
