/*
 * GIVEAWAY DETAIL PAGE - Page-specific styles
 * Pure Django Templates + Vanilla JavaScript architecture
 * Using giftsy.css design system (NO TAILWIND)
 */

/* ================================
   PAGE LAYOUT & HERO SECTION
   ================================ */

.giveaway-main {
    padding: 5rem 0 3rem;
    /* 5rem top to account for fixed header, 3rem bottom */
    background: linear-gradient(135deg, var(--accent-50) 0%, var(--primary-50) 100%);
    min-height: 100vh;
}

/* Hero Section Container */
.giveaway-hero {
    background: var(--background);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    border: 1px solid var(--accent-200);
    position: relative;
    overflow: hidden;
}

.giveaway-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

/* Hero Grid Layout */
.giveaway-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

/* Product Gallery Section */
.product-gallery {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--accent-100);
}

.product-gallery__main {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--accent-50);
    box-shadow: var(--shadow-warm);
}

.product-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.product-gallery__image:hover {
    transform: scale(1.02);
}

/* Giveaway Overview Section */
.giveaway-overview {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.giveaway-overview__header {
    text-align: center;
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--accent-100);
}

.giveaway-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent-900);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--accent-900) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.giveaway-subtitle {
    color: var(--accent-600);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
}

/* Prize Stats Grid */
.prize-stats {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 2px solid var(--primary-100);
    position: relative;
    overflow: hidden;
}

.prize-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-100) 0%, transparent 70%);
    opacity: 0.5;
    animation: statsGlow 4s ease-in-out infinite alternate;
}

@keyframes statsGlow {
    0% {
        opacity: 0.3;
        transform: rotate(0deg);
    }

    100% {
        opacity: 0.6;
        transform: rotate(10deg);
    }
}

.prize-stats__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.prize-stats__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-800);
    margin-bottom: var(--space-xs);
}

.prize-stats__subtitle {
    color: var(--accent-600);
    font-size: 0.875rem;
    font-weight: 500;
}

.prize-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

/* ================================
   GALLERY COMPONENTS
   ================================ */

/* Stat Items */
.stat-item {
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    border: 2px solid var(--accent-100);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary-200);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--secondary-100) 100%);
    border-radius: 50%;
    margin: 0 auto var(--space-sm);
    border: 2px solid var(--primary-200);
}

.stat-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-700);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-900);
    line-height: 1;
}

.stat-label {
    color: var(--accent-600);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 2px solid var(--accent-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    opacity: 0;
    z-index: 10;
    box-shadow: var(--shadow-soft);
}

.product-gallery:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: var(--background);
    transform: translateY(-50%) scale(1.1);
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.gallery-nav--prev {
    left: var(--space-md);
}

.gallery-nav--next {
    right: var(--space-md);
}

.gallery-nav i {
    color: var(--accent-800);
    width: 1.25rem;
    height: 1.25rem;
    transition: var(--transition-normal);
}

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

/* Gallery Counter */
.gallery-counter {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    color: var(--background);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-soft);
}

/* Gallery Thumbnails */
.gallery-thumbnails {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding: var(--space-md) 0 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-thumbnails::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--accent-200);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
    background: var(--accent-50);
    padding: 0;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.thumbnail:hover {
    border-color: var(--primary-300);
    transform: scale(1.05);
    box-shadow: var(--shadow-warm);
}

.thumbnail--active {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
    transform: scale(1.1);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.thumbnail--video .thumbnail-video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: var(--background);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
    border: 2px solid var(--background);
    transition: var(--transition-normal);
}

.thumbnail--video:hover .thumbnail-video-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

.thumbnail--video .thumbnail-video-overlay i {
    width: 0.75rem;
    height: 0.75rem;
    margin-left: 2px;
    /* Optical alignment for play icon */
}

/* Gallery Zoom Button */
.gallery-zoom-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    z-index: 10;
}

.product-gallery:hover .gallery-zoom-btn {
    opacity: 1;
}

.gallery-zoom-btn:hover {
    background: white;
    transform: scale(1.1);
}

.gallery-zoom-btn i {
    color: var(--accent-600);
    width: 1.125rem;
    height: 1.125rem;
}

/* Gallery Video Button */
.gallery-video-btn {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 2rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.gallery-video-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
}

.video-play-icon {
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-icon i {
    width: 0.75rem;
    height: 0.75rem;
    margin-left: 1px;
    /* Optical alignment for play icon */
}

/* Video Back Button */
.video-back-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 2rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 20;
}

.video-back-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
}

.video-back-btn i {
    width: 1rem;
    height: 1rem;
}

/* Video External Button */
.video-external-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    border: none;
    border-radius: 2rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 20;
}

.video-external-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.video-external-btn i {
    width: 1rem;
    height: 1rem;
}

/* Gallery Features */
.gallery-features {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    justify-content: center;
}

.gallery-feature {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--accent-600);
    font-size: 0.75rem;
    font-weight: 500;
}

.gallery-feature i {
    width: 0.875rem;
    height: 0.875rem;
}

/* ================================
   PRIZE STATS COMPONENTS
   ================================ */

.prize-stats__header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--primary-200);
}

.prize-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--accent-100);
    transition: all 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm);
}

.stat-item--primary .stat-icon {
    background: var(--primary-100);
    color: var(--primary);
}

.stat-item--secondary .stat-icon {
    background: var(--secondary-100);
    color: var(--secondary);
}

.stat-item--accent .stat-icon {
    background: var(--accent-100);
    color: var(--accent-700);
}

.stat-item--success .stat-icon {
    background: var(--success-100);
    color: var(--success);
}

.stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    width: 1.25rem;
    height: 1.25rem;
}

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

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
    color: var(--accent-900);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--accent-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Countdown Timer Enhanced */
.countdown-section {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 2px solid var(--primary-100);
    position: relative;
    overflow: hidden;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.countdown-header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--accent-100);
    text-align: center;
    position: relative;
    z-index: 1;
}

.countdown-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-800);
    margin-bottom: var(--space-xs);
}

.countdown-units {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    width: 4rem;
    height: 4rem;
    background: var(--background);
    border: 3px solid var(--primary-200);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
}

.countdown-value:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-900);
    position: relative;
    z-index: 2;
    transition: var(--transition-normal);
}

.countdown-value::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Countdown Timer Animations */
.countdown-updating {
    animation: countdownFlip 0.3s ease-in-out;
}

@keyframes countdownFlip {
    0% {
        transform: rotateX(0deg);
    }

    50% {
        transform: rotateX(90deg);
    }

    100% {
        transform: rotateX(0deg);
    }
}

/* Additional countdown animations for enhanced experience */
.countdown-number {
    transition: all 0.3s ease;
}

.countdown-value:hover .countdown-number {
    transform: scale(1.1);
    color: var(--primary);
}

/* ================================
           ENHANCED CODE INPUT ANIMATIONS
           ================================ */

/* Input focus animation */
.code-input__input.focused {
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1), var(--shadow-soft);
    border-color: var(--primary);
}

/* Success state animation */
.code-input__input.success {
    animation: inputSuccess 0.5s ease-out;
}

@keyframes inputSuccess {
    0% {
        background-color: var(--background);
    }

    50% {
        background-color: var(--success-50);
    }

    100% {
        background-color: var(--background);
    }
}

/* Error state animation */
.code-input__input.error {
    animation: inputError 0.5s ease-out;
}

@keyframes inputError {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

/* Enhanced feedback animations */
.code-detection-feedback {
    animation: feedbackSlideDown 0.3s ease-out;
}

.code-error-feedback {
    animation: feedbackSlideDown 0.3s ease-out;
}

@keyframes feedbackSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submit button enhanced states */
.code-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.code-submit-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* Loading spinner animation */
.btn-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Platform card enhanced states for code input */
.platform-card.detected {
    animation: cardDetected 0.5s ease-out;
}

@keyframes cardDetected {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* Enhanced platform status animations */
.platform-status.detected {
    animation: statusPulse 1s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Code input character validation */
.code-input__input:invalid {
    border-color: var(--error-300);
}

.code-input__input:valid:not(:placeholder-shown) {
    border-color: var(--success-300);
}

/* Responsive enhancements for code input */
@media (max-width: 768px) {
    .code-input__input {
        font-size: 1rem;
        padding: var(--space-md);
    }

    .code-submit-btn {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.9375rem;
    }
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-700);
    margin-top: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
}

/* Countdown Progress */
.countdown-progress {
    margin-top: var(--space-lg);
    position: relative;
    z-index: 1;
}

.countdown-progress__track {
    width: 100%;
    height: 0.75rem;
    background: var(--accent-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-sm);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.countdown-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-md);
    transition: width 1s ease;
    width: 0%;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
}

.countdown-progress__text {
    text-align: center;
    font-size: 0.75rem;
    color: var(--accent-600);
    font-weight: 500;
}

/* Countdown Ended State */
.countdown-ended {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--error-50);
    border: 1px solid var(--error-200);
    border-radius: 0.75rem;
}

.ended-icon {
    width: 3rem;
    height: 3rem;
    background: var(--error-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--error);
    flex-shrink: 0;
}

.ended-icon i {
    width: 1.5rem;
    height: 1.5rem;
}

.ended-content {
    flex: 1;
}

.ended-title {
    font-weight: 600;
    color: var(--error);
    margin-bottom: 0.25rem;
}

.ended-subtitle {
    font-size: 0.875rem;
    color: var(--error-700);
}

/* ================================
   ENTRY CTA COMPONENTS
   ================================ */

.entry-cta {
    text-align: center;
    margin-top: var(--space-xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%);
    border-radius: var(--radius-xl);
    border: 2px solid var(--primary-100);
    position: relative;
    overflow: hidden;
}

.entry-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.cta-button--animated {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
    border: none;
    color: var(--background);
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-primary);
    margin-bottom: var(--space-lg);
}

.cta-button--animated:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.cta-button--animated::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button--animated:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button__icon,
.cta-button__text,
.cta-button__arrow {
    position: relative;
    z-index: 2;
}

.cta-button__icon {
    margin-right: var(--space-sm);
}

.cta-button__arrow {
    margin-left: var(--space-sm);
    transition: var(--transition-normal);
}

.cta-button--animated:hover .cta-button__arrow {
    transform: translateX(4px);
    animation: bounce 0.6s ease;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(4px);
    }

    40% {
        transform: translateX(8px);
    }

    60% {
        transform: translateX(6px);
    }
}

.entry-cta__features {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.entry-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--accent-700);
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--background);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--accent-200);
}

.entry-feature i {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.entry-cta__subtitle {
    color: var(--accent-600);
    font-size: 0.875rem;
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.entry-cta--ended {
    opacity: 0.7;
    filter: grayscale(0.3);
}

.entry-cta--ended .cta-button--animated {
    cursor: not-allowed;
    background: var(--accent-400);
}

.entry-cta--ended .cta-button--animated:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
}

/* ================================
   RESPONSIVE HERO SECTION
   ================================ */

@media (max-width: 768px) {
    .giveaway-hero__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .giveaway-title {
        font-size: 1.875rem;
    }

    .prize-stats__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .countdown-units {
        gap: var(--space-md);
    }

    .countdown-value {
        width: 3.5rem;
        height: 3.5rem;
    }

    .countdown-number {
        font-size: 1.25rem;
    }

    .entry-cta__features {
        flex-direction: column;
        gap: var(--space-md);
    }

    .cta-button--animated {
        font-size: 1rem;
        padding: var(--space-md) var(--space-xl);
    }
}

@media (max-width: 480px) {
    .giveaway-hero {
        padding: var(--space-xl);
        margin-bottom: var(--space-xl);
    }

    .giveaway-title {
        font-size: 1.5rem;
    }

    .product-gallery__main {
        height: 300px;
    }

    .countdown-units {
        gap: var(--space-sm);
    }

    .countdown-value {
        width: 3rem;
        height: 3rem;
    }

    .countdown-number {
        font-size: 1.125rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}

/* ================================
   RESPONSIVE ENTRY SECTION
   ================================ */

@media (max-width: 768px) {
    .entry-section__content {
        padding: var(--space-xl);
        margin-bottom: var(--space-xl);
    }

    .auth-warning {
        margin-bottom: var(--space-xl);
        padding: var(--space-lg);
    }

    .auth-warning__content {
        gap: var(--space-md);
    }

    .auth-warning__icon {
        width: 3rem;
        height: 3rem;
    }

    .auth-warning__title {
        font-size: 1.125rem;
    }

    .auth-warning__actions {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .code-input-section {
        padding: var(--space-lg);
    }

    .code-input__wrapper {
        flex-direction: column;
        gap: var(--space-md);
    }

    .social-platforms {
        padding: var(--space-xl);
    }

    .platform-card__header {
        padding: var(--space-lg);
    }

    .platform-card__info {
        gap: var(--space-md);
    }

    .platform-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (max-width: 480px) {
    .entry-section__content {
        padding: var(--space-lg);
        border-radius: var(--radius-xl);
    }

    .auth-warning {
        padding: var(--space-md);
        border-radius: var(--radius-lg);
    }

    .auth-warning__content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

    .code-input-section,
    .social-platforms {
        padding: var(--space-lg);
        border-radius: var(--radius-xl);
    }

    .platforms-title {
        font-size: 1.25rem;
    }

    .platform-card__header {
        padding: var(--space-md);
    }
}

/* ================================
   ENTRY SECTION COMPONENTS
   ================================ */

/* Code Input */
.code-input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.code-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--accent-200);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    transition: all 0.2s ease;
    background: white;
}

.code-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.code-input--success {
    border-color: var(--success);
    background: var(--success-50);
}

.code-input--error {
    border-color: var(--error);
    background: var(--error-50);
}

.code-input--disabled {
    background: var(--accent-100);
    color: var(--accent-400);
    cursor: not-allowed;
}

/* Code Detection Feedback */
.code-feedback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.code-feedback--success {
    color: var(--success);
}

.code-feedback--error {
    color: var(--error);
    background: var(--error-50);
    border: 1px solid var(--error-200);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.code-feedback i {
    width: 1rem;
    height: 1rem;
}

/* Social Platform Cards */
.platform-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.platform-card {
    border: 2px solid var(--accent-200);
    border-radius: 0.75rem;
    background: white;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.platform-card:hover {
    border-color: var(--accent-300);
}

.platform-card--completed {
    background: var(--success-50);
    border-color: var(--success-200);
}

.platform-card--detected {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.platform-card--expanded {
    border-color: var(--primary-300);
}

/* Platform Card Header */
.platform-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    cursor: pointer;
}

.platform-card__info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.platform-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.platform-icon i {
    width: 1.25rem;
    height: 1.25rem;
}

.platform-card__details h4 {
    margin: 0;
    font-weight: 600;
    color: var(--accent-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-card__details p {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    color: var(--accent-600);
}

.platform-card__status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.platform-status-text {
    text-align: right;
}

.platform-status-text .status-label {
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

.platform-status-text .status-code {
    font-size: 0.75rem;
    color: var(--accent-500);
    margin: 0.125rem 0 0;
}

.platform-status-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Completion Badge */
.completion-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--success);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
}

.detection-badge {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Platform Card Expanded Content */
.platform-card__content {
    border-top: 1px solid var(--accent-100);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
}

.platform-instructions {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.platform-instructions h5 {
    margin: 0 0 0.75rem;
    font-weight: 600;
    color: var(--accent-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-instructions ol {
    margin: 0;
    padding-left: 1.25rem;
}

.platform-instructions li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--accent-600);
    line-height: 1.4;
}

.step-number {
    background: var(--primary-100);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-family: 'SF Mono', monospace;
}

/* Platform Actions */
.platform-actions {
    display: flex;
    gap: 0.75rem;
}

.platform-actions .cta-button {
    flex: 1;
}

.platform-entry-info {
    background: var(--accent-50);
    border: 1px solid var(--accent-200);
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.platform-entry-info h6 {
    margin: 0 0 0.25rem;
    font-weight: 600;
    color: var(--accent-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-entry-info p {
    margin: 0;
    color: var(--accent-700);
}

/* ================================
   CONTENT AREA COMPONENTS
   ================================ */

/* Prize Details Section */
.prize-details {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
}

.prize-details h3 {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-800);
}

.prize-details-grid {
    display: grid;
    gap: 1.5rem;
}

.prize-item {
    background: var(--accent-50);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

.prize-item h4 {
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: var(--accent-800);
}

.prize-item p {
    margin: 0;
    color: var(--accent-600);
    line-height: 1.5;
}

/* Progress Sidebar */
.progress-sidebar {
    position: sticky;
    top: 2rem;
}

.progress-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.5rem;
}

.progress-card h3 {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-800);
}

/* Platform Progress Grid */
.platform-progress-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
}

.platform-progress-item {
    aspect-ratio: 1;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.platform-progress-item--completed {
    background: var(--success);
    color: white;
}

.platform-progress-item--pending {
    background: var(--accent-200);
    color: var(--accent-400);
}

.platform-progress-item i {
    width: 1rem;
    height: 1rem;
}

/* Recent Activity */
.activity-list {
    space-y: 0.75rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--accent-50);
    border-radius: 0.5rem;
}

.activity-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.activity-content .user-name {
    font-weight: 600;
    color: var(--accent-800);
}

.activity-content .action {
    color: var(--accent-600);
    font-size: 0.875rem;
}

.activity-content .time {
    color: var(--accent-500);
    font-size: 0.75rem;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1024px) {
    .gallery-nav {
        width: 2rem;
        height: 2rem;
    }

    .gallery-nav i {
        width: 1rem;
        height: 1rem;
    }

    .thumbnail {
        width: 3rem;
        height: 3rem;
    }

    .platform-card__header {
        padding: 0.75rem;
    }

    .platform-icon {
        width: 2rem;
        height: 2rem;
    }

    .platform-icon i {
        width: 1rem;
        height: 1rem;
    }
}

@media (max-width: 768px) {
    .gallery-nav--prev {
        left: 0.5rem;
    }

    .gallery-nav--next {
        right: 0.5rem;
    }

    .gallery-counter {
        bottom: 0.5rem;
        left: 0.5rem;
        font-size: 0.75rem;
        padding: 0.375rem 0.5rem;
    }

    .platform-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .platform-card__status {
        align-self: stretch;
        justify-content: space-between;
    }

    .platform-actions {
        flex-direction: column;
    }

    .code-input {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */

.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-down {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 500px;
    }
}

.success-highlight {
    animation: successPulse 2s ease;
}

@keyframes successPulse {

    0%,
    100% {
        background: var(--success-50);
    }

    50% {
        background: var(--success-100);
    }
}

/* ================================
   ENTRY SECTION - ENHANCED STYLING
   ================================ */

.entry-section__content {
    padding: var(--space-2xl);
    background: var(--background);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--accent-200);
    margin-bottom: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.entry-section__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

/* Authentication Warning Enhanced */
.auth-warning {
    margin-bottom: var(--space-2xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    color: var(--background);
    border: 2px solid var(--primary-200);
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.auth-warning::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: warningGlow 3s ease-in-out infinite alternate;
}

@keyframes warningGlow {
    0% {
        opacity: 0.3;
        transform: rotate(0deg);
    }

    100% {
        opacity: 0.6;
        transform: rotate(15deg);
    }
}

.auth-warning__content {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.auth-warning__icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-soft);
}

.auth-warning__icon i {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--background);
}

.auth-warning__text {
    flex: 1;
    min-width: 0;
}

.auth-warning__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 var(--space-sm) 0;
    color: var(--background);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-warning__description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 var(--space-lg) 0;
    font-weight: 500;
}

.auth-warning__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.btn-auth {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

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

.btn-auth:hover::before {
    left: 100%;
}

.btn-auth--primary {
    background: var(--background);
    color: var(--primary);
    border-color: var(--background);
}

.btn-auth--primary:hover {
    background: var(--accent-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm);
}

.btn-auth--secondary {
    color: var(--background);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.btn-auth--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--background);
    transform: translateY(-2px);
}

.btn-auth i {
    width: 1rem;
    height: 1rem;
    z-index: 1;
    position: relative;
}

.auth-warning__close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    backdrop-filter: blur(4px);
}

.auth-warning__close:hover {
    color: var(--background);
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.auth-warning__close i {
    width: 1.25rem;
    height: 1.25rem;
}

/* ================================
   CODE INPUT SECTION - ENHANCED
   ================================ */

.code-input-section {
    margin-bottom: var(--space-2xl);
    background: linear-gradient(135deg, var(--accent-50) 0%, var(--primary-50) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 2px solid var(--accent-100);
    position: relative;
    overflow: hidden;
}

.code-input-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.code-input__label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-800);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.code-input__wrapper {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.code-input__field {
    flex: 1;
    position: relative;
}

.code-input__input {
    width: 100%;
    padding: var(--space-lg) var(--space-lg);
    border: 3px solid var(--accent-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    transition: var(--transition-normal);
    background: var(--background);
    box-shadow: var(--shadow-soft);
    font-weight: 500;
}

.code-input__input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
    transform: translateY(-1px);
}

.code-input__input:disabled {
    background: var(--accent-100);
    color: var(--accent-400);
    cursor: not-allowed;
    opacity: 0.7;
}

.code-input__input.success {
    border-color: var(--success);
    background: var(--success-50);
    box-shadow: 0 0 0 4px rgba(72, 187, 120, 0.15);
}

.code-input__input.error {
    border-color: var(--error);
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.code-detection-feedback {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    color: var(--success-700);
    font-weight: 600;
    background: var(--success-50);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--success-200);
    box-shadow: var(--shadow-soft);
}

.code-detection-feedback i {
    width: 1rem;
    height: 1rem;
    color: var(--success);
}

.code-error-feedback {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    padding: var(--space-md);
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    border: 2px solid #FECACA;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    color: var(--error);
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.code-error-feedback i {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: var(--error);
}

.code-submit-btn {
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
    color: var(--background);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    white-space: nowrap;
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

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

.code-submit-btn:hover:not(:disabled)::before {
    left: 100%;
}

.code-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.code-submit-btn:disabled {
    background: var(--accent-300);
    cursor: not-allowed;
    transform: none;
    box-shadow: var(--shadow-soft);
    opacity: 0.7;
}

.btn-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ================================
   SOCIAL PLATFORMS - ENHANCED STYLING
   ================================ */

.social-platforms {
    margin-bottom: var(--space-2xl);
    background: linear-gradient(135deg, var(--accent-50) 0%, var(--primary-50) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    border: 2px solid var(--accent-100);
    position: relative;
    overflow: hidden;
}

.social-platforms::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.social-platforms__header {
    margin-bottom: var(--space-xl);
    text-align: center;
    position: relative;
    z-index: 1;
}

.platforms-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-900);
    margin: 0 0 var(--space-sm) 0;
    background: linear-gradient(135deg, var(--accent-900) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platforms-subtitle {
    color: var(--accent-600);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.platforms-grid {
    display: grid;
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

/* Enhanced Platform Cards */
.platform-card {
    background: var(--background);
    border: 3px solid var(--accent-200);
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-300) 50%, transparent 100%);
    transition: var(--transition-normal);
}

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

.platform-card:hover::before {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.platform-card.completed {
    border-color: var(--success);
    background: linear-gradient(135deg, var(--success-50) 0%, var(--background) 100%);
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.15);
}

.platform-card.completed::before {
    background: linear-gradient(90deg, var(--success) 0%, var(--success-600) 100%);
}

.platform-card.detected {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--background) 100%);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
    animation: detectedPulse 2s ease-in-out infinite;
}

.platform-card.detected::before {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-600) 100%);
}

@keyframes detectedPulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(255, 107, 53, 0.25);
    }
}

.platform-card.expanded {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.platform-card.expanded::before {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.platform-card__header {
    padding: var(--space-xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    transition: var(--transition-normal);
}

.platform-card__header:hover {
    background: rgba(255, 107, 53, 0.03);
}

.platform-card__info {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex: 1;
    min-width: 0;
}

.platform-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.platform-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: var(--transition-normal);
    opacity: 0;
    z-index: 1;
}

.platform-card:hover .platform-icon::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

.platform-icon i {
    font-size: 1.5rem;
    color: white;
    z-index: 2;
    position: relative;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Platform-specific icon colors */
.platform-icon--youtube {
    background: linear-gradient(135deg, #FF0000 0%, #FF4444 100%);
}

.platform-icon--facebook {
    background: linear-gradient(135deg, #1877F2 0%, #42A5F5 100%);
}

.platform-icon--instagram {
    background: linear-gradient(135deg, #E4405F 0%, #F56565 100%);
}

.platform-icon--tiktok {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.platform-icon--x {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.platform-details {
    flex: 1;
    min-width: 0;
}

.platform-name-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.platform-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-800);
    margin: 0;
}

.platform-status {
    background: var(--accent-100);
    color: var(--accent-600);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
}

.platform-status.completed {
    background: var(--success);
    color: white;
}

.platform-status.detected {
    background: var(--primary);
    color: white;
    animation: pulse 2s infinite;
}

.platform-description {
    color: var(--accent-600);
    font-size: 0.875rem;
    margin: 0;
}

.platform-card__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.platform-code-info {
    text-align: right;
}

.code-format {
    font-size: 0.75rem;
    color: var(--accent-500);
    font-family: var(--font-mono);
}

.platform-arrow {
    color: var(--accent-400);
    transition: transform 0.3s ease;
}

.platform-arrow.expanded {
    transform: rotate(90deg);
}

.platform-arrow i {
    width: 1.25rem;
    height: 1.25rem;
}

/* Platform Card Content */
.platform-card__content {
    border-top: 1px solid var(--accent-200);
    background: var(--accent-25);
}

.platform-content__inner {
    padding: 1.5rem;
}

.platform-instructions {
    margin-bottom: 1.5rem;
}

.instructions-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-800);
    margin: 0 0 1rem 0;
}

.instructions-title i {
    width: 1rem;
    height: 1rem;
}

.instructions-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.instructions-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.step-number {
    background: rgba(255, 107, 53, 0.2);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: var(--font-mono);
    flex-shrink: 0;
    min-width: 1.5rem;
    text-align: center;
}

.instructions-list span:not(.step-number) {
    color: var(--accent-600);
    font-size: 0.875rem;
    line-height: 1.4;
}

.platform-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn-platform {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    background: none;
}

.btn-platform--primary {
    flex: 1;
    background: var(--primary);
    color: white;
    justify-content: center;
}

.btn-platform--primary:hover {
    background: var(--secondary);
    transform: translateY(-1px);
}

.btn-platform--secondary {
    color: var(--accent-600);
    border-color: var(--accent-300);
}

.btn-platform--secondary:hover {
    background: var(--accent-50);
    border-color: var(--accent-400);
}

.btn-platform i {
    width: 1rem;
    height: 1rem;
}

.entry-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.entry-info__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(30, 64, 175);
    margin-bottom: 0.25rem;
}

.entry-info__header i {
    width: 0.875rem;
    height: 0.875rem;
}

.entry-info__text {
    color: rgb(30, 58, 138);
    font-size: 0.875rem;
    margin: 0;
}

/* ================================
   CONTENT AREA - ENHANCED STYLING
   ================================ */

.content-area {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--accent-50) 0%, var(--primary-50) 100%);
    position: relative;
    overflow: hidden;
}

.content-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(43, 90, 107, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.content-area .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.content-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    position: sticky;
    top: 6rem;
}

/* ================================
   PRIZE DETAILS CARD - ENHANCED
   ================================ */

.prize-details-card {
    background: var(--background);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 2px solid var(--accent-100);
    position: relative;
    transition: var(--transition-normal);
}

.prize-details-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.prize-details-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm);
}

.prize-details__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl) var(--space-2xl);
    border-bottom: 2px solid var(--accent-100);
    background: linear-gradient(135deg, var(--accent-50) 0%, var(--background) 100%);
    position: relative;
}

.prize-details__title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-900);
    margin: 0;
}

.prize-details__title i {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary);
    background: var(--primary-100);
    border-radius: 50%;
    padding: 0.375rem;
    box-sizing: border-box;
}

.prize-value {
    text-align: right;
    background: var(--primary-50);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-200);
}

.prize-value__amount {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.prize-value__label {
    font-size: 0.875rem;
    color: var(--accent-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-xs);
}

.prize-details__content {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

/* Prize Description */
.prize-description__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-800);
    margin: 0 0 1rem 0;
}

.prize-description__text {
    color: var(--accent-600);
    line-height: 1.6;
    margin: 0;
}

/* Prize Specifications */
.specs-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-800);
    margin: 0 0 1rem 0;
}

.specs-title i {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.spec-item {
    padding: 1rem;
    background: var(--accent-50);
    border-radius: 0.5rem;
    border: 1px solid var(--accent-200);
}

.spec-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.spec-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-800);
}

/* How It Works */
.how-it-works__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-800);
    margin: 0 0 1.5rem 0;
}

.how-it-works__title i {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.how-it-works__steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-800);
    margin: 0 0 0.25rem 0;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--accent-600);
    margin: 0;
    line-height: 1.4;
}

/* Winner Showcase */
.winner-showcase-card {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.winner-showcase__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--accent-200);
    background: linear-gradient(135deg, #fef3c7, white);
}

.winner-showcase__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-800);
    margin: 0;
}

.winner-showcase__title i {
    width: 1.25rem;
    height: 1.25rem;
    color: #f59e0b;
}

.winner-count {
    background: #f59e0b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.winners-grid {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.winner-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--accent-25);
    border-radius: 0.75rem;
    border: 1px solid var(--accent-200);
}

.winner-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--accent-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-600);
}

.winner-avatar i {
    width: 1.25rem;
    height: 1.25rem;
}

.winner-info {
    flex: 1;
}

.winner-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-800);
    margin-bottom: 0.125rem;
}

.winner-date {
    font-size: 0.75rem;
    color: var(--accent-600);
}

.winner-badge {
    color: #f59e0b;
}

.winner-badge i {
    width: 1.125rem;
    height: 1.125rem;
}

/* ================================
   PROGRESS TRACKER CARD - ENHANCED
   ================================ */

.progress-tracker-card {
    background: var(--background);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-xl);
    border: 2px solid var(--accent-100);
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.progress-tracker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.progress-tracker-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm);
}

.progress-tracker__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.progress-tracker__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-900);
    margin: 0;
}

.progress-percentage {
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
    color: var(--primary-800);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 700;
    border: 2px solid var(--primary-200);
    box-shadow: var(--shadow-soft);
}

.entries-display {
    text-align: center;
    margin-bottom: var(--space-xl);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 2px solid var(--primary-100);
}

.entries-count {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
}

.entries-label {
    font-size: 0.875rem;
    color: var(--accent-700);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.platform-progress-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--accent-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--accent-200);
}

.platform-progress-item {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-lg);
    background: var(--accent-200);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.platform-progress-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: var(--transition-normal);
    opacity: 0;
}

.platform-progress-item.completed {
    background: linear-gradient(135deg, var(--success) 0%, var(--success-600) 100%);
    color: var(--background);
    border-color: var(--success-200);
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
}

.platform-progress-item.completed::before {
    opacity: 1;
    animation: shimmer 2s ease-in-out;
}

.platform-progress-item.detected {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
    color: var(--background);
    border-color: var(--primary-200);
    animation: detectedPulse 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.platform-progress-icon i {
    width: 1.125rem;
    height: 1.125rem;
    z-index: 1;
    position: relative;
}

.next-step-message {
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--accent-50) 0%, var(--primary-50) 100%);
    border-radius: var(--radius-lg);
    border: 2px solid var(--accent-200);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.next-step-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.next-step-message p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--accent-700);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* ================================
   RECENT ACTIVITY & TRUST CARDS - ENHANCED
   ================================ */

.recent-activity-card,
.trust-signals-card {
    background: var(--background);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--accent-100);
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.recent-activity-card::before,
.trust-signals-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.recent-activity-card:hover,
.trust-signals-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm);
}

.recent-activity-card {
    padding: var(--space-xl);
}

.trust-signals-card {
    padding: var(--space-xl);
}

.recent-activity__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.recent-activity__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-800);
    margin: 0;
}

.recent-activity__title i {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.activity-live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
}

.live-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.activity-avatar {
    width: 2rem;
    height: 2rem;
    background: var(--accent-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-600);
    flex-shrink: 0;
}

.activity-avatar i {
    width: 1rem;
    height: 1rem;
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-size: 0.875rem;
    color: var(--accent-700);
    margin-bottom: 0.125rem;
}

.activity-time {
    font-size: 0.75rem;
    color: var(--accent-500);
}

/* Trust Signals Card */
.trust-signals-card {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
}

.trust-signals__header {
    margin-bottom: 1.5rem;
}

.trust-signals__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-800);
    margin: 0;
}

.trust-signals__title i {
    width: 1rem;
    height: 1rem;
    color: var(--success);
}

.trust-signals__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--accent-25);
    border-radius: 0.5rem;
    border: 1px solid var(--accent-200);
}

.trust-icon {
    width: 2rem;
    height: 2rem;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    flex-shrink: 0;
}

.trust-icon i {
    width: 1rem;
    height: 1rem;
}

.trust-content {
    flex: 1;
}

.trust-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-800);
    margin-bottom: 0.125rem;
}

.trust-description {
    font-size: 0.75rem;
    color: var(--accent-600);
}

.trust-badge {
    color: var(--success);
}

.trust-badge i {
    width: 1rem;
    height: 1rem;
}

.giveaway-stats {
    padding-top: 1rem;
    border-top: 1px solid var(--accent-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--accent-50);
    border-radius: 0.5rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--accent-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================================
   RESPONSIVE CONTENT AREA
   ================================ */

@media (max-width: 1024px) {
    .content-area .container {
        padding: 0 var(--space-md);
    }

    .content-grid {
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .content-area {
        padding: var(--space-xl) 0;
    }

    .content-area .container {
        padding: 0 var(--space-md);
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .content-sidebar {
        position: static;
        gap: var(--space-lg);
    }

    .prize-details-card,
    .progress-tracker-card,
    .recent-activity-card,
    .trust-signals-card {
        padding: var(--space-lg);
    }

    .prize-details__header {
        padding: var(--space-lg);
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

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

    .entries-count {
        font-size: 2.5rem;
    }

    .platform-progress-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }

    .platform-progress-item {
        width: 2.25rem;
        height: 2.25rem;
    }
}

@media (max-width: 480px) {
    .content-area {
        padding: var(--space-lg) 0;
    }

    .content-area .container {
        padding: 0 var(--space-sm);
    }

    .content-grid {
        gap: var(--space-lg);
    }

    .prize-details-card,
    .progress-tracker-card,
    .recent-activity-card,
    .trust-signals-card {
        padding: var(--space-md);
        border-radius: var(--radius-lg);
    }

    .prize-details__header {
        padding: var(--space-md);
    }

    .prize-details__content {
        padding: var(--space-lg);
        gap: var(--space-lg);
    }

    .entries-count {
        font-size: 2rem;
    }

    .platform-progress-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: var(--space-sm);
    }

    .platform-progress-item {
        width: 2rem;
        height: 2rem;
    }

    .progress-tracker__title,
    .recent-activity__title,
    .trust-signals__title {
        font-size: 1.125rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .content-sidebar {
        position: static;
    }

    .prize-details__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .platform-progress-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   ENHANCED NOTIFICATION SYSTEM
   ================================ */

/* Notification Container for Multiple Notifications */
.notification-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 420px;
    width: 100%;
    pointer-events: none;
}

.notification {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(8px);
    border: 2px solid;
    opacity: 0;
    transform: translateX(100%) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    overflow: hidden;
    min-height: 64px;
    position: relative;
}

.notification--show {
    opacity: 1;
    transform: translateX(0) scale(1);
    animation: notificationSlideIn 0.3s ease-out;
}

.notification--hide {
    opacity: 0;
    transform: translateX(100%) scale(0.95);
    animation: notificationSlideOut 0.3s ease-in;
}

.notification--info {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border-color: var(--primary-200);
    color: var(--primary-800);
}

.notification--success {
    background: linear-gradient(135deg, var(--success-50) 0%, var(--success-100) 100%);
    border-color: var(--success-200);
    color: var(--success-800);
}

.notification--warning {
    background: linear-gradient(135deg, var(--warning-50) 0%, var(--warning-100) 100%);
    border-color: var(--warning-200);
    color: var(--warning-800);
}

.notification--error {
    background: linear-gradient(135deg, var(--error-50) 0%, var(--error-100) 100%);
    border-color: var(--error-200);
    color: var(--error-800);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
}

.notification-content i {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.notification-content span {
    flex: 1;
    font-weight: 500;
    line-height: 1.4;
}

.notification-content button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    opacity: 0.7;
}

.notification-content button:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
}

.notification-content button i {
    width: 1rem;
    height: 1rem;
}

/* Enhanced Notification Content Structure */
.notification__content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.notification__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.notification__icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: inherit;
}

.notification__title {
    font-weight: 600;
    font-size: 0.875rem;
    color: inherit;
}

.notification__message {
    font-size: 0.875rem;
    line-height: 1.5;
    color: inherit;
    opacity: 0.8;
    margin-left: 2rem;
    /* Align with title */
}

.notification__actions {
    margin-top: var(--space-md);
    margin-left: 2rem;
    /* Align with title */
    display: flex;
    gap: var(--space-sm);
}

.notification__actions button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: inherit;
    cursor: pointer;
    transition: var(--transition-normal);
    backdrop-filter: blur(4px);
}

.notification__actions button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.notification__actions button.btn--primary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.9);
}

.notification__actions button.btn--primary:hover {
    background: var(--white);
    border-color: var(--white);
}

/* Dismiss Button */
.notification__dismiss {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.notification__dismiss:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
}

.notification__dismiss i {
    width: 0.875rem;
    height: 0.875rem;
}

@keyframes notificationSlideIn {
    0% {
        transform: translateX(100%) scale(0.95);
        opacity: 0;
    }

    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes notificationSlideOut {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(100%) scale(0.95);
        opacity: 0;
    }
}

/* ================================
   PERFORMANCE OPTIMIZATIONS
   ================================ */

/* Image Lazy Loading */
img[data-src] {
    background: var(--gray-100);
    background-image:
        radial-gradient(circle at 50% 50%, var(--gray-200) 0%, transparent 50%),
        linear-gradient(90deg, transparent, var(--gray-200), transparent);
    background-size: 20px 20px, 200px 100px;
    background-position: center, 0 0;
    background-repeat: no-repeat, repeat-x;
    animation: imagePlaceholder 1.5s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

img[data-src].loading {
    opacity: 0.7;
}

img[data-src].loaded {
    background: none;
    animation: imageLoaded 0.3s ease-out;
}

img[data-src].error {
    background: var(--error-50);
    border: 1px dashed var(--error-200);
    position: relative;
}

img[data-src].error::after {
    content: '⚠️ Image failed to load';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    color: var(--error-600);
    text-align: center;
}

/* Progressive Image Enhancement */
.progressive-image {
    position: relative;
    overflow: hidden;
}

.progressive-image__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gray-100);
    filter: blur(5px);
    transform: scale(1.05);
    transition: opacity 0.3s ease;
}

.progressive-image__main {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progressive-image__main.loaded {
    opacity: 1;
}

.progressive-image__main.loaded+.progressive-image__placeholder {
    opacity: 0;
}

/* Component Loading States */
.component-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.component-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: componentShimmer 1.5s infinite;
}

/* Performance Hint Animations */
@keyframes imagePlaceholder {

    0%,
    100% {
        background-position: center, -200px 0;
    }

    50% {
        background-position: center, 200px 0;
    }
}

@keyframes imageLoaded {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes componentShimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Memory-Efficient Animations */
.performance-mode .notification,
.performance-mode .urgency-banner,
.performance-mode .platform-card {
    animation-duration: 0.2s;
    /* Faster animations for better performance */
}

.performance-mode .loading-spinner {
    animation-duration: 0.8s;
    /* Faster spinner */
}

/* Reduce motion for accessibility and performance */
@media (prefers-reduced-motion: reduce) {

    img[data-src],
    .progressive-image__main,
    .component-loading::after {
        animation: none;
        transition: none;
    }

    .notification,
    .urgency-banner,
    .platform-card {
        animation: none;
        transition: opacity 0.1s ease;
    }
}

/* Resource Hints - Hidden preload elements */
.resource-preload {
    position: absolute;
    top: -9999px;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

/* Critical CSS for above-the-fold content */
.critical-content {
    /* Styles for content that must load immediately */
    font-display: swap;
    /* For web fonts */
}

/* Non-critical content that can load later */
.non-critical-content {
    content-visibility: auto;
    /* Modern browsers only */
    contain-intrinsic-size: 200px;
    /* Estimated size for layout */
}

/* ================================
   URGENCY BANNER
   ================================ */

.urgency-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: linear-gradient(135deg, var(--error) 0%, var(--error-600) 100%);
    color: var(--background);
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    animation: urgencySlideDown 0.3s ease-out;
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.urgency-content i {
    width: 1.25rem;
    height: 1.25rem;
    animation: urgencyPulse 1s infinite;
}

.urgency-content span {
    font-weight: 600;
    font-size: 0.9375rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.urgency-content button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--background);
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    margin-left: auto;
}

.urgency-content button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.urgency-content button i {
    width: 1rem;
    height: 1rem;
    animation: none;
}

@keyframes urgencySlideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes urgencyPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ================================
   COUNTDOWN ERROR STATE
   ================================ */

.countdown-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--error-50) 0%, var(--error-100) 100%);
    border: 2px solid var(--error-200);
    border-radius: var(--radius-lg);
    color: var(--error-800);
    font-weight: 600;
}

.countdown-error i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--error);
}

/* ================================
   RESPONSIVE NOTIFICATIONS
   ================================ */

@media (max-width: 768px) {
    .notification-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }

    .notification {
        transform: translateY(-100%) scale(0.95);
    }

    .notification--show {
        transform: translateY(0) scale(1);
    }

    .notification--hide {
        transform: translateY(-100%) scale(0.95);
    }
}

.urgency-content {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
}

.urgency-content button {
    margin-left: 0;
    align-self: flex-end;
}
}

@media (max-width: 480px) {
    .notification-content {
        padding: var(--space-md);
    }

    .urgency-banner {
        padding: var(--space-sm);
    }

    .urgency-content span {
        font-size: 0.875rem;
    }
}

/* ================================
   PLATFORM CARDS COMPONENT STYLES
   ================================ */

/* Platform Cards Component Animations */
.platform-card.detected-animation {
    animation: cardDetected 0.5s ease-out;
}

.platform-card.completed-animation {
    animation: cardCompleted 0.6s ease-out;
}

@keyframes cardCompleted {
    0% {
        transform: scale(1);
        box-shadow: var(--shadow-soft);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3);
    }

    100% {
        transform: scale(1);
        box-shadow: var(--shadow-soft);
    }
}

/* Platform card expansion animations */
.platform-card .platform-card__content {
    transition: all 0.3s ease-out;
}

.platform-card.expanded .platform-card__content {
    opacity: 1;
}

/* Platform card state transitions */
.platform-card {
    transition: all 0.3s ease;
}

.platform-card.completed {
    border-color: var(--success-300);
    background: linear-gradient(135deg, var(--success-50) 0%, var(--background) 100%);
}

.platform-card.detected {
    border-color: var(--primary-300);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--background) 100%);
}

.platform-card.disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* Platform action button states */
.platform-action-btn--completed {
    background: var(--success);
    color: var(--background);
    cursor: default;
}

.platform-action-btn--detected {
    background: var(--primary);
    color: var(--background);
    animation: subtle-pulse 2s infinite;
}

.platform-action-btn--disabled {
    background: var(--neutral-300);
    color: var(--neutral-500);
    cursor: not-allowed;
}

@keyframes subtle-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255, 107, 53, 0);
    }
}

/* Platform status animations */
.platform-status {
    transition: all 0.3s ease;
}

.platform-status.completed {
    color: var(--success);
}

.platform-status.detected {
    color: var(--primary);
    animation: statusPulse 1s ease-in-out infinite;
}

/* Platform progress items */
.platform-progress-item {
    transition: all 0.3s ease;
}

.platform-progress-item.completed {
    background: var(--success-100);
    border-color: var(--success-300);
}

.platform-progress-item.detected {
    background: var(--primary-100);
    border-color: var(--primary-300);
}

/* Close button for expanded cards */
.platform-card__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    opacity: 0;
    visibility: hidden;
}

.platform-card.expanded .platform-card__close {
    opacity: 1;
    visibility: visible;
}

.platform-card__close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}


/* ================================
   LOADING STATES & SKELETON SCREENS
   ================================ */

/* Loading spinner */
.loading-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--accent-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-spinner--small {
    width: 1rem;
    height: 1rem;
    border-width: 1.5px;
}

.loading-spinner--large {
    width: 3rem;
    height: 3rem;
    border-width: 3px;
}

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

/* Skeleton loading placeholders */
.skeleton {
    background: linear-gradient(90deg, var(--accent-100) 25%, var(--accent-50) 50%, var(--accent-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite ease-in-out;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Skeleton variants */
.skeleton--text {
    height: 1rem;
    margin: 0.25rem 0;
}

.skeleton--text-lg {
    height: 1.5rem;
    margin: 0.5rem 0;
}

.skeleton--image {
    aspect-ratio: 16/9;
    background: var(--accent-100);
}

.skeleton--circle {
    border-radius: 50%;
    aspect-ratio: 1;
}

.skeleton--button {
    height: 2.5rem;
    border-radius: var(--radius-lg);
}

/* Loading overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(2px);
}

.loading-overlay--fullscreen {
    position: fixed;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
}

/* Loading states for specific components */
.code-input--loading .code-input__input {
    opacity: 0.7;
    pointer-events: none;
}

.platform-card--loading {
    opacity: 0.6;
    pointer-events: none;
}

.gallery--loading .gallery-image {
    opacity: 0.5;
}

/* Button loading states */
.btn--loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn--loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: white;
}

/* Progress bar loading */
.progress-loading {
    position: relative;
    overflow: hidden;
}

.progress-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* ================================
   IMAGE GALLERY COMPONENT STYLES
   ================================ */

/* Gallery video container */
.gallery-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--background);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallery-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.gallery-video-close,
.gallery-video-external {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: var(--background);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 10;
}

.gallery-video-close {
    top: var(--space-md);
    right: var(--space-md);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-video-external {
    bottom: var(--space-md);
    right: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
}

.gallery-video-close:hover,
.gallery-video-external:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-1px);
}

/* Fullscreen overlay */
.gallery-fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    animation: galleryFadeIn 0.3s ease-out;
}

.fullscreen-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.fullscreen-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--space-lg);
    pointer-events: none;
}

.fullscreen-prev,
.fullscreen-next,
.fullscreen-close {
    background: rgba(0, 0, 0, 0.7);
    color: var(--background);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    pointer-events: auto;
}

.fullscreen-close {
    position: absolute;
    top: -3rem;
    right: 0;
}

.fullscreen-prev:hover,
.fullscreen-next:hover,
.fullscreen-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.fullscreen-counter {
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--background);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    pointer-events: auto;
}

@keyframes galleryFadeIn {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }

    100% {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

/* Body class when fullscreen is active */
.gallery-fullscreen-open {
    overflow: hidden;
}

.gallery-fullscreen-active {
    /* Additional styles when gallery fullscreen is active */
}

/* Touch/swipe indicators */
.gallery-swipe-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 107, 53, 0.2);
    color: var(--primary);
    padding: var(--space-lg);
    border-radius: 50%;
    pointer-events: none;
    animation: swipeIndicator 0.3s ease-out;
}

.gallery-swipe-indicator.left {
    left: var(--space-xl);
}

.gallery-swipe-indicator.right {
    right: var(--space-xl);
}

@keyframes swipeIndicator {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
    }

    100% {
        opacity: 0;
        transform: translateY(-50%) scale(1);
    }
}

/* Enhanced gallery navigation */
.gallery-nav {
    transition: all 0.3s ease;
    opacity: 0.8;
}

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

.gallery-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

/* Thumbnail active state enhancement */
.thumbnail--active {
    transform: scale(1.05);
    box-shadow: 0 0 0 3px var(--primary);
}

/* Responsive fullscreen */
@media (max-width: 768px) {
    .fullscreen-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .fullscreen-image {
        max-height: 70vh;
    }

    .fullscreen-controls {
        padding: 0 var(--space-md);
    }

    .fullscreen-prev,
    .fullscreen-next,
    .fullscreen-close {
        width: 2.5rem;
        height: 2.5rem;
    }

    .gallery-video-close,
    .gallery-video-external {
        bottom: var(--space-sm);
        right: var(--space-sm);
    }

    .gallery-video-external {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-sm);
    }
}

@media (max-width: 480px) {
    .fullscreen-image {
        max-height: 60vh;
    }

    .fullscreen-counter {
        bottom: -2rem;
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-sm);
    }

    .fullscreen-close {
        top: -2rem;
    }
}