/* ============================================
   BIGGESTEST TALENT - New UI Design
   Based on React/TSX Template
   ============================================ */

/* Color Variables - Matching New Design */
:root {
  --background: #0a0a0a;
  --foreground: #fafafa;
  --card: #141414;
  --card-foreground: #fafafa;
  --accent: #FF4B4B;
  --accent-foreground: #fafafa;
  --muted: #262626;
  --muted-foreground: #a0a0a0;
  --border: #262626;
  --primary: #E50914;
  --primary-hover: #B20710;
  --bg: #0A0A0A;
  --card-bg: #111111;
  --text-main: #FFFFFF;
  --text-muted: #CCCCCC;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-content {
    padding-top: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

/* Navigation */
.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    padding: 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    gap: 20px;
}

/* When inside site-header-nav, nav-container doesn't need padding (parent has it) */
.site-header-nav .nav-container {
    padding: 0;
}

@media (min-width: 640px) {
    .nav-container {
        min-height: 80px;
        gap: 32px;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--foreground);
    transition: var(--transition);
    padding: 4px 0;
}

.nav-logo:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.logo-icon {
    font-size: 20px;
    line-height: 1;
    display: inline-block;
}

.logo-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* DBV Balance Badge in Header - Professional Design */
.balance-badge-header {
    display: inline-flex;
    align-items: center;
    background: rgba(10, 10, 10, 0.95);
    border: 1.5px solid rgba(229, 9, 20, 0.4);
    border-radius: 10px;
    padding: 10px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.balance-badge-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(229, 9, 20, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: rgba(229, 9, 20, 0.6);
    background: rgba(10, 10, 10, 0.98);
}

.balance-badge-header .balance-badge-content {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.balance-badge-header .balance-badge-icon {
    font-size: 22px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    opacity: 0.9;
}

.balance-badge-header .balance-badge-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    justify-content: center;
}

.balance-badge-header .balance-badge-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.balance-badge-header .balance-badge-value {
    font-size: 16px;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    letter-spacing: 0.5px;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(229, 9, 20, 0.3);
}

.balance-badge-header.balance-badge-error .balance-badge-value,
.balance-badge-header.balance-badge-unavailable .balance-badge-value {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 600;
    text-shadow: none;
}

@media (max-width: 1024px) {
    .balance-badge-header {
        margin-left: 16px;
        padding: 8px 14px;
    }
    
    .balance-badge-header .balance-badge-icon {
        font-size: 20px;
    }
    
    .balance-badge-header .balance-badge-value {
        font-size: 14px;
    }
    
    .balance-badge-header .balance-badge-label {
        font-size: 9px;
    }
}

@media (max-width: 768px) {
    .balance-badge-header {
        margin-left: 12px;
        padding: 7px 12px;
    }
    
    .balance-badge-header .balance-badge-icon {
        font-size: 18px;
    }
    
    .balance-badge-header .balance-badge-value {
        font-size: 13px;
    }
    
    .balance-badge-header .balance-badge-label {
        font-size: 8px;
        letter-spacing: 1px;
    }
    
    .balance-badge-header .balance-badge-content {
        gap: 10px;
    }
}

@media (max-width: 639px) {
    .balance-badge-header {
        display: none; /* Hide on very small screens to save space */
    }
}

@media (min-width: 640px) {
    .logo-text {
        font-size: 22px;
    }
    
    .logo-icon {
        font-size: 24px;
    }
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    justify-content: center;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--foreground);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu {
    display: none;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    flex-direction: column;
    padding: 24px;
    border-top: 1px solid var(--border);
    gap: 16px;
    z-index: 999;
}

/* Ensure logout button is visible in mobile menu */
.nav-menu.active a[href="logout.php"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 8px;
}

.nav-link {
    text-decoration: none;
    color: var(--foreground);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: var(--transition);
    padding: 6px 0;
    position: relative;
    white-space: nowrap;
}

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

.nav-link:hover {
    color: var(--primary);
}

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

.nav-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 4px 4px 4px 16px;
    transition: var(--transition);
}

.nav-search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.nav-search-input {
    padding: 8px 12px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 13px;
    width: 140px;
    transition: var(--transition);
}

.nav-search-input:focus {
    outline: none;
    width: 180px;
}

.nav-search-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.nav-search-button {
    background: var(--primary);
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 20px;
    margin-left: 4px;
}

.nav-search-button svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.5;
}

.nav-search-button:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.nav-search-button:active {
    transform: scale(0.95);
}

@media (max-width: 767px) {
    .nav-search-form {
        margin-left: 0;
        width: 100%;
    }
    
    .nav-search-input {
        flex: 1;
        width: auto;
    }
    
    .nav-search-input:focus {
        width: auto;
    }
}

.nav-button {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
    text-decoration: none;
    border: 1px solid var(--primary);
    box-shadow: 0 2px 8px rgba(229, 9, 20, 0.2);
    letter-spacing: 0.3px;
}

.nav-button:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3);
    color: white;
}

.nav-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(229, 9, 20, 0.2);
}

/* Ensure logout button is always visible when user is logged in */
a[href="logout.php"].nav-button {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

a[href="logout.php"].nav-button:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: white;
}

.nav-button-admin {
    background: linear-gradient(135deg, var(--primary) 0%, #FF1A2E 100%);
    color: white;
    border: 1px solid var(--primary);
    box-shadow: 0 2px 8px rgba(229, 9, 20, 0.25);
}

.nav-button-admin:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #CC0015 100%);
    border-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.35);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 104px; /* Account for navbar with 20px top padding + content + 20px bottom padding */
    position: relative;
    padding-bottom: 100px;
    padding-left: 16px;
    padding-right: 16px;
    background: linear-gradient(to bottom, var(--background), rgba(10, 10, 10, 0.5));
    overflow: hidden;
}

@media (min-width: 640px) {
    .hero-section {
        padding-top: 120px; /* Account for larger navbar with padding */
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.welcome-message {
    margin-bottom: 20px;
    padding: 12px 24px;
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 8px;
    display: inline-block;
    animation: slideInDown 0.5s ease-out;
}

.welcome-text {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.3px;
}

.welcome-pernum {
    color: var(--primary);
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 1px;
}

.welcome-balance {
    color: var(--accent);
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 0.5px;
    margin-left: 12px;
}

/* Balance Display Under Welcome Message */
.welcome-balance-display {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(229, 9, 20, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.welcome-balance-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.welcome-balance-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.welcome-balance-error .welcome-balance-value,
.welcome-balance-unavailable .welcome-balance-value {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 639px) {
    .welcome-balance-display {
        flex-direction: column;
        gap: 4px;
        margin-top: 10px;
        padding-top: 10px;
    }
    
    .welcome-balance-label {
        font-size: 11px;
    }
    
    .welcome-balance-value {
        font-size: 14px;
    }
}

/* DBV Balance Badge for Homepage - Left Corner */
.balance-badge-home {
    position: absolute;
    top: 120px;
    left: 20px;
    display: inline-block;
    background: rgba(10, 10, 10, 0.95);
    border: 1.5px solid rgba(229, 9, 20, 0.4);
    border-radius: 10px;
    padding: 10px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    max-width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.balance-badge-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(229, 9, 20, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: rgba(229, 9, 20, 0.6);
    background: rgba(10, 10, 10, 0.98);
}

.balance-badge-home .balance-badge-content {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.balance-badge-home .balance-badge-icon {
    font-size: 22px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    opacity: 0.9;
}

.balance-badge-home .balance-badge-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    justify-content: center;
}

.balance-badge-home .balance-badge-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.balance-badge-home .balance-badge-value {
    font-size: 16px;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    letter-spacing: 0.5px;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(229, 9, 20, 0.3);
}

.balance-badge-home.balance-badge-error .balance-badge-value,
.balance-badge-home.balance-badge-unavailable .balance-badge-value {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 600;
    text-shadow: none;
}

@media (max-width: 768px) {
    .balance-badge-home {
        position: relative;
        top: auto;
        left: auto;
        display: inline-block;
        margin: 20px auto;
        width: auto;
    }
}

@media (max-width: 639px) {
    .balance-badge-home {
        min-width: auto;
        padding: 8px 14px;
        margin: 16px auto;
    }
    
    .balance-badge-home .balance-badge-content {
        gap: 10px;
    }
    
    .balance-badge-home .balance-badge-icon {
        font-size: 20px;
    }
    
    .balance-badge-home .balance-badge-value {
        font-size: 14px;
    }
    
    .balance-badge-home .balance-badge-label {
        font-size: 9px;
        letter-spacing: 1px;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 639px) {
    .welcome-message {
        padding: 10px 16px;
        margin-bottom: 16px;
    }
    
    .welcome-text {
        font-size: 14px;
    }
    
    .welcome-pernum {
        display: block;
        margin-top: 4px;
    }
    
    .welcome-balance {
        display: block;
        margin-top: 4px;
        margin-left: 0;
    }
}

.hero-badge-wrapper {
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .hero-badge-wrapper {
        margin-bottom: 32px;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 9999px;
    animation: slideInDown 0.6s ease-out;
}

@media (min-width: 640px) {
    .hero-badge {
        padding: 8px 16px;
    }
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

@media (min-width: 640px) {
    .badge-text {
        font-size: 14px;
    }
}

.hero-title {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.1;
    animation: slideInUp 0.6s ease-out;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 48px;
        margin-bottom: 24px;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 72px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 96px;
    }
}

.hero-title-highlight {
    background: linear-gradient(to right, var(--accent), rgba(239, 68, 68, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: 24px;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.8s ease-out 0.1s both;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 20px;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
    animation: slideInUp 0.6s ease-out 0.2s both;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        gap: 16px;
        margin-bottom: 64px;
    }
}

.btn-hero {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    width: 100%;
}

@media (min-width: 640px) {
    .btn-hero {
        width: auto;
        padding: 16px 32px;
        font-size: 18px;
    }
}

.btn-hero-primary {
    background: var(--accent);
    color: var(--accent-foreground);
    box-shadow: var(--shadow-md);
}

.btn-hero-primary:hover {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
    transform: scale(1.05);
}

.btn-hero-secondary {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn-hero-secondary:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: scale(1.05);
}

.hero-image-wrapper {
    margin-top: 60px;
    animation: slideInUp 0.6s ease-out 0.4s both;
}

.hero-image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(to bottom right, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.05), var(--background));
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

@media (min-width: 640px) {
    .hero-image-container {
        border-radius: 16px;
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--background), transparent);
    pointer-events: none;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .section-header {
        margin-bottom: 64px;
    }
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 40px;
        margin-bottom: 16px;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 64px;
    }
}

.section-subtitle {
    font-size: 16px;
    color: var(--muted-foreground);
    max-width: 672px;
    margin: 0 auto;
    padding: 0 8px;
}

@media (min-width: 640px) {
    .section-subtitle {
        font-size: 18px;
    }
}

.text-accent {
    color: var(--accent);
}

/* Phases Section */
.phases-section {
    padding: 64px 0;
    background: var(--background);
}

@media (min-width: 640px) {
    .phases-section {
        padding: 96px 0;
    }
}

.phases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .phases-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.phase-card {
    position: relative;
    padding: 24px;
    background: linear-gradient(to bottom right, var(--card), rgba(20, 20, 20, 0.5));
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
    overflow: hidden;
    cursor: pointer;
    animation: slideInUp 0.6s ease-out;
}

@media (min-width: 640px) {
    .phase-card {
        padding: 32px;
        border-radius: 16px;
    }
}

.phase-card:hover {
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-4px);
}

.phase-number {
    font-size: 64px;
    font-weight: 900;
    color: rgba(250, 250, 250, 0.1);
    margin-bottom: 12px;
    transition: var(--transition);
}

@media (min-width: 640px) {
    .phase-number {
        font-size: 72px;
        margin-bottom: 16px;
    }
}

.phase-card:hover .phase-number {
    color: rgba(239, 68, 68, 0.2);
}

.phase-title {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 8px;
    transition: var(--transition);
}

@media (min-width: 640px) {
    .phase-title {
        font-size: 24px;
    }
}

.phase-card:hover .phase-title {
    color: var(--accent);
}

.phase-date {
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

@media (min-width: 640px) {
    .phase-date {
        font-size: 14px;
        margin-bottom: 16px;
    }
}

.phase-description {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 16px;
    transition: var(--transition);
}

@media (min-width: 640px) {
    .phase-description {
        font-size: 16px;
        margin-bottom: 24px;
    }
}

.phase-card:hover .phase-description {
    color: rgba(250, 250, 250, 0.8);
}

.phase-arrow {
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-top: 16px;
}

@media (min-width: 640px) {
    .phase-arrow {
        margin-top: 24px;
    }
}

.phase-card:hover .phase-arrow {
    background: rgba(239, 68, 68, 0.4);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.phase-arrow span {
    color: var(--accent);
    font-size: 20px;
    transition: var(--transition);
}

.phase-card:hover .phase-arrow span {
    transform: translateX(4px);
}

/* Testimonials Section */
.testimonials-section {
    padding: 96px 0;
    background: linear-gradient(to bottom, var(--background), rgba(10, 10, 10, 0.5));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    padding: 32px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(239, 68, 68, 0.5);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars span {
    color: var(--accent);
    font-size: 20px;
}

.testimonial-text {
    color: var(--muted-foreground);
    margin-bottom: 24px;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    font-size: 18px;
    font-weight: 900;
    color: var(--foreground);
}

.testimonial-author span {
    font-size: 14px;
    color: var(--accent);
    font-weight: 700;
}

/* Judges Section */
.judges-section {
    padding: 64px 0;
    background: linear-gradient(to bottom, var(--background), rgba(10, 10, 10, 0.5));
}

@media (min-width: 640px) {
    .judges-section {
        padding: 96px 0;
    }
}

.judges-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .judges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .judges-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.judge-card {
    transition: var(--transition);
    animation: slideInUp 0.6s ease-out;
}

.judge-image-wrapper {
    position: relative;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    border: 1px solid transparent;
    transition: var(--transition);
}

@media (min-width: 640px) {
    .judge-image-wrapper {
        margin-bottom: 24px;
        border-radius: 16px;
    }
}

.judge-card:hover .judge-image-wrapper {
    border-color: rgba(239, 68, 68, 0.3);
}

.judge-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.judge-card:hover .judge-image {
    transform: scale(1.1);
}

.judge-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--background), transparent, transparent);
    opacity: 0.6;
    transition: var(--transition);
}

.judge-card:hover .judge-image-overlay {
    opacity: 0.4;
}

.judge-name {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 4px;
    transition: var(--transition);
}

@media (min-width: 640px) {
    .judge-name {
        font-size: 24px;
    }
}

.judge-card:hover .judge-name {
    color: var(--accent);
}

.judge-role {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 12px;
    margin-bottom: 8px;
}

@media (min-width: 640px) {
    .judge-role {
        font-size: 14px;
        margin-bottom: 12px;
    }
}

.judge-bio {
    font-size: 12px;
    color: var(--muted-foreground);
    transition: var(--transition);
}

@media (min-width: 640px) {
    .judge-bio {
        font-size: 14px;
    }
}

.judge-card:hover .judge-bio {
    color: rgba(250, 250, 250, 0.7);
}

/* Rules Section */
.rules-section {
    padding: 64px 0;
    background: var(--background);
}

@media (min-width: 640px) {
    .rules-section {
        padding: 96px 0;
    }
}

.rules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (min-width: 768px) {
    .rules-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.rule-card {
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

@media (min-width: 640px) {
    .rule-card {
        padding: 32px;
    }
}

.rule-card:hover {
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.rule-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--foreground);
}

.rule-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted-foreground);
}

/* Prizes Section */
.prizes-section {
    padding: 64px 0;
    background: var(--background);
}

@media (min-width: 640px) {
    .prizes-section {
        padding: 96px 0;
    }
}

.prize-card {
    background: linear-gradient(to bottom right, var(--card), rgba(20, 20, 20, 0.5));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
    animation: slideInUp 0.6s ease-out;
}

@media (min-width: 640px) {
    .prize-card {
        border-radius: 24px;
        padding: 32px;
    }
}

@media (min-width: 768px) {
    .prize-card {
        padding: 48px;
    }
}

.prize-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.2);
}

.prize-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .prize-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

.prize-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

@media (min-width: 768px) {
    .prize-image-wrapper {
        order: 1;
    }
}

.prize-image {
    width: 100%;
    max-width: 384px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.5s ease;
}

@media (min-width: 640px) {
    .prize-image {
        border-radius: 16px;
    }
}

.prize-image-wrapper:hover .prize-image {
    transform: scale(1.1);
}

.prize-details {
    order: 1;
}

@media (min-width: 768px) {
    .prize-details {
        order: 2;
    }
}

.prize-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .prize-title {
        font-size: 32px;
        margin-bottom: 32px;
    }
}

.prize-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 640px) {
    .prize-features {
        gap: 24px;
    }
}

.prize-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: var(--transition);
    animation: slideInUp 0.6s ease-out;
}

@media (min-width: 640px) {
    .prize-feature {
        gap: 16px;
    }
}

.prize-feature:hover {
    transform: translateX(8px);
}

.prize-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    transition: var(--transition);
}

@media (min-width: 640px) {
    .prize-feature-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}

.prize-feature:hover .prize-feature-icon {
    background: rgba(239, 68, 68, 0.4);
}

.prize-feature-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    transition: var(--transition);
}

@media (min-width: 640px) {
    .prize-feature-content h4 {
        font-size: 18px;
    }
}

.prize-feature:hover .prize-feature-content h4 {
    color: var(--accent);
}

.prize-feature-content p {
    font-size: 14px;
    color: var(--muted-foreground);
}

@media (min-width: 640px) {
    .prize-feature-content p {
        font-size: 16px;
    }
}

/* Seasons Section */
.seasons-section {
    padding: 64px 0;
    background: var(--background);
}

@media (min-width: 640px) {
    .seasons-section {
        padding: 96px 0;
    }
}

.seasons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .seasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .seasons-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.season-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    animation: slideInUp 0.6s ease-out;
}

.season-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
    transform: translateY(-4px);
}

.season-image-wrapper {
    position: relative;
    aspect-ratio: 3 / 4; /* keep portrait shots consistent */
    max-height: 320px;
    overflow: hidden;
    background: var(--card);
    padding: 10px; /* add safe spacing to prevent head/face clipping */
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .season-image-wrapper {
        max-height: 360px;
    }
}

.season-image {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain; /* show full head/face without cropping */
    object-position: center center;
    background-color: #000;
}

.season-card:hover .season-image {
    transform: none; /* no zoom to avoid clipping faces */
}

.season-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.05));
    pointer-events: none;
}

.season-content {
    padding: 16px;
}

@media (min-width: 640px) {
    .season-content {
        padding: 20px;
    }
}

.season-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

@media (min-width: 640px) {
    .season-header {
        margin-bottom: 12px;
    }
}

.season-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
}

@media (min-width: 640px) {
    .season-badge {
        font-size: 14px;
    }
}

.season-year {
    font-size: 12px;
    color: var(--muted-foreground);
    font-family: monospace;
}

.season-title {
    font-size: 14px;
    font-weight: 900;
    color: var(--foreground);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 640px) {
    .season-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
}

.season-info {
    border-top: 1px solid var(--border);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 12px;
}

@media (min-width: 640px) {
    .season-info {
        gap: 12px;
        font-size: 14px;
        margin-bottom: 12px;
    }
}

.season-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.season-info-label {
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.season-info-value {
    font-weight: 700;
    color: var(--foreground);
}

.btn-season {
    width: 100%;
    padding: 8px;
    background: var(--accent);
    color: var(--accent-foreground);
    font-weight: 700;
    font-size: 12px;
    display: block;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}

@media (min-width: 640px) {
    .btn-season {
        padding: 10px;
        font-size: 14px;
    }
}

.btn-season:hover {
    background: rgba(239, 68, 68, 0.9);
    transform: scale(0.95);
}

.seasons-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 1024px) {
    .seasons-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

.stat-box {
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    transition: var(--transition);
    animation: slideInUp 0.6s ease-out;
}

@media (min-width: 640px) {
    .stat-box {
        padding: 16px;
    }
}

.stat-number {
    font-size: 24px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 4px;
}

@media (min-width: 640px) {
    .stat-number {
        font-size: 32px;
        margin-bottom: 8px;
    }
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 48px;
    }
}

.stat-label {
    font-size: 12px;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA Section */
.cta-section {
    padding: 96px 0;
    background: var(--background);
}

.cta-card {
    background: linear-gradient(to right, var(--accent), rgba(239, 68, 68, 0.6));
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    max-width: 896px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .cta-card {
        padding: 64px;
        border-radius: 32px;
    }
}

.cta-decorative {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-decorative-1 {
    top: 0;
    right: 0;
    width: 160px;
    height: 160px;
    margin-top: -80px;
    margin-right: -80px;
}

.cta-decorative-2 {
    bottom: 0;
    left: 0;
    width: 128px;
    height: 128px;
    margin-bottom: -64px;
    margin-left: -64px;
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent-foreground);
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 40px;
    }
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(250, 250, 250, 0.8);
    margin-bottom: 32px;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-actions {
        flex-direction: row;
    }
}

.btn-cta {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    width: 100%;
    text-align: center;
}

@media (min-width: 640px) {
    .btn-cta {
        width: auto;
    }
}

.btn-cta-primary {
    background: var(--accent-foreground);
    color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.btn-cta-primary:hover {
    transform: scale(1.05);
}

.btn-cta-secondary {
    border: 2px solid var(--accent-foreground);
    color: var(--accent-foreground);
    background: transparent;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-note {
    margin-top: 48px;
    font-size: 14px;
    color: var(--muted-foreground);
    text-align: center;
}

/* Footer */
.modern-footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 48px 0 16px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 3fr;
        gap: 64px;
    }
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted-foreground);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (min-width: 640px) {
    .footer-links {
        gap: 48px;
    }
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--foreground);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-list a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.footer-list a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    gap: 16px;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        text-align: left;
    }
}

.footer-bottom p {
    margin: 0;
    color: var(--muted-foreground);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-legal a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent);
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(239, 68, 68, 0.6);
    }
}

/* SafeZone Login Section */
.safezone-section {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 16px;
    background: var(--background);
}

@media (min-width: 640px) {
    .safezone-section {
        padding: 120px 24px;
        min-height: calc(100vh - 80px);
    }
}

.safezone-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .safezone-container {
        grid-template-columns: 1.2fr 1fr;
        gap: 64px;
        align-items: start;
    }
}

.safezone-card {
    background: linear-gradient(to bottom right, var(--card), rgba(20, 20, 20, 0.5));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    animation: slideInUp 0.6s ease-out;
}

@media (min-width: 640px) {
    .safezone-card {
        padding: 48px;
        border-radius: 32px;
    }
}

.safezone-header {
    text-align: center;
    margin-bottom: 32px;
}

.safezone-logo-wrapper {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.safezone-shield {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    padding: 20px;
    border: 2px solid rgba(239, 68, 68, 0.3);
    transition: var(--transition);
}

.safezone-shield:hover {
    transform: scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.3);
}

.safezone-shield-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.safezone-title {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--foreground);
}

@media (min-width: 640px) {
    .safezone-title {
        font-size: 40px;
    }
}

.safezone-subtitle {
    font-size: 18px;
    color: var(--muted-foreground);
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .safezone-subtitle {
        font-size: 20px;
    }
}

.safezone-brand {
    color: var(--accent);
    font-weight: 700;
}

.safezone-brand-dark {
    color: var(--foreground);
}

.safezone-description {
    font-size: 16px;
    color: var(--muted-foreground);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.safezone-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.btn-safezone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
    width: 100%;
}

@media (min-width: 640px) {
    .btn-safezone {
        padding: 18px 32px;
        font-size: 18px;
        border-radius: 16px;
    }
}

.btn-safezone-primary {
    background: var(--accent);
    color: var(--accent-foreground);
    box-shadow: var(--shadow-lg);
}

.btn-safezone-primary:hover {
    background: rgba(239, 68, 68, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
}

.btn-safezone-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-safezone-secondary:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: translateY(-2px);
    border-color: rgba(239, 68, 68, 0.8);
}

.btn-icon {
    font-size: 20px;
}

.safezone-info {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.safezone-info-text {
    font-size: 14px;
    color: var(--muted-foreground);
    text-align: center;
}

/* SafeZone Benefits Section */
.safezone-benefits {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    animation: slideInUp 0.6s ease-out 0.2s both;
}

@media (min-width: 640px) {
    .safezone-benefits {
        padding: 48px;
        border-radius: 32px;
    }
}

.benefits-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 32px;
    text-align: center;
    color: var(--foreground);
}

@media (min-width: 640px) {
    .benefits-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-item {
    text-align: center;
    padding: 24px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: 16px;
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-4px);
}

.benefit-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--foreground);
}

.benefit-text {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 767px) {
    .nav-menu.active {
        display: flex;
    }
    
    .safezone-container {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin Dashboard */
.admin-dashboard {
    min-height: calc(100vh - 64px);
    padding: 120px 16px 80px;
    background: var(--background);
}

@media (min-width: 640px) {
    .admin-dashboard {
        padding: 140px 24px 100px;
    }
}

.admin-dashboard-section .container {
    max-width: 960px;
}

.admin-card {
    background: linear-gradient(to bottom right, var(--card), rgba(20, 20, 20, 0.6));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-xl);
}

@media (min-width: 640px) {
    .admin-card {
        padding: 48px;
    }
}

.admin-card-header {
    text-align: center;
    margin-bottom: 32px;
}

.admin-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
}

.admin-subtitle {
    font-size: 16px;
    color: var(--muted-foreground);
}

.admin-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .admin-actions {
        grid-template-columns: repeat(3, 1fr);
    }
}

.admin-action-card {
    display: block;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: var(--foreground);
    transition: var(--transition);
    min-height: 140px;
}

.admin-action-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.1);
}

.admin-action-card h2 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.admin-action-card p {
    font-size: 14px;
    color: var(--muted-foreground);
}

/* ============================================
   NOMINATION FORM STYLES
   ============================================ */

/* Nomination Hero Section */
.nomination-hero-section {
    padding: 120px 0 64px;
    background: linear-gradient(to bottom, var(--bg), rgba(10, 10, 10, 0.8));
    border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
    .nomination-hero-section {
        padding: 140px 0 80px;
    }
}

.nomination-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.nomination-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 9999px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.badge-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
}

.nomination-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-main);
}

@media (min-width: 640px) {
    .nomination-title {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .nomination-title {
        font-size: 56px;
    }
}

.nomination-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .nomination-subtitle {
        font-size: 18px;
    }
}

/* Nomination Form Section */
.nomination-form-section {
    padding: 64px 0 96px;
    background: var(--bg);
}

@media (min-width: 640px) {
    .nomination-form-section {
        padding: 80px 0 120px;
    }
}

.nomination-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.nomination-form-card {
    background: linear-gradient(to bottom right, var(--card-bg), rgba(20, 20, 20, 0.5));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: var(--shadow-xl);
}

@media (min-width: 640px) {
    .nomination-form-card {
        padding: 48px 40px;
        border-radius: 24px;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--text-main);
}

@media (min-width: 640px) {
    .form-title {
        font-size: 32px;
    }
}

.form-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (min-width: 640px) {
    .form-description {
        font-size: 16px;
    }
}

/* Form Elements */
.nomination-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.025em;
}

.required {
    color: var(--primary);
    margin-left: 2px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-select {
    width: 100%;
    padding: 12px 48px 12px 16px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: rgba(255, 255, 255, 0.05);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23E50914' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    min-height: 44px;
    position: relative;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.form-select:focus {
    background-color: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-select::-ms-expand {
    display: none;
}

.form-select option {
    background: var(--card-bg);
    color: var(--text-main);
    padding: 12px 16px;
    font-size: 16px;
}

.form-select option:first-child {
    color: var(--text-muted);
    font-style: italic;
}

.form-select:hover {
    border-color: rgba(229, 9, 20, 0.5);
    background-color: rgba(255, 255, 255, 0.06);
}

.form-select:focus {
    background-color: rgba(255, 255, 255, 0.08);
}

.form-select:invalid {
    color: var(--text-muted);
}

.form-select:valid {
    color: var(--text-main);
}

.form-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: -4px;
}

/* Form Alerts */
.form-alerts {
    margin-top: 8px;
}

.alert {
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.alert-error {
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.3);
    color: var(--primary);
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

/* Form Actions */
.form-actions {
    margin-top: 8px;
    display: flex;
    justify-content: center;
}

.btn-submit {
    width: 100%;
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.025em;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (min-width: 640px) {
    .btn-submit {
        width: auto;
        min-width: 200px;
        padding: 18px 40px;
        border-radius: 9999px;
    }
}

.btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(229, 9, 20, 0.3);
}

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

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

.btn-submit-loading {
    background: var(--primary-hover);
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Video Upload Options */
.video-upload-options {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.upload-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.upload-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.upload-option label {
    font-size: 14px;
    color: var(--text-main);
    cursor: pointer;
    margin: 0;
}

.video-input-section {
    margin-top: 12px;
}

#video-file-section {
    margin-top: 12px;
}

#video-preview {
    margin-top: 16px;
    padding: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
}

#preview-player {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
}

/* Responsive Adjustments */
@media (max-width: 639px) {
    .nomination-form-card {
        padding: 24px 20px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .nomination-title {
        font-size: 32px;
    }
    
    .video-upload-options {
        flex-direction: column;
        gap: 12px;
    }
}

/* ============================================
   VOTING PAGE STYLES
   ============================================ */

/* Voting Hero Section */
.voting-hero-section {
    padding: 120px 0 64px;
    background: linear-gradient(to bottom, var(--bg), rgba(10, 10, 10, 0.8));
    border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
    .voting-hero-section {
        padding: 140px 0 80px;
    }
}

.voting-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.voting-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 9999px;
    margin-bottom: 24px;
}

.voting-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-main);
}

@media (min-width: 640px) {
    .voting-title {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .voting-title {
        font-size: 56px;
    }
}

.voting-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .voting-subtitle {
        font-size: 18px;
    }
}

/* Voting Section */
.voting-section {
    padding: 64px 0 96px;
    background: var(--bg);
}

@media (min-width: 640px) {
    .voting-section {
        padding: 80px 0 120px;
    }
}

/* Voting Stats */
.voting-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
}

@media (max-width: 639px) {
    .voting-stats {
        gap: 24px;
        padding: 20px;
    }
}

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

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 4px;
}

@media (min-width: 640px) {
    .stat-number {
        font-size: 40px;
    }
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contestants Grid */
.contestants-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .contestants-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contestants-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contestant Card */
.contestant-card {
    background: linear-gradient(to bottom right, var(--card-bg), rgba(20, 20, 20, 0.5));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.contestant-rank {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(229, 9, 20, 0.2);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-number {
    font-size: 16px;
    font-weight: 900;
    color: var(--primary);
}

.contestant-info {
    margin-bottom: 16px;
}

.contestant-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-main);
}

@media (min-width: 640px) {
    .contestant-name {
        font-size: 22px;
    }
}

.contestant-country {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.country-flag {
    font-size: 16px;
}

.contestant-votes {
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
}

.vote-count-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.vote-number {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

@media (min-width: 640px) {
    .vote-number {
        font-size: 32px;
    }
}

.vote-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contestant-video {
    margin-bottom: 16px;
}

.btn-video {
    display: inline-block;
    width: 100%;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-video:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    text-decoration: none;
}

.contestant-action {
    margin-top: 8px;
}

.btn-vote {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-vote:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(229, 9, 20, 0.3);
}

.btn-vote:active:not(:disabled) {
    transform: translateY(0);
}

.btn-vote:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-vote-disabled {
    background: rgba(229, 9, 20, 0.2);
    color: var(--primary);
    border: 1px solid rgba(229, 9, 20, 0.3);
}

.vote-remaining {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
    margin-left: 4px;
}

.vote-icon {
    font-size: 18px;
}

/* No Contestants */
.no-contestants {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.no-contestants-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    max-width: 500px;
}

.no-contestants-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.no-contestants-card p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Vote Alert Messages */
.vote-alert {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    max-width: 300px;
    box-shadow: var(--shadow-lg);
}

.vote-alert.show {
    opacity: 1;
    transform: translateX(0);
}

.vote-alert-success {
    background: rgba(229, 9, 20, 0.95);
    color: white;
    border: 1px solid var(--primary);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.4);
}

.vote-alert-error {
    background: rgba(229, 9, 20, 0.9);
    color: white;
    border: 1px solid var(--primary);
}

/* Site Header Navigation Padding */
.site-header-nav {
    padding: 16px 40px !important;
    box-sizing: border-box;
}

@media (max-width: 639px) {
    .site-header-nav {
        padding: 16px 20px !important;
    }
}

/* Responsive Voting Page */
@media (max-width: 639px) {
    .voting-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .contestants-grid {
        grid-template-columns: 1fr;
    }
    
    .contestant-card {
        padding: 20px;
    }
    
    .vote-alert {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .vote-alert.show {
        transform: translateY(0);
    }
}
