/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
    --bg-dark: #0f1118;
    /* Deep dark blue/gray */
    --bg-card: #1a1e29;
    --accent: #00d632;
    /* Betting Green */
    --accent-hover: #00ff3b;
    --text-main: #e0e6ed;
    --text-muted: #94a3b8;
    --border: #2d3748;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

/* Header */
header {
    background: var(--bg-card);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

nav {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    margin-right: 1.5rem;
}

nav a:hover {
    color: var(--accent);
}

/* Main Layout */
main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 3rem;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.brand-hero {
    background: linear-gradient(180deg, var(--bg-card) 0%, #151923 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.brand-logo {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-logo:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 214, 50, 0.2);
    /* Green ambient glow on hover */
}

.rating {
    background: #fbbf24;
    color: #000;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.9rem;
}

.bonus {
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 700;
    margin: 0;
}

.btn-play {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s;
    box-shadow: 0 0 15px rgba(0, 214, 50, 0.4);
}

.btn-play:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 214, 50, 0.6);
}

/* Content */
.content-body h2 {
    color: var(--accent);
    margin-top: 2rem;
}

.content-body p,
.content-body li {
    color: var(--text-muted);
}

/* Table */
.brand-details {
    margin-top: 3rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

th {
    color: var(--text-main);
}

td {
    color: var(--text-muted);
}

tr:last-child th,
tr:last-child td {
    border-bottom: none;
}

/* FAQ */
.faq {
    margin-top: 3rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
}

.faq-item h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.faq-item div {
    color: var(--text-muted);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(145deg, var(--bg-card), #2a3040);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
    border: 1px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0, 214, 50, 0.15);
}

.cta-box h3 {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-large {
    padding: 1.2rem 4rem;
    font-size: 1.3rem;
    width: 100%;
    max-width: 400px;
}

/* --- Hardcore Conversion Extras --- */

/* Social Proof Toast */
.social-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(26, 30, 41, 0.95);
    border-left: 4px solid var(--accent);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 999;
    transform: translateX(-150%);
    transition: transform 0.5s ease-out;
    max-width: 300px;
}

.social-toast.visible {
    transform: translateX(0);
}

.toast-avatar {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.toast-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-main);
}

.toast-content small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Modal Base */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #1a1e29;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    max-width: 90%;
    width: 400px;
    border: 1px solid var(--accent);
    box-shadow: 0 0 30px rgba(0, 214, 50, 0.3);
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

/* Exit Intent Specific */
.exit-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.exit-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Spin Wheel */
.wheel-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem auto;
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid #fff;
    background: conic-gradient(#ef4444 0deg 60deg,
            #f59e0b 60deg 120deg,
            #10b981 120deg 180deg,
            #3b82f6 180deg 240deg,
            #8b5cf6 240deg 300deg,
            #ec4899 300deg 360deg);
    transition: transform 4s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid #fff;
    z-index: 10;
}

.spin-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* --- High Conversion Elements --- */

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 214, 50, 0.7);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 214, 50, 0);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 214, 50, 0);
        transform: scale(1);
    }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Urgency Bar */
.urgency-bar {
    background: #ef4444;
    /* Red urgent */
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 700;
    display: inline-block;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.timer-text {
    display: block;
    color: #ef4444;
    font-weight: bold;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Brand Hero Elements */
.brand-top {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
    margin-bottom: 1rem;
}

.brand-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

/* App Buttons */
.app-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.app-btn {
    background: #334155;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid var(--border);
    transition: background 0.2s;
}

.app-btn:hover {
    background: #475569;
}

/* Promo Code Box */
.promo-container {
    text-align: center;
}

.promo-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.promo-code {
    background: #334155;
    border: 2px dashed var(--accent);
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-family: monospace;
    font-size: 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    user-select: all;
    transition: background 0.2s;
}

.promo-code:hover {
    background: rgba(0, 214, 50, 0.1);
}

.copy-icon {
    font-size: 1rem;
    margin-left: 0.5rem;
}

.copy-msg {
    display: block;
    color: var(--accent);
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s;
    height: 1.2rem;
}

/* Sticky Footer */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 17, 24, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--accent);
    padding: 1rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    /* Hidden by default on desktop if preferred, or generic */
}

/* Show Sticky only on mobile/tablet */
@media (max-width: 768px) {
    .sticky-footer {
        display: block;
    }

    /* Adjust page bottom padding so footer doesn't cover content */
    body {
        padding-bottom: 90px;
    }
}

.sticky-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.sticky-text {
    display: flex;
    flex-direction: column;
}

.sticky-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sticky-text strong {
    color: #fff;
    font-size: 1rem;
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
}