:root {
    --lsp-primary: #ff4757;
    --lsp-secondary: #2f3542;
    --lsp-accent: #ffa502;
    --lsp-text: #ffffff;
    --lsp-bg: #1e1e2f;
    --lsp-glass: rgba(255, 255, 255, 0.1);
}

.lsp-container {
    font-family: 'Outfit', sans-serif;
    color: var(--lsp-text);
    background: var(--lsp-bg);
    min-height: 100vh;
    padding: 40px 20px;
    text-align: center;
    overflow-x: hidden;
}

.lsp-hero {
    margin-bottom: 60px;
    animation: fadeIn 1s ease-out;
}

.lsp-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff4757, #ffa502);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lsp-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

/* Mini Referral in Hero */
.lsp-mini-referral {
    margin-top: 30px;
    background: var(--lsp-glass);
    padding: 15px;
    border-radius: 15px;
    display: inline-block;
}

.lsp-share-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.lsp-share-row input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px;
    border-radius: 8px;
    width: 250px;
}

/* Social Share */
.lsp-social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.lsp-share-icon {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transition: opacity 0.3s;
}

.lsp-share-icon.fb { background: #1877f2; }
.lsp-share-icon.wa { background: #25d366; }
.lsp-share-icon.zalo { background: #0068ff; }

.lsp-share-icon:hover { opacity: 0.8; color: #fff; }

/* Existing Styles */
.lsp-btn-primary {
    background: var(--lsp-primary);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3);
}

.lsp-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 71, 87, 0.4);
}

.lsp-spin-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lsp-wheel-container {
    position: relative;
    width: 500px;
    height: 500px;
    max-width: 90vw;
    max-height: 90vw;
}

#lsp-wheel-canvas {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

.lsp-wheel-pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #ffffff;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    z-index: 10;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.3));
}

.lsp-spin-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    color: #1e1e2f;
    border: 5px solid var(--lsp-primary);
    font-weight: 900;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}

.lsp-result-card {
    background: var(--lsp-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 40px;
    border-radius: 24px;
    margin-top: 40px;
    width: 100%;
    max-width: 600px;
    animation: slideUp 0.5s ease-out;
}

.lsp-coupon-box {
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 12px;
    border: 2px dashed var(--lsp-accent);
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#lsp-coupon-code {
    font-family: monospace;
    font-size: 1.5rem;
    color: var(--lsp-accent);
    letter-spacing: 2px;
}

.lsp-copy-btn {
    background: var(--lsp-accent);
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    color: #000;
    font-weight: 700;
    cursor: pointer;
}

.lsp-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lsp-popup-content {
    background: var(--lsp-bg);
    padding: 40px;
    border-radius: 24px;
    max-width: 400px;
    position: relative;
    border: 1px solid var(--lsp-primary);
}

.lsp-close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

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

@media (max-width: 600px) {
    .lsp-title { font-size: 2.2rem; }
    .lsp-wheel-container { width: 300px; height: 300px; }
    .lsp-share-row { flex-direction: column; }
    .lsp-share-row input { width: 100%; }
}
