/* CSS Custom Properties */
:root {
    --primary-green: #1a4d2e;
    --dark-green: #0d2e1a;
    --accent-gold: #ffd700;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --border-radius: 12px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--text-white);
    min-height: 100vh;
    line-height: 1.6;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-weight: 600;
}

.status-left, .status-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Header */
.header {
    text-align: center;
    padding: 20px 16px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.logo-icon {
    position: relative;
    width: 120px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pix-logo {
    width: 100%;
    height: auto;
    max-height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
}

.domain {
    font-size: 12px;
    color: var(--text-light);
    opacity: 0.8;
}

/* Main Content */
.main-content {
    padding: 0 16px 20px;
    max-width: 400px;
    margin: 0 auto;
}

/* Top Banner */
.top-banner {
    background: var(--primary-green);
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.top-banner h1 {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 0;
}

/* Image Slider Banner */
.image-slider {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.slider-container {
    position: relative;
    width: 100%;
    height: auto;
}

.slider-track {
    display: flex;
    width: 300%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 33.333%;
    position: relative;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.pix-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pix-logo-small {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pix-logo-small svg {
    width: 20px;
    height: 20px;
}

.pix-logo-small .pix-text {
    font-size: 12px;
}

.pix-logo-small span {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
}

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



/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--text-white);
    font-size: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--accent-gold);
}

/* Slider States */
.slider-track.slide-1 { transform: translateX(0); }
.slider-track.slide-2 { transform: translateX(-33.333%); }
.slider-track.slide-3 { transform: translateX(-66.666%); }

.spinning-wheel {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: conic-gradient(
        #ff6b6b 0deg 90deg,
        #4ecdc4 90deg 180deg,
        #45b7d1 180deg 270deg,
        #96ceb4 270deg 360deg
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    animation: spin 3s linear infinite;
    border: 3px solid var(--accent-gold);
}

.wheel-center {
    background: var(--accent-gold);
    color: var(--dark-green);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

.wheel-segment {
    position: absolute;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.segment-1 { transform: rotate(45deg) translateY(-30px); }
.segment-2 { transform: rotate(135deg) translateY(-30px); }
.segment-3 { transform: rotate(225deg) translateY(-30px); }
.segment-4 { transform: rotate(315deg) translateY(-30px); }

.coins {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.coin {
    font-size: 18px;
    animation: bounce 2s ease-in-out infinite;
}

.coin:nth-child(2) { animation-delay: 0.2s; }
.coin:nth-child(3) { animation-delay: 0.4s; }
.coin:nth-child(4) { animation-delay: 0.6s; }
.coin:nth-child(5) { animation-delay: 0.8s; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Offer Buttons */
.offers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.offer-button {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    border: 2px solid #00ff00;
    border-radius: var(--border-radius);
    padding: 16px;
    text-decoration: none;
    color: var(--text-white);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.crown-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    flex-shrink: 0;
    padding: 4px;
}

.crown-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.crown-1 .crown-image {
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.crown-2 svg {
    filter: drop-shadow(0 2px 4px rgba(192, 192, 192, 0.3));
}

.crown-3 svg {
    filter: drop-shadow(0 2px 4px rgba(205, 127, 50, 0.3));
}

.offer-content {
    flex: 1;
}

.website {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.bonus {
    font-size: 14px;
    color: var(--text-white);
    opacity: 0.9;
}

/* Footer */
.footer {
    padding: 20px 16px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    margin-top: auto;
}

.footer p {
    font-size: 11px;
    color: var(--text-light);
    opacity: 0.7;
    margin-bottom: 4px;
}

.footer p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 360px) {
    .banner-image {
        max-height: 150px;
        object-fit: cover;
    }
}

@media (min-width: 768px) {
    .main-content {
        max-width: 500px;
    }
    
    .banner-image {
        max-height: 300px;
        object-fit: cover;
    }
} 