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

:root {
    --color-brand: #F5AD27;
    --color-brand-dark: #C48612;
    --color-orange: #F97316;
    --color-orange-dark: #EA580C;
    --color-yellow: #FBBF24;
    --color-black: #000000;
    --color-gray-900: #111827;
    --color-gray-800: #1F2937;
    --color-gray-700: #374151;
    --color-gray-600: #4B5563;
    --color-gray-400: #9CA3AF;
    --color-gray-300: #D1D5DB;
    --color-gray-100: #F3F4F6;
    --color-white: #FFFFFF;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--color-black);
    color: var(--color-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray-900) 50%, var(--color-black) 100%);
    padding: 20px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(245, 173, 39, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating Particles */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-brand);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 0.5s; }
.particle:nth-child(3) { left: 30%; top: 40%; animation-delay: 1s; }
.particle:nth-child(4) { left: 40%; top: 80%; animation-delay: 1.5s; }
.particle:nth-child(5) { left: 50%; top: 30%; animation-delay: 2s; }
.particle:nth-child(6) { left: 60%; top: 70%; animation-delay: 0.3s; }
.particle:nth-child(7) { left: 70%; top: 50%; animation-delay: 0.8s; }
.particle:nth-child(8) { left: 80%; top: 25%; animation-delay: 1.2s; }
.particle:nth-child(9) { left: 90%; top: 65%; animation-delay: 1.8s; }
.particle:nth-child(10) { left: 15%; top: 85%; animation-delay: 2.5s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.6;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.logo-container {
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(245, 173, 39, 0.5));
}

/* Hero Title */
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.gradient-text {
    background: linear-gradient(90deg, var(--color-brand), var(--color-yellow), var(--color-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-gray-300);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Entry Card */
.hero-media {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0 auto 26px;
    border-radius: 24px;
    overflow: hidden;
    border: 1.5px solid rgba(245, 173, 39, 0.25);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(245, 173, 39, 0.08) inset;
    background: rgba(31, 41, 55, 0.4);
    transform: translateZ(0);
    aspect-ratio: 16 / 9; /* main-kv.jpg is 1920x1080 */
    height: auto;
}

.hero-kv {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* fill container; crop negative-space */
    object-position: right center;
    transform: none;
    filter: saturate(1.05) contrast(1.02);
    z-index: 0;
}

.hero-media-glass {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 173, 39, 0.15) 0%, rgba(0, 0, 0, 0) 45%, rgba(249, 115, 22, 0.10) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-media-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 30% 35%, rgba(245, 173, 39, 0.25), transparent 55%);
    pointer-events: none;
    animation: heroGlow 4s ease-in-out infinite;
    z-index: 2;
}

.hero-announce {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 170px;
    transform: rotate(-2deg);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(245, 173, 39, 0.3);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.hero-announce-img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes heroGlow {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.9; }
    50% { transform: translate3d(-8px, 10px, 0) scale(1.05); opacity: 1; }
}

@media (max-width: 520px) {
    .hero-media {
        margin-bottom: 18px;
    }
    .hero-kv {
        object-position: center;
    }
    .hero-announce {
        width: 130px;
        right: 12px;
        bottom: 12px;
    }
}

/* Entry fee */
.entry-fee {
    margin: 32px auto 0;
    text-align: center;
    animation: fadeInUp 0.6s ease-out 0.8s both;
}

.entry-fee-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gray-400);
    margin-bottom: 4px;
}

.entry-fee-amount {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.entry-fee-currency {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-gray-400);
    margin-right: 2px;
    vertical-align: 0.25em;
}

.payment-warning {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-brand);
    background: rgba(245, 173, 39, 0.1);
    border: 1px solid rgba(245, 173, 39, 0.25);
    border-radius: 8px;
    padding: 10px 16px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Spots left */
.spots-left {
    margin: 16px auto 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gray-400);
    animation: fadeInUp 0.6s ease-out 0.9s both;
}

.spots-left .spots-num {
    color: var(--color-brand);
    font-weight: 800;
}

.spots-left .spots-rest {
    color: var(--color-gray-400);
    font-weight: 600;
}

/* Entry Form */
.entry-form {
    max-width: 500px;
    margin: 22px auto 0;
    animation: fadeInUp 0.8s ease-out 1s both;
}

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

.email-input {
    width: 100%;
    padding: 18px 24px;
    background: rgba(31, 41, 55, 0.8);
    border: 2px solid rgba(245, 173, 39, 0.3);
    border-radius: 12px;
    color: var(--color-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: var(--color-gray-500);
}

.email-input:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 4px rgba(245, 173, 39, 0.1);
    background: rgba(31, 41, 55, 0.95);
}

/* Terms & Conditions checkbox */
.terms-agree {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--color-gray-400);
}

.terms-agree input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-brand);
    cursor: pointer;
    flex-shrink: 0;
}

.terms-agree label {
    cursor: pointer;
}

.terms-agree a {
    color: var(--color-brand);
    text-decoration: none;
    font-weight: 600;
}

.terms-agree a:hover {
    text-decoration: underline;
}

/* Primary Button */
.btn-primary {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(90deg, var(--color-brand), var(--color-brand-dark));
    color: var(--color-black);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 173, 39, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 173, 39, 0.5);
    background: linear-gradient(90deg, var(--color-yellow), var(--color-brand));
}

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

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(5px);
}

/* Loading */
.loading {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-brand);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(245, 173, 39, 0.2);
    border-top-color: var(--color-brand);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error Message */
.error-message {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #FCA5A5;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Trust line */
.trust-line {
    margin-top: 40px;
    font-size: 0.8rem;
    color: var(--color-gray-600);
    letter-spacing: 0.01em;
}

/* Form Styles (for intake and other pages) */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-card, .thank-you-card, .pending-card {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 173, 39, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: var(--color-white);
}

.form-card h1, .thank-you-card h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--color-white);
}

.subtitle {
    color: var(--color-gray-400);
    margin-bottom: 30px;
    font-size: 1.1em;
}

.intake-slots {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gray-400);
    margin-bottom: 24px;
}

.intake-slots .spots-num {
    color: var(--color-brand);
    font-weight: 800;
}

.intake-slots .spots-rest {
    color: var(--color-gray-400);
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-gray-300);
}

.form-group input {
    width: 100%;
    padding: 15px;
    background: rgba(31, 41, 55, 0.6);
    border: 2px solid rgba(245, 173, 39, 0.3);
    border-radius: 8px;
    font-size: 1em;
    color: var(--color-white);
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 4px rgba(245, 173, 39, 0.1);
}

.form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(31, 41, 55, 0.6);
    border: 2px solid rgba(245, 173, 39, 0.3);
    border-radius: 8px;
    font-size: 1em;
    color: var(--color-white);
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group select:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 4px rgba(245, 173, 39, 0.1);
    background: rgba(31, 41, 55, 0.95);
}

.field-hint {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--color-gray-400);
    line-height: 1.4;
}

.success-message {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #6EE7B7;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
}

/* Thank You Page */
.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-brand), var(--color-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 3em;
    color: var(--color-black);
    font-weight: 800;
}

.info-box {
    background: rgba(31, 41, 55, 0.6);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: left;
    border: 1px solid rgba(245, 173, 39, 0.2);
}

.whatsapp-box {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.btn-whatsapp {
    display: inline-block;
    background: white;
    color: #25D366;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: transform 0.2s;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
}

.next-steps {
    text-align: left;
    margin-top: 30px;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(245, 173, 39, 0.2);
    color: var(--color-gray-300);
}

/* Pending Page */
.pending-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

/* Admin Styles */
.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: var(--color-black);
    min-height: 100vh;
}

.admin-header {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid rgba(245, 173, 39, 0.3);
    color: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(245, 173, 39, 0.3);
    text-align: center;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--color-brand);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(245, 173, 39, 0.2);
}

.stat-card h3 {
    color: var(--color-gray-400);
    font-size: 0.9em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--color-brand);
}

.entries-section {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(245, 173, 39, 0.3);
    color: var(--color-white);
}

.entries-section h2 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.entries-table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.entries-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--color-white);
}

.entries-table th {
    background: rgba(245, 173, 39, 0.1);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid rgba(245, 173, 39, 0.3);
    color: var(--color-brand);
}

.entries-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(245, 173, 39, 0.1);
}

.small-text {
    font-size: 0.85em;
    color: var(--color-gray-400);
    margin-top: 5px;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
    border: 1px solid rgba(16, 185, 129, 0.5);
}

.badge-default {
    background: rgba(156, 163, 175, 0.2);
    color: var(--color-gray-300);
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.badge-pending {
    background: rgba(245, 173, 39, 0.2);
    color: var(--color-brand);
    border: 1px solid rgba(245, 173, 39, 0.5);
}

.badge-processing {
    background: rgba(59, 130, 246, 0.2);
    color: #93C5FD;
    border: 1px solid rgba(59, 130, 246, 0.5);
}

.badge-completed {
    background: rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
    border: 1px solid rgba(16, 185, 129, 0.5);
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85em;
    transition: opacity 0.2s;
    font-weight: 600;
}

.btn-small:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(90deg, #10B981, #059669);
    color: white;
}

.btn-warning {
    background: linear-gradient(90deg, var(--color-brand), var(--color-brand-dark));
    color: var(--color-black);
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-brand), var(--color-brand-dark));
    color: var(--color-black);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .entry-card {
        padding: 20px;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .security-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .entries-table {
        font-size: 0.9em;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-small {
        width: 100%;
    }
}
