/* === BASE RESET & BODY === */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #000;
    font-family: 'Be Vietnam Pro', sans-serif;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    color: #fff;
    position: relative;
}

/* === VIDEO BACKGROUND === */
.video-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

/* === MAIN CONTENT WRAPPER === */
.content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    padding: 20px 15px;
}

/* === LOGO === */
.logo-container {
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.logo {
    width: 450px;
    max-width: 95%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
}

/* === MARQUEE TEXT === */
.marquee-text {
    width: 100%;
    background: rgba(0,0,0,0.8);
    padding: 14px 0;
    border-top: 2px solid #ffdd44;
    border-bottom: 2px solid #ffdd44;
    margin-bottom: 30px;
    overflow: hidden;
    white-space: nowrap;
    color: #fff;
    font-size: clamp(14px, 4vw, 20px);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255,221,68,0.2);
}

.marquee-inner {
    display: inline-block;
    animation: scrollText 20s linear infinite;
    padding-left: 100%;
}

@keyframes scrollText {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* === CTA BUTTON === */
.btn-wrapper {
    margin-bottom: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.ref-btn {
    display: inline-block;
    background: linear-gradient(145deg, #0066cc, #004999);
    color: #fff;
    font-weight: 800;
    font-size: clamp(20px, 6vw, 30px);
    padding: clamp(14px, 3vw, 20px) clamp(30px, 8vw, 60px);
    border-radius: 80px;
    text-decoration: none;
    border: 4px solid rgba(255,255,255,0.8);
    box-shadow: 0 10px 30px rgba(0,102,204,0.7), inset 0 2px 5px rgba(255,255,255,0.5);
    transition: 0.3s;
    letter-spacing: 3px;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.ref-btn:hover {
    background: linear-gradient(145deg, #0052b3, #003d80);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,102,204,0.9), inset 0 2px 5px rgba(255,255,255,0.6);
    border-color: #fff;
}

/* === FLAG SECTION === */
.flag-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.flag-row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 130px;
    margin-bottom: 15px;
    cursor: pointer;
}

.flag {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0 30px rgba(255,221,68,0.6);
    animation: spinLeft 10s linear infinite;
    pointer-events: none;
}

.flag-item:active { opacity: 0.8; }

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

.country-name {
    margin-top: 10px;
    font-size: clamp(16px, 5vw, 22px);
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px #000;
    text-align: center;
    pointer-events: none;
}

.greeting {
    font-size: clamp(14px, 4.5vw, 18px);
    font-weight: 600;
    color: #ffdd44;
    text-shadow: 1px 1px 2px #000;
    margin-bottom: 2px;
    pointer-events: none;
}

/* === SEO CONTENT === */
.seo-content {
    width: 100%;
    max-width: 1200px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,221,68,0.3);
    padding: 40px 30px;
    border-radius: 40px;
    text-align: left;
    margin-top: 50px;
    color: #fff;
    box-shadow: 0 0 30px rgba(0,102,204,0.2);
}

.seo-content h1 {
    font-size: 24px;
    color: #ffdd44;
    margin-bottom: 20px;
    border-left: 6px solid #0066cc;
    padding-left: 18px;
}

.seo-content p {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 18px;
    color: #f0f0f0;
}

.seo-content b {
    color: #ffdd44;
    font-weight: 800;
}

.security-badge {
    background: rgba(0,102,204,0.3);
    border: 1px solid #ffdd44;
    padding: 15px;
    border-radius: 16px;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
    backdrop-filter: blur(5px);
}

/* === JACKPOT TICKER === */
.jackpot-section {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 15px 20px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
}

.jackpot-title {
    font-size: 16px;
    font-weight: 500;
    color: #aaa;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.ticker-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
    font-size: 14px;
    color: #ddd;
}

.ticker-item:last-child { border-bottom: none; }
.ticker-time { color: #888; min-width: 45px; font-size: 13px; }
.ticker-game { color: #fff; min-width: 100px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker-user { color: #aaa; flex: 1; font-family: monospace; font-size: 13px; }
.ticker-amount { color: #4a9eff; font-weight: 600; font-size: 13px; }

/* === REVIEW SECTION === */
.review-section {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 40px;
    padding: 40px 30px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,221,68,0.3);
    border-radius: 40px;
    box-shadow: 0 0 30px rgba(0,102,204,0.2);
}

.review-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffdd44;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.review-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,221,68,0.3);
}

.rating-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
}

.stars input { display: none; }

.stars label {
    font-size: 35px;
    color: #666;
    cursor: pointer;
    transition: 0.1s;
}

.stars label:hover,
.stars label:hover ~ label,
.stars input:checked ~ label {
    color: #ffdd44;
    text-shadow: 0 0 20px #ffdd44;
}

.review-input {
    width: 100%;
    max-width: 600px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.review-input textarea {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,221,68,0.5);
    border-radius: 30px;
    color: #fff;
    font-size: 16px;
    font-family: 'Be Vietnam Pro', sans-serif;
    resize: none;
    height: 60px;
    transition: 0.3s;
}

.review-input textarea:focus {
    outline: none;
    border-color: #ffdd44;
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 20px rgba(255,221,68,0.3);
}

.review-input textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.submit-btn {
    padding: 0 30px;
    background: linear-gradient(145deg, #ffdd44, #ffaa00);
    border: none;
    border-radius: 30px;
    color: #000;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid rgba(255,255,255,0.5);
    height: 60px;
    min-width: 120px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,221,68,0.5);
    background: linear-gradient(145deg, #ffd966, #ff9f00);
}

.reviews-header {
    font-size: 20px;
    font-weight: 700;
    color: #ffdd44;
    margin-bottom: 20px;
    text-align: center;
}

.reviews-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
    min-height: 280px;
}

.review-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,221,68,0.3);
    border-radius: 30px;
    padding: 25px 20px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.review-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffdd44;
    box-shadow: 0 0 30px rgba(255,221,68,0.2);
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, #444, #222);
    border: 2px solid #ffdd44;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 24px;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 700;
    color: #ffdd44;
    font-size: 16px;
}

.review-date {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    font-family: monospace;
}

.review-stars {
    color: #ffdd44;
    margin-bottom: 15px;
    font-size: 16px;
}

.review-stars i { margin-right: 3px; }

.review-text {
    color: #f0f0f0;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .logo { width: 350px; }
    .flag { width: 85px; height: 85px; }
    .flag-item { min-width: 110px; }
}

@media (max-width: 480px) {
    .logo { width: 280px; }
    .flag { width: 75px; height: 75px; }
    .flag-item { min-width: 100px; }
    .marquee-text { font-size: 13px; padding: 10px 0; }
    .ref-btn { white-space: normal; font-size: 22px; padding: 16px 30px; line-height: 1.3; word-break: keep-all; }
    .ticker-item { font-size: 12px; gap: 6px; }
    .ticker-time { min-width: 35px; }
    .ticker-game { min-width: 80px; }
}
