/* Scratchathon Grand Finale Page Styles - Based on finalist.css */

:root {
  /* Modern Teal & Blue Palette */
  --primary-color: #0093FF;
  --primary-light: #00E0FF;
  --primary-dark: #0066CC;
  --primary-darker: #004C99;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  --bg-light: #f8f9fa;
  --bg-lighter: #ffffff;

  /* Text Colors */
  --text-dark: #212529;
  --text-muted: #6c757d;
  --text-light: #adb5bd;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  --gradient-success: linear-gradient(135deg, var(--success-color) 0%, #1e7e34 100%);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Fonts */
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition: all 0.2s ease;
}

/* ===== SECTION DIVIDERS ===== */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    padding: 0 20px;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 147, 255, 0.2) 50%, transparent 100%);
    position: relative;
}

.divider-line::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 147, 255, 0.1) 0%, rgba(0, 147, 255, 0.1) 100%);
}

.divider-icon {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.divider-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: rgba(0, 147, 255, 0.05);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
}

/* ===== MAIN CONTAINER ===== */
.grand-finale-container {
    background-color: var(--bg-light);
    padding: 40px 0;
    position: relative;
}

/* Ensure full coverage - force gray background on all elements */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: var(--bg-light) !important;
    min-height: 100vh !important;
}

/* Override any template backgrounds */
body {
    background-color: var(--bg-light) !important;
}

/* Remove any default margins that might cause gaps */
* {
    box-sizing: border-box;
}

body {
    background: var(--bg-light);
}

/* Full viewport coverage */
::before, ::after {
    box-sizing: border-box;
}

/* Inner container to restore content spacing */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ===== PAGE HEADER ===== */
.page-header {
    color: var(--text-dark);
    padding: 0 0 2rem 0;
}

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

.header-left {
    flex: 1;
}

.header-left h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-left h1 i {
    color: var(--primary-color);
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
}

.header-right {
    flex-shrink: 0;
}

.header-right .btn {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-right .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== FORM WRAPPER ===== */
.grand-finale-form-wrapper {
    background: var(--bg-lighter);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    position: relative;
}

/* Ensure form fills the wrapper completely */
.grand-finale-form-wrapper form {
    margin: 0;
    padding: 0;
    display: block;
}

/* ===== FORM SECTIONS ===== */
.form-section {
    padding: 30px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: block;
}

/* Form elements should not create gaps */
.form-group {
    margin-bottom: 25px;
}

.form-group:last-child {
    margin-bottom: 0;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    margin-bottom: 25px;
}

.section-header h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.section-header h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h3 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.section-header p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    padding: 10px 20px;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 147, 255, 0.3);
}

.btn-outline-primary i {
    margin-right: 8px;
}

/* ===== LINKS SECTION ===== */
.links-section {
    margin-bottom: 30px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.link-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border: 2px solid #e1e8ff;
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.link-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.link-card h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.link-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Consistent button sizing for main action buttons */
.link-card .btn-primary {
    width: 100%;
    max-width: 220px; /* Consistent width for all buttons */
    min-height: 60px; /* Increased height to accommodate two lines */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 16px;
    transition: var(--transition);
    line-height: 1.3;
}

/* Allow text wrapping for longer button text */
.link-card .btn-primary span {
    display: block;
    word-wrap: break-word;
    word-break: break-word;
}

.link-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== EVENT FLOW TIMELINE ===== */
.event-flow-timeline {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.timeline-period {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-lg);
    padding: 25px;
    transition: var(--transition);
    position: relative;
}

.timeline-period:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.timeline-period.main-event {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 147, 255, 0.05) 0%, rgba(0, 224, 255, 0.05) 100%);
}

.time-header {
    flex-shrink: 0;
    min-width: 200px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.time {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.period-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.period-badge.setup {
    background: #6c757d;
    color: white;
}

.period-badge.mandatory {
    background: #dc3545;
    color: white;
}

.period-badge.competition {
    background: var(--primary-color);
    color: white;
}

.period-badge.lunch {
    background: #28a745;
    color: white;
}

.period-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
}

.period-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.period-details h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}

.period-details p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.period-details strong {
    color: var(--text-dark);
}

.period-details .note {
    background: #f8f9fa;
    padding: 12px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    margin-top: 10px;
}

.ceremony-schedule {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: var(--radius-sm);
}

.ceremony-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ceremony-item:last-child {
    margin-bottom: 0;
}

.ceremony-time {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 140px;
}

/* Event Disclaimer */
.event-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--radius-lg);
}

.disclaimer-icon {
    color: #ffc107;
    font-size: 1.5rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.disclaimer-text {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.5;
}

.disclaimer-text strong {
    color: #ffc107;
}

/* ===== COMPETITION TIMELINE ===== */
.competition-timeline {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.round-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-lg);
    padding: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.round-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.round-card.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 147, 255, 0.05) 0%, rgba(0, 224, 255, 0.05) 100%);
}

.round-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: var(--shadow-md);
}

.round-content {
    flex: 1;
    min-width: 0;
}

.round-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.round-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.round-header h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.round-description {
    margin-bottom: 20px;
}

.round-description p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.round-description strong {
    color: var(--primary-color);
    font-weight: 700;
}

.round-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* ===== INFO SECTION ===== */
.info-section {
    margin-bottom: 30px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.info-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e9ecef;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.info-card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    margin-bottom: 30px;
}

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

.contact-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-method i {
    font-size: 1.2rem;
}

/* ===== BACK SECTION ===== */
.back-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

/* ===== SCHEDULE CARDS ===== */
.schedule-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.schedule-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.schedule-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.schedule-card.highlight {
    background: linear-gradient(135deg, rgba(0, 147, 255, 0.1) 0%, rgba(0, 224, 255, 0.1) 100%);
    border-color: var(--primary-color);
    border-width: 3px;
}

.schedule-card.highlight .schedule-time {
    color: var(--primary-color);
    font-weight: 700;
}

.schedule-time {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.schedule-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ===== VENUE CARD ===== */
.venue-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 20px;
}

.venue-header {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.venue-header i {
    font-size: 2rem;
}

.venue-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.venue-details {
    padding: 25px;
}

.venue-details p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.venue-details strong {
    color: var(--primary-color);
    font-weight: 700;
}

.map-link {
    margin-top: 20px;
    text-align: center;
}

/* ===== COMBINED VENUE SECTION ===== */
.venue-combined {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.venue-info {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.venue-map-container {
    position: relative;
}

.map-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: #f8f9fa;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

/* ===== ENHANCED REQUIREMENTS SECTION ===== */
.requirements-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.requirement-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.requirement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-dark);
}

.requirement-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e9ecef;
}

.requirement-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    background: var(--gradient-primary);
    color: white;
}

.requirement-title {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.requirement-title h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
}

.requirement-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--primary-color);
    color: white;
}

.requirement-content {
    padding: 25px;
}

/* Document List Styles */
.document-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.document-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.document-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-info strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 4px;
}

.document-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Equipment List Styles */
.equipment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.equipment-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.equipment-item.mandatory {
    background: rgba(220, 53, 69, 0.05);
    border-left: 4px solid #dc3545;
}

.equipment-item.optional {
    background: rgba(108, 117, 125, 0.05);
    border-left: 4px solid #6c757d;
}

.equipment-item:hover {
    transform: translateX(5px);
}

.equipment-item i {
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.equipment-item.mandatory i {
    color: #dc3545;
}

.equipment-item.optional i {
    color: #6c757d;
}

.equipment-info {
    flex: 1;
}

.equipment-info strong {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 6px;
}

.mandatory-tag {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.optional-tag {
    background: #6c757d;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.equipment-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Benefit Content Styles */
.benefit-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 147, 255, 0.1) 0%, rgba(0, 147, 255, 0.05) 100%);
    border-radius: var(--radius-md);
    border: 2px solid rgba(0, 147, 255, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.benefit-text strong {
    color: var(--primary-color);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

.benefit-text p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
}

/* ===== PRIZES SECTION ===== */
.prizes-section {
    margin-top: 25px;
}

.prize-intro {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 147, 255, 0.05) 0%, rgba(0, 224, 255, 0.05) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 147, 255, 0.1);
}

.prize-intro p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

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

.prize-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid #e9ecef;
    transition: var(--transition);
}

.prize-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.prize-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.prize-item h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.prize-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Special Prize Mystery Styling */
.prize-item.special-prize {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.05) 0%, rgba(73, 80, 87, 0.05) 100%);
    border: 2px solid rgba(108, 117, 125, 0.2);
    position: relative;
    overflow: hidden;
}

.prize-item.special-prize::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(108, 117, 125, 0.03) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.prize-item.special-prize .prize-icon {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.prize-item.special-prize h4 {
    color: #495057;
    position: relative;
}

.prize-item.special-prize h4::after {
    content: ' 🤫';
    position: absolute;
    right: -10px;
    top: -5px;
    font-size: 0.8rem;
}

.prize-item.special-prize:hover {
    border-color: #6c757d;
    box-shadow: 0 10px 30px rgba(108, 117, 125, 0.2);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .grand-finale-container {
        padding: 20px 0;
    }

    /* Remove container padding for mobile to maximize space */
    .container {
        padding: 0 15px;
    }

    /* Mobile header layout - stack vertically */
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .header-left {
        flex: none;
        width: 100%;
    }

    .header-right {
        flex: none;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .header-left h1 {
        font-size: 2rem;
        justify-content: center;
    }

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

    .form-section {
        padding: 20px;
    }

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

    .info-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-methods {
        flex-direction: column;
        gap: 15px;
    }

    .schedule-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

    .requirement-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .requirement-title {
        flex-direction: column;
        gap: 8px;
    }

    .benefit-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .prize-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .prize-intro {
        padding: 15px;
    }

    .prize-item {
        padding: 20px;
    }

    .prize-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .venue-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .venue-header i {
        font-size: 1.5rem;
    }

    .venue-header h4 {
        font-size: 1.3rem;
    }

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

    .map-container iframe {
        height: 300px;
    }

    .round-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .timeline-period {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }

    .time-header {
        min-width: auto;
        width: 100%;
    }

    .time-block {
        align-items: center;
        text-align: center;
        gap: 5px;
    }

    .time {
        font-size: 1rem;
        font-weight: 600;
    }

    .period-badge {
        padding: 3px 8px;
        font-size: 0.7rem;
    }

    .period-title {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 5px;
    }

    .period-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .event-list li {
        font-size: 0.8rem;
        padding: 3px 0;
    }

    .event-flow-timeline {
        gap: 15px;
    }

    .period-icon {
        display: none;
    }

    /* Hide all icons in event flow section on mobile */
    .info-section .section-header i {
        display: none;
    }

    .period-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .ceremony-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .ceremony-time {
        min-width: auto;
    }

    .event-disclaimer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .section-divider {
        margin: 30px 0;
        padding: 0 15px;
    }

    .divider-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .divider-line {
        height: 1px;
    }

    .divider-line::before {
        height: 2px;
    }

    .round-header {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }

    .round-details {
        justify-content: center;
        gap: 15px;
    }

    .round-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .round-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 20px;
    }

    /* Extra small screen adjustments */
    .header-content {
        gap: 15px;
    }

    .header-left h1 {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 10px;
    }

    .header-left h1 i {
        font-size: 2rem;
    }

    .page-description {
        font-size: 1rem;
    }

    .header-right .btn {
        width: 100%;
        max-width: 300px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .link-card {
        padding: 20px;
    }

    .info-card {
        padding: 20px;
    }
} 