/* Global & Reset */
:root {
    --primary: #dc2626; /* Deep Red for Pizza Brand */
    --primary-hover: #b91c1c;
    --dark: #111827; /* Dark Gray / Black */
    --darker: #030712;
    --light: #f9fafb;
    --border: #374151;
    --text: #e5e7eb;
    --text-muted: #9ca3af;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--darker);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Utilities */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

/* Layout */
#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    background-color: rgba(3, 7, 18, 0.95);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.sponsors {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.network {
    color: #fff;
    font-weight: 500;
}

.divider {
    color: var(--border);
    font-size: 1.5rem;
    font-weight: 300;
}

.sponsor {
    color: var(--primary);
    font-weight: 700;
}

@media(max-width: 600px) {
    .sponsors {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 1.1rem;
    }
    .divider { display: none; }
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    padding: 6rem 2rem 8rem;
    text-align: center;
    position: relative;
    border-bottom: 4px solid var(--primary);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.highlight {
    background: linear-gradient(90deg, #fff, #dc2626, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
}

/* Main Content Area */
.main-content {
    flex: 1;
    width: 100%;
    max-width: 800px;
    margin: -4rem auto 3rem;
    padding: 0 1.25rem;
    position: relative;
    z-index: 5;
}

/* Card Style */
.card {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: #fff;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media(min-width: 600px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #cbd5e1;
    font-size: 0.95rem;
}

input, textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
    background: rgba(0, 0, 0, 0.4);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Buttons */
.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #991b1b 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 1.125rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.3);
}

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

.btn-secondary {
    background: var(--border);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #4b5563;
}

/* Status & Errors */
.error-message {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
}

.status-banner {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    color: #fff;
    backdrop-filter: blur(12px);
}

/* Thank You Section */
.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(34, 197, 94, 0.3);
}

#thank-you-section h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 1px;
}

#thank-you-section p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Share Panel */
#share-panel {
    margin-top: 2rem;
}

#share-panel h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.share-controls {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.share-controls input {
    flex: 1;
    background: rgba(0,0,0,0.3);
}

@media(max-width: 600px) {
    .share-controls {
        flex-direction: column;
    }
    .share-controls input, .share-controls button {
        width: 100%;
        padding: 1rem;
    }
}

/* Footer / Powered By */
#wbx-powered-by-slot {
    margin: 2rem auto;
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
}