body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    margin: 0;
    overflow-x: hidden;
    background: radial-gradient(circle at top, #1f2933 0, #000 55%);
    color: #f9fafb;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-content { text-align: center; }

.loader-logo {
    width: 110px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 16px rgba(255,215,0,0.6));
}

.loader-ring {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid rgba(250, 204, 21, 0.25);
    border-top-color: #facc15;
    margin: 0 auto 10px;
    animation: spin 1s linear infinite;
}

.loader-text {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #facc15;
}

/* Particles canvas */
#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Main content */
.main-content {
    position: relative;
    z-index: 1;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Logo sizes updated */
.logo-img {
    width: 200px;
    filter: drop-shadow(0 0 18px rgba(255,215,0,0.65));
    opacity: 0;
}

@media (min-width: 768px) { .logo-img { width: 150px; } }
@media (min-width: 1200px) { .logo-img { width: 130px; } }
@media (min-width: 1600px) { .logo-img { width: 110px; } }

/* Glass card */
.glass-card {
    max-width: 460px;
    backdrop-filter: blur(16px);
    background: rgba(15,23,42,0.85);
    border-radius: 1.5rem;
    border: 1px solid rgba(250,204,21,0.25);
    box-shadow: 0 18px 50px rgba(0,0,0,0.7);
    margin-top: 24px;
    transform: translateY(40px);
    opacity: 0;
}

@media (max-width: 480px) {
    .glass-card { max-width: 90%; padding: 20px; }
    .logo-img { width: 150px; }
    .title-text { font-size: 1.6rem; }
}

/* Text colors */
.text-gold { color: #f1d27a; }
.link-gold { color: #f5e3a1; text-decoration: none; }

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, #d9a441, #f7d78b);
    color: #000;
    border: none;
    font-weight: 600;
}
.btn-gold:hover { opacity: 0.92; }

.btn-outline-gold {
    border: 1px solid #f1d27a;
    color: #f1d27a;
}
.btn-outline-gold:hover {
    background: rgba(250, 204, 21, 0.1);
    color: #ffe9a6;
}

.glow-btn { box-shadow: 0 0 18px rgba(255,215,0,0.55); }

/* Title */
.title-text {
    font-size: 2rem;
    font-weight: 700;
    color: #f1d27a;
    opacity: 0;
}

/* Footer */
.footer-text {
    color: #7c6a33;
    font-size: 0.85rem;
}

/* Version badge text */
.version-text {
    color: #6b5405 !important;
    font-weight: 700;
    opacity: 1 !important;
}

/* Centered details */
.details-list li { margin-bottom: 4px; }

/* Preloader hide */
body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

/* Loader animation */
@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------------------------------------------
   PREMIUM GOLD RATING SYSTEM
---------------------------------------------------- */
.rating-box {
    text-align: center;
    margin-top: 10px;
}

/* Base star styling */
.stars span {
    font-size: 32px;
    cursor: pointer;
    color: #3c3c3c;
    margin: 0 4px;
    transition: transform 0.25s ease, color 0.25s ease, text-shadow 0.25s ease;
}

/* Hover effect */
.stars span:hover {
    color: #f1d27a;
    transform: scale(1.3);
    text-shadow: 0 0 12px rgba(241,210,122,0.8);
}

/* Gold active effect */
.stars span.active {
    color: #ffd778;
    transform: scale(1.4);
    text-shadow: 
        0 0 18px rgba(255,215,120,1),
        0 0 25px rgba(255,180,50,0.8);

    animation: starPop 0.4s ease forwards, goldPulse 1.2s ease infinite alternate;
}

/* Pop animation */
@keyframes starPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.55); }
    100% { transform: scale(1.4); }
}

/* Gold glowing pulse */
@keyframes goldPulse {
    0% { text-shadow: 0 0 10px rgba(255,215,120,0.7); }
    50% { text-shadow: 0 0 22px rgba(255,215,120,1); }
    100% { text-shadow: 0 0 10px rgba(255,215,120,0.7); }
}

/* ----------------------------------------------------
   SUCCESS ANIMATION (GREEN TICK)
---------------------------------------------------- */
.rating-success {
    display: none;
    text-align: center;
    margin-top: 10px;
    animation: fadeInOut 1.2s ease;
}

.rating-success span {
    font-size: 32px;
    color: #00ff8c;
    text-shadow: 0 0 12px rgba(0,255,140,0.7);
    animation: successPop 0.5s ease forwards;
}

/* Success pop */
@keyframes successPop {
    0% { transform: scale(0.3); opacity: 0; }
    40% { transform: scale(1.4); opacity: 1; }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* Success fade */
@keyframes fadeInOut {
    0% { opacity: 0; }
    15% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}
/* Review Box */
.review-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(250,204,21,0.25);
    color: #f1d27a;
    padding: 10px;
    border-radius: 10px;
}

.review-input::placeholder {
    color: #9a8b4d;
}

.review-box button {
    font-weight: 600;
    border-radius: 12px;
}
/* Latest Reviews Styling */
.latest-reviews h6 {
    font-weight: bold;
    margin-bottom: 10px;
}

.review-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(250, 204, 21, 0.18);
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.review-meta {
    color: #d1b971;
    font-size: 0.75rem;
}

.review-text {
    color: #f9f9f9;
    font-size: 0.9rem;
}
