/* Giveaway Page Specific Styles */
:root {
    --premium-gold: #fbbf24;
    --premium-purple: #8b5cf6;
    --premium-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
}

.event-hero {
    padding: 140px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.event-hero .container {
    position: relative;
    z-index: 10;
}

.event-hero .gradient {
    background: linear-gradient(to right, #818cf8, #c084fc, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.3));
}

.event-hero .hero-bg-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0.4) 0%,
            rgba(15, 23, 42, 0.1) 60%,
            var(--bg) 100%);
    z-index: 2;
}

.event-hero .hero-img {
    filter: brightness(0.6) contrast(1.1) !important;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--premium-gradient);
    color: white;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    animation: pulse-glow 3s infinite;
}

.event-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #ffffff;
}

.event-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* New Layout Styles */
.main-countdown-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.countdown-row {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 24px;
    flex: 1;
    min-width: 120px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.wide-box {
    flex: none;
    width: 100%;
    padding: 20px 40px;
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.ms-val {
    color: var(--premium-gold);
    font-family: monospace;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

.precision-group {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
}

.val-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.separator {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    margin-top: 0;
}

/* Flip Animation */
.flip-card {
    position: relative;
    display: inline-block;
    height: 2.5rem; /* Match font-size of countdown-value */
    overflow: hidden;
    margin-bottom: 4px;
}

.flip-card .countdown-value {
    margin-bottom: 0;
}

.flip-card span {
    display: block;
    animation: flip-roll 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes flip-roll {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Rest of styles */
.conditions-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.condition-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.condition-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.condition-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 6rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.05;
    pointer-events: none;
}

.condition-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.condition-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.condition-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.apps-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.app-item {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
}

.app-item:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    transform: scale(1.05);
}

.app-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    border-radius: 8px;
}

.app-item span {
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
}

.cta-box {
    background: var(--text);
    color: var(--bg);
    padding: 80px 40px;
    border-radius: 32px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.cta-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: pulse-glow 6s infinite;
    pointer-events: none;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.social-btn {
    width: 44px;
    height: 44px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-4px);
}

.screenshot-step {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--accent-light);
    padding: 16px 24px;
    border-radius: 16px;
    margin-top: 24px;
    border: 1px dashed var(--accent);
}

.screenshot-step .material-symbols-outlined {
    color: var(--accent);
    font-size: 2rem;
}

[data-theme="dark"] .condition-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
}