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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Background container */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Content overlay - DESKTOP POSITION CONTROLS */
.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* center | flex-start (left) | flex-end (right) */
    justify-content: flex-end;
    /* center | flex-start (top) | flex-end (bottom) */
    padding-top: 0%;
    /* Adjust top position */
    padding-bottom: 15%;
    /* Adjust bottom position */
    padding-left: 50%;
    /* Adjust left position */
    padding-right: 0%;
    /* Adjust right position */
}

/* Hide elements based on screen size */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Text styling */
.promo-text {
    /* Text base color - very light gray */
    color: #f3f3f3;
    text-align: center;
    /* center | left | right */
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;

    /* Text gradient effect - Updated with your specified colors */
    background: linear-gradient(180deg, #ffffff 0%, #f9e6ff 50%, #f3f3f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    /* Updated stroke effect with your specified color #9d25db */
    filter: drop-shadow(-1px -1px 0 #9d25db) drop-shadow(1px -1px 0 #9d25db) drop-shadow(-1px 1px 0 #9d25db) drop-shadow(1px 1px 0 #9d25db) drop-shadow(2px 2px 4px rgba(157, 37, 219, 0.3));

    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
    line-height: 1.2;
    max-width: 90%;
}

/* CTA Button with image background */
.cta-button {
    display: inline-block;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    cursor: pointer;
}

.cta-button-image {
    display: block;
    width: auto;
    height: 80px;
    max-width: 300px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
}

/* Text on button */
.cta-button-text {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 900;
    text-transform: none;
    letter-spacing: 1px;

    /* Text base color - same as promo text */
    color: #f3f3f3;

    /* Updated stroke effect with your specified color #1e6405 */
    text-shadow:
        /* Stroke effect - green */
        -1px -1px 0 #1e6405,
        1px -1px 0 #1e6405,
        -1px 1px 0 #1e6405,
        1px 1px 0 #1e6405,
        -2px -2px 0 #1e6405,
        2px -2px 0 #1e6405,
        -2px 2px 0 #1e6405,
        2px 2px 0 #1e6405,
        /* Soft shadow for depth */
        3px 3px 6px rgba(30, 100, 5, 0.6);

    white-space: nowrap;
    pointer-events: none;
}

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

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

@keyframes pulse {

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

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

/* Loading */
.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Error message */
.error {
    display: none;
    background: #ef4444;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Tablet styles - iPad, Surface */
@media (max-width: 1024px) and (min-width: 769px) {
    .background-image {
        width: 100%;
        height: 100%;
        object-fit: contain; /* cover yerine contain kullanın */
        object-position: center;
        /* veya */
        /* object-fit: fill; */ /* Tüm alanı doldurur ama aspect ratio bozulabilir */
    }
    
    .content-overlay {
        align-items: center;
        justify-content: center;
        padding: 2rem;
        margin-top: 70px;
        margin-left: 0px;
    }

    .promo-text {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
        margin-bottom: 20px;
        text-align: center;
    }

    .cta-button-image {
        height: 50px;
        max-width: 175px;
    }

    .cta-button-text {
        font-size: 1.4rem;
    }
}

/* Mobile styles - MOBILE POSITION CONTROLS */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .content-overlay {
        align-items: center;
        /* center | flex-start (left) | flex-end (right) */
        justify-content: flex-start;
        /* center | flex-start (top) | flex-end (bottom) */
        padding-top: 50%;
        /* Adjust top position */
        padding-bottom: 0%;
        /* Adjust bottom position */
        padding-left: 0%;
        /* Adjust left position */
        padding-right: 0%;
        /* Adjust right position */
    }

    .promo-text {
        text-align: center;
        font-size: clamp(1.8rem, 6vw, 2.8rem);
        margin-bottom: 25px;
    }

    .cta-button-image {
        height: 90px;
        max-width: 300px;
    }

    .cta-button-text {
        font-size: 1.8rem;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .promo-text {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .cta-button-image {
        height: 68px;
        max-width: 224px;
    }

    .cta-button-text {
        font-size: 1.6rem;
    }
}

/* Button disabled state */
.cta-button.disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
    animation: none !important;
}

/* Loading text style */
.cta-button .loading-text {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 900;
    text-transform: none;
    letter-spacing: 1px;
    color: #f3f3f3;
    text-shadow:
        -1px -1px 0 #1e6405,
        1px -1px 0 #1e6405,
        -1px 1px 0 #1e6405,
        1px 1px 0 #1e6405,
        -2px -2px 0 #1e6405,
        2px -2px 0 #1e6405,
        -2px 2px 0 #1e6405,
        2px 2px 0 #1e6405,
        3px 3px 6px rgba(30, 100, 5, 0.6);
    white-space: nowrap;
    pointer-events: none;
    animation: loadingPulse 1.5s infinite;
}

/* Loading pulse animation */
@keyframes loadingPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Tablet loading text */
@media (max-width: 1024px) and (min-width: 769px) {
    .cta-button .loading-text {
        font-size: 1.4rem;
    }
}

/* Mobile loading text */
@media (max-width: 768px) {
    .cta-button .loading-text {
        font-size: 1.8rem;
    }
}

/* Small mobile loading text */
@media (max-width: 480px) {
    .cta-button .loading-text {
        font-size: 1.6rem;
    }
}