* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--bg-start, #2e7d32) 0%, var(--bg-end, #4caf50) 100%);
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 15px;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.headline {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-headline, #ffffff);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.subheadline {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-subheadline, #e8f5e8);
    text-transform: uppercase;
    line-height: 1.4;
    background: var(--bg-subheadline, rgba(46, 125, 50, 0.3));
    padding: 12px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--elem-button-hover, #4caf50);
}

/* Video Section */
.video-section {
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out 0.3s both;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 9/16;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    background: #000;
    margin: 0 auto;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    text-align: center;
    padding: 20px;
}

.placeholder-icon {
    font-size: 40px;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.placeholder-text {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
}

.placeholder-subtitle {
    font-size: 12px;
    color: #aaa;
}

/* Progress Bar */
.progress-container {
    background: var(--bg-progress-container, rgba(255, 255, 255, 0.95));
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-out 0.5s both;
}

.progress-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-progress, #1b5e20);
    text-align: center;
    margin-bottom: 12px;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--elem-progress-bar, #2e7d32) 0%, var(--elem-progress-fill, #4caf50) 100%);
    border-radius: 15px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.progress-percentage {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-progress, #1b5e20);
    margin-top: 10px;
}

/* Timer */
.timer-container {
    background: var(--bg-timer-container, rgba(255, 255, 255, 0.95));
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-out 0.6s both;
}

.timer-text {
    font-size: 13px;
    font-weight: 600;
    color: #d32f2f;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.timer {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-timer, #ff5722);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* CTA Button */
.cta-container {
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out 0.7s both;
}

.cta-button {
    width: 100%;
    padding: 20px 30px;
    background: linear-gradient(135deg, var(--elem-button, #2e7d32) 0%, var(--elem-button-hover, #4caf50) 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.cta-button:disabled {
    background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%);
    cursor: not-allowed;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.7;
}

.cta-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 200, 83, 0.5);
}

.cta-button:not(:disabled):active {
    transform: translateY(0);
}

.button-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-icon svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.button-text {
    letter-spacing: 1px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:not(:disabled):hover::before {
    left: 100%;
}

/* Notifications */
.notifications {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 400px;
    z-index: 1000;
    pointer-events: none;
    display: flex;
    flex-direction: column-reverse;
}

.notification {
    background: var(--bg-notification, rgba(255, 255, 255, 0.98));
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInUp 0.5s ease-out, slideOutDown 0.5s ease-out 3.5s forwards;
    border-left: 4px solid var(--elem-notification-border, #4caf50);
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-name {
    font-weight: 700;
    color: #333;
    font-size: 14px;
    margin-bottom: 2px;
}

.notification-action {
    font-size: 12px;
    color: #666;
}

.notification-amount {
    color: #00c853;
    font-weight: 700;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(100%);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
        padding: 40px 20px;
    }

    .headline {
        font-size: 32px;
    }

    .subheadline {
        font-size: 16px;
    }

    .video-wrapper {
        max-width: 350px;
    }

    .cta-button {
        font-size: 20px;
        padding: 22px 40px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 800px;
    }

    .headline {
        font-size: 36px;
    }

    .video-wrapper {
        max-width: 400px;
    }
}

