/* ============================================================
   Enve by Nithya - Luxury Onam Spin & Win Design System
   Brand Color: #EEB93C | Luxury + Minimal + Modern Onam
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --gold: #EEB93C;
    --gold-light: #f7d57e;
    --gold-dark: #b8861b;
    --gold-gradient: linear-gradient(135deg, #f7d57e 0%, #EEB93C 50%, #c9921e 100%);
    --gold-border: rgba(238, 185, 60, 0.28);
    --gold-glow: 0 0 35px rgba(238, 185, 60, 0.18);
    
    --black: #0b0b0b;
    --dark: #121212;
    --dark-surface: #171717;
    --dark-elevated: #1e1e1e;
    --dark-border: #2a2a2a;
    
    --cream: #f8f3e8;
    --cream-muted: #b8b3a8;
    --white: #ffffff;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--black);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(238, 185, 60, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(238, 185, 60, 0.03) 0%, transparent 40%);
}

a {
    color: inherit;
    text-decoration: none;
}

button, input {
    font-family: inherit;
}

/* Container */
.enve-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.enve-brand {
    display: inline-block;
    transition: var(--transition);
}

.enve-logo {
    height: 48px;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(1.05);
}

.enve-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(238, 185, 60, 0.08);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-full);
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.enve-badge::before,
.enve-badge::after {
    content: "✦";
    font-size: 8px;
}

/* Hero Typography */
.enve-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 8px;
}

.enve-title .gold-text {
    color: var(--gold);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.enve-subtitle {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 400;
    color: var(--gold-light);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.enve-description {
    color: var(--cream-muted);
    font-size: 13.5px;
    max-width: 480px;
    margin: 0 auto;
}

/* Split Hero Layout (index.php) */
.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    padding: 24px 0 36px;
}

/* ============================================================
   LIVE WINNERS FEED CARD (Left Column of index.php)
   ============================================================ */
.winners-feed-card {
    background: var(--dark-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--gold-glow);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 520px;
    max-height: 670px !important;
}

.winners-feed-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-gradient);
}

.winners-feed-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.35);
    color: #2ecc71;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 8px #2ecc71;
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.6; }
}

.winners-feed-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

.winners-feed-subtitle {
    font-size: 12px;
    color: var(--cream-muted);
    margin-top: 2px;
}

/* Vertical Scrolling Ticker Container */
.winners-ticker-wrap {
    position: relative;
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.winners-ticker-track {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: scrollWinnersUp 32s linear infinite;
}

.winners-ticker-wrap:hover .winners-ticker-track {
    animation-play-state: paused;
}

@keyframes scrollWinnersUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.feed-winner-item {
    background: #151412;
    border: 1px solid rgba(238, 185, 60, 0.16);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: var(--transition);
}

.feed-winner-item:hover {
    border-color: var(--gold-border);
    background: #1c1a15;
    transform: translateX(4px);
}

.feed-winner-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.feed-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(circle, #2a251b 0%, #171510 100%);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-heading);
    shrink-0: 0;
}

.feed-details {
    min-width: 0;
}

.feed-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #888888;
    margin-top: 1px;
}

.feed-city {
    color: var(--cream-muted);
}

.feed-time {
    color: #666666;
    font-size: 10px;
}

.feed-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    font-family: var(--font-heading);
}

.feed-badge-50 {
    background: linear-gradient(135deg, #f7d57e 0%, #EEB93C 50%, #c9921e 100%);
    color: #0b0b0b;
    box-shadow: 0 0 12px rgba(238, 185, 60, 0.4);
}

.feed-badge-40, .feed-badge-30 {
    background: rgba(238, 185, 60, 0.2);
    border: 1px solid var(--gold);
    color: #f7d57e;
}

.feed-badge-20, .feed-badge-fs {
    background: rgba(238, 185, 60, 0.12);
    border: 1px solid rgba(238, 185, 60, 0.35);
    color: var(--gold);
}

.feed-badge-10, .feed-badge-5 {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #dddddd;
}

.winners-feed-footer {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #777777;
}
    font-size: 18px;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.model-sub {
    font-size: 12px;
    color: rgba(248, 243, 232, 0.75);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Premium Form Card */
.enve-card {
    background: var(--dark-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.enve-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-gradient);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cream-muted);
    margin-bottom: 8px;
}

.form-control-wrap {
    position: relative;
}

.form-input {
    width: 100%;
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 14px;
    padding: 13px 16px;
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(238, 185, 60, 0.15);
    background: #161616;
}

.form-input::placeholder {
    color: #555555;
}

.form-error-msg {
    color: #ff6b6b;
    font-size: 11.5px;
    margin-top: 5px;
    display: none;
}

.form-group.has-error .form-input {
    border-color: #ff6b6b;
}

.form-group.has-error .form-error-msg {
    display: block;
}

/* Alerts */
.enve-alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.enve-alert-error {
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff9b9b;
}

.enve-alert-info {
    background: rgba(238, 185, 60, 0.1);
    border: 1px solid var(--gold-border);
    color: var(--gold-light);
}

/* Buttons */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 28px;
    background: var(--gold-gradient);
    color: #0b0b0b;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(238, 185, 60, 0.25);
}

.btn-gold:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(238, 185, 60, 0.38);
    filter: brightness(1.08);
}

.btn-gold:active:not(:disabled) {
    transform: translateY(0);
}

.btn-gold:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: rgba(238, 185, 60, 0.12);
    color: var(--gold-light);
}

/* Privacy note */
.form-footer-note {
    font-size: 11.5px;
    color: #666666;
    margin-top: 16px;
    text-align: center;
}

/* Recent Winners Section */
.winners-section {
    padding: 48px 0 64px;
    border-top: 1px solid var(--dark-border);
    margin-top: 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 28px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--cream);
    text-transform: uppercase;
}

.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.winner-card {
    background: var(--dark-surface);
    border: 1px solid rgba(238, 185, 60, 0.15);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.winner-card:hover {
    border-color: var(--gold-border);
    transform: translateY(-2px);
    background: #1c1c1c;
}

.winner-info {
    text-align: left;
}

.winner-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}

.winner-loc {
    font-size: 11.5px;
    color: #777777;
    display: flex;
    align-items: center;
    gap: 4px;
}

.winner-prize-badge {
    background: rgba(238, 185, 60, 0.12);
    border: 1px solid rgba(238, 185, 60, 0.3);
    color: var(--gold);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* ============================================================
   SPIN.PHP — LUXURY WHEEL INTERFACE (FLUID & MOBILE OPTIMIZED)
   ============================================================ */

.spin-page-wrapper {
    padding: 12px 0 48px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* User Greetings Badge on Spin Page */
.user-spin-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #161512;
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--cream-muted);
    margin-bottom: 12px;
    max-width: 90%;
}

.user-spin-badge strong {
    color: var(--gold);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wheel-stage {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 20px auto 16px;
    padding: 10px 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* Decorative Onam Pookalam Ring behind Wheel */
.wheel-decorative-bg {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238, 185, 60, 0.08) 0%, rgba(238, 185, 60, 0.02) 65%, transparent 70%);
    border: 1px dashed rgba(238, 185, 60, 0.22);
    pointer-events: none;
    animation: pookalamRotate 120s linear infinite;
}

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

/* Outer Rim (Fluidly scales with screen width, never overflowing) */
.wheel-outer-rim {
    position: relative;
    width: clamp(260px, 86vw, 420px);
    height: clamp(260px, 86vw, 420px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    padding: clamp(8px, 2.5vw, 13px);
    background: radial-gradient(circle at 30% 30%, #f7d57e 0%, #b8861b 45%, #6e4e0b 80%, #EEB93C 100%);
    box-shadow: 
        0 0 45px rgba(238, 185, 60, 0.22),
        0 15px 40px rgba(0, 0, 0, 0.85),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -3px 6px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
}

/* Golden Studs / Floral Accent Dots on Rim */
.wheel-studs {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

.stud {
    position: absolute;
    width: clamp(4px, 1.2vw, 6px);
    height: clamp(4px, 1.2vw, 6px);
    background: #fff6d9;
    border-radius: 50%;
    box-shadow: 0 0 6px #EEB93C, 0 0 2px #fff;
    transform: translate(-50%, -50%);
}

/* The Rotating Canvas / Wheel Container */
.wheel-disc-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: #111111;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
}

#spinCanvas {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

/* Pointer at Top */
.wheel-pointer-container {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.85));
    pointer-events: none;
}

.wheel-pointer {
    width: 32px;
    height: 42px;
    position: relative;
}

.pointer-triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid #f7d57e;
    position: absolute;
    top: 6px;
    left: 1px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.pointer-triangle::after {
    content: '';
    position: absolute;
    top: -28px;
    left: -11px;
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 23px solid #EEB93C;
}

.pointer-cap {
    width: 18px;
    height: 18px;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #EEB93C 55%, #8c6412 100%);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 7px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Center SPIN Button (Scales seamlessly) */
.wheel-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(66px, 21vw, 92px);
    height: clamp(66px, 21vw, 92px);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #2a2a2a 0%, #111111 75%, #080808 100%);
    border: clamp(3px, 0.8vw, 4px) solid #EEB93C;
    box-shadow: 
        0 0 25px rgba(238, 185, 60, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.8),
        inset 0 0 10px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
    color: var(--gold);
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 700;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.wheel-center-btn:hover:not(:disabled) {
    transform: translate(-50%, -50%) scale(1.05);
    border-color: #f7d57e;
    box-shadow: 0 0 35px rgba(238, 185, 60, 0.6);
}

.wheel-center-btn:active:not(:disabled) {
    transform: translate(-50%, -50%) scale(0.95);
}

.wheel-center-btn:disabled {
    cursor: not-allowed;
    filter: grayscale(0.5);
    opacity: 0.7;
}

.center-btn-text {
    font-size: clamp(11.5px, 3.4vw, 15px);
    letter-spacing: 1.5px;
    color: #fff6d9;
    text-shadow: 0 0 8px rgba(238, 185, 60, 0.6);
    line-height: 1;
}

.center-btn-sub {
    font-size: clamp(6.5px, 1.8vw, 8px);
    letter-spacing: 1px;
    color: var(--gold);
    margin-top: 2px;
    line-height: 1;
    opacity: 0.85;
}

/* ============================================================
   PRIZE CONGRATULATIONS POPUP (MODAL)
   ============================================================ */

.enve-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.enve-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.enve-modal-card {
    background: var(--dark-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 44px 36px 36px;
    width: 100%;
    max-width: 480px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--gold-glow);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.enve-modal-overlay.active .enve-modal-card {
    transform: scale(1) translateY(0);
}

.enve-modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
}

.modal-sparkle-tag {
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.modal-you-won {
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--cream-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.modal-prize-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--gold);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.modal-coupon-box {
    background: #0d0d0d;
    border: 1px dashed var(--gold);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    margin-bottom: 24px;
}

.coupon-label {
    font-size: 10.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 6px;
}

.coupon-code-val {
    font-family: 'Courier New', Courier, monospace;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #ffffff;
    user-select: all;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-note {
    font-size: 11.5px;
    color: #777777;
    margin-top: 18px;
}

/* Toast Notification */
.enve-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark-elevated);
    border: 1px solid var(--gold);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(238, 185, 60, 0.2);
    z-index: 2000;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
}

.enve-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ============================================================
   ADMIN VIEW (view.php)
   ============================================================ */

.admin-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.admin-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--dark-border);
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.admin-stat-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
}

.admin-stat-val {
    font-size: 26px;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-heading);
}

.admin-stat-lbl {
    font-size: 12px;
    color: var(--cream-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-table-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.admin-table-controls {
    padding: 18px 20px;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.admin-search-input {
    background: var(--dark);
    border: 1px solid var(--dark-border);
    color: #ffffff;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    min-width: 260px;
}

.admin-table-responsive {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
}

.admin-table th {
    background: #111111;
    color: var(--cream-muted);
    padding: 14px 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--dark-border);
}

.admin-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #dddddd;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.admin-login-box {
    max-width: 400px;
    margin: 80px auto;
    background: var(--dark-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
}

/* ============================================================
   RESPONSIVE QUERIES
   ============================================================ */

@media (max-width: 900px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 10px;
    }
    
    .winners-feed-card {
        order: 2;
        min-height: 400px;
        max-height: 480px;
        padding: 20px 16px;
    }
    
    .enve-card {
        order: 1;
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .enve-container {
        padding: 0 12px;
    }

    .enve-header {
        padding: 16px 0 12px;
    }

    .enve-logo {
        height: 38px;
        max-width: 170px;
    }

    .enve-title {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .enve-subtitle {
        font-size: 13px;
    }

    .enve-card {
        padding: 22px 14px;
        border-radius: var(--radius-md);
    }

    .form-input {
        padding: 11px 14px;
        font-size: 13px;
    }

    .btn-gold {
        padding: 12px 20px;
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .wheel-stage {
        margin: 16px auto 14px;
        padding: 6px 0;
    }

    .enve-modal-card {
        padding: 26px 16px 20px;
        border-radius: var(--radius-md);
        margin: 0 8px;
    }

    .modal-prize-title {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .modal-coupon-box {
        padding: 14px 12px;
        margin-bottom: 18px;
    }

    .coupon-code-val {
        font-size: 20px;
        letter-spacing: 3px;
    }
}
