/* Flys.bet $1 Scratch Card Styles */

:root {
    --primary-pink: #FF1493;
    --primary-blue: #00BFFF;
    --gold: #FFD700;
    --neon-green: #39FF14;
    --deep-purple: #6B46C1;
    --charcoal: #1A1A1A;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 100%);
    color: white;
    min-height: 100vh;
    background-attachment: fixed;
}

/* Navbar */
.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.logo-text {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    background: linear-gradient(45deg, var(--primary-pink), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.1em;
    margin-right: 0.5rem;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
}

.btc-price-display {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btc-label {
    font-size: 0.9rem;
    opacity: 0.7;
}

.btc-value {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.1rem;
}

.btc-change {
    font-size: 0.9rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
}

.btc-change.positive {
    color: var(--neon-green);
    background: rgba(57, 255, 20, 0.1);
}

.btc-change.negative {
    color: #FF3D71;
    background: rgba(255, 61, 113, 0.1);
}

.btn-wallet {
    background: linear-gradient(45deg, var(--primary-pink), var(--primary-blue));
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-wallet:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.4);
}

/* Main Content */
.main-content {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(0, 191, 255, 0.1));
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.hero-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    background: linear-gradient(45deg, var(--gold), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.expiry-banner {
    background: rgba(255, 215, 0, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    display: inline-block;
    color: var(--gold);
    font-weight: 600;
}

/* Nav Pills */
.nav-pills {
    background: var(--card-bg);
    padding: 0.5rem;
    border-radius: 15px;
    display: inline-flex;
}

.nav-pills .nav-link {
    color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 0.8rem 1.5rem;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-pills .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-pills .nav-link.active {
    background: linear-gradient(45deg, var(--primary-pink), var(--primary-blue));
    color: white;
}

.badge {
    background: var(--gold);
    color: var(--charcoal);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* Ticket Grid */
.ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Scratch Cards */
.scratch-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.scratch-card.mega {
    border-color: rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 20, 147, 0.1));
}

.scratch-card.premium {
    border-color: rgba(255, 20, 147, 0.5);
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.15), rgba(0, 191, 255, 0.1));
}

.scratch-card.standard {
    border-color: rgba(0, 191, 255, 0.5);
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.15), rgba(57, 255, 20, 0.1));
}

.scratch-card.safe {
    border-color: rgba(57, 255, 20, 0.5);
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.15), rgba(255, 255, 255, 0.05));
}

.scratch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.3);
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-label {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    color: var(--gold);
}

.card-target {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    opacity: 0.8;
}

/* Card Payout */
.card-payout {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
}

.payout-amount {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.payout-multiplier {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

/* Mode Toggle */
.mode-toggle {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.25rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.mode-btn {
    flex: 1;
    padding: 0.6rem 1rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.mode-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.mode-btn.active {
    background: linear-gradient(45deg, var(--primary-pink), var(--primary-blue));
    border-color: transparent;
    color: white;
}

.mode-description {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 600;
}

.mode-detail {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Quantity Selector */
.quantity-selector {
    margin: 1.5rem 0;
}

.quantity-selector label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.qty-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.qty-btn {
    flex: 1;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.qty-btn.active {
    background: var(--primary-blue);
    border-color: transparent;
}

.total-display {
    text-align: center;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    font-size: 1.1rem;
}

.total-cost {
    color: var(--primary-pink);
    font-weight: 600;
}

.total-win {
    color: var(--gold);
    font-weight: 600;
}

/* Buy Button */
.btn-buy-tickets {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(45deg, var(--primary-pink), var(--primary-blue));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-buy-tickets:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.5);
}

/* Ticket Stats */
.ticket-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Winners */
.winners-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

.winners-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.winner-item {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 20, 147, 0.1));
    border-left: 3px solid var(--gold);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.winner-rank {
    font-size: 2rem;
}

.winner-details {
    flex: 1;
}

.winner-address {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.winner-win {
    font-size: 0.9rem;
    opacity: 0.8;
}

.winner-payout {
    text-align: right;
}

.winner-amount {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.winner-multiplier {
    font-size: 0.9rem;
    color: var(--neon-green);
}

/* Modals */
.modal-content {
    background: linear-gradient(135deg, #1a1a1a, #2d1b69);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
}

.ticket-summary h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.ticket-mode {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.purchase-details {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.detail-row.highlight {
    font-weight: 600;
    color: var(--gold);
}

/* Success Modal */
.success-content {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 20, 147, 0.2));
    border: 2px solid var(--gold);
}

.confetti-animation {
    font-size: 4rem;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.success-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--gold);
    margin: 1rem 0;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.btn-social {
    background: #1DA1F2;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
}

.luck-message {
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* Quick Quantity Selector */
.quick-quantity {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

.quick-quantity button {
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.quick-quantity button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
}

.quick-quantity .qty-input {
    width: 60px;
    padding: 0.6rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    text-align: center;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

.quick-quantity .qty-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(0, 0, 0, 0.5);
}

/* Tier Cards Layout */
.tier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tier-section {
    margin-bottom: 3rem;
}

.tier-title {
    text-align: center;
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--gold), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

    .main-content {
        padding: 1rem;
    }

    .qty-buttons {
        flex-wrap: wrap;
    }

    .nav-pills {
        flex-wrap: wrap;
        width: 100%;
    }

    .nav-pills .nav-link {
        flex: 1;
        text-align: center;
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
}