@import url('https://googleapis.com');

body {
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif; /* Modern, sleek sci-fi font for readability */
    text-align: center;
    padding: 80px 20px;
    margin: 0;
    min-height: 100vh;
    
    /* Dark premium canvas grid pattern */
    background-color: #040814;
    background-image: 
        linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Chrome Title Styling */
.chrome-title {
    font-size: 70px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 10px 0;
    line-height: 1;
    display: inline-block;
    
    /* Metallic Reflection Gradient */
    background: linear-gradient(
        to bottom, 
        #ffffff 0%, 
        #ffffff 25%,
        #82b9ff 44%, 
        #154d9e 48%, 
        #062252 52%,
        #2783fd 58%, 
        #57a7ff 80%,
        #020b1c 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(21, 77, 158, 0.6));
}

/* Special treatment to make the "4" pop out exactly like your sample image */
.logo-number {
    font-family: 'Press Start 2P', sans-serif; /* Keep the '4' uniquely pixelated/gaming style */
    font-size: 75px;
    margin-right: 5px;
    background: linear-gradient(
        to bottom, 
        #ffffff 0%, 
        #9bc9ff 35%, 
        #0d4aa3 48%, 
        #041a3c 52%,
        #348bff 58%, 
        #7cb7ff 85%,
        #020b1c 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 110, 255, 0.9));
}

.subtitle {
    font-size: 18px;
    color: #8fa0c2;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.join-title {
    font-size: 28px;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.server-ips p {
    font-size: 18px;
    color: #b0c4de;
    margin: 5px 0;
}

.server-ips span {
    color: #4da1ff;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(77, 161, 255, 0.4);
}

.button-container {
    margin-top: 50px;
}

/* Modern Sleek Laser-Glow Buttons */
a {
    display: inline-block;
    margin: 12px;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a6caff;
    
    /* Futuristic semi-transparent dark metallic glass look */
    background: rgba(10, 25, 51, 0.75);
    border: 1px solid #1a498c;
    border-radius: 4px;
    box-shadow: inset 0 0 10px rgba(0, 81, 255, 0.1);
    
    /* Ultra-smooth responsive transitions */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Futuristic Hover Glow Power-up */
a:hover {
    color: #ffffff;
    background: rgba(20, 50, 102, 0.9);
    border-color: #529aff;
    box-shadow: 
        0 0 20px rgba(52, 139, 253, 0.6),
        inset 0 0 8px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    cursor: pointer;
}

/* Fast click press down action */
a:active {
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgba(52, 139, 253, 0.4);
}

/* --- STORE SECTION STYLING --- */
.store-section {
    margin-top: 80px;
    padding: 20px;
}

.store-title {
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(39, 131, 253, 0.4);
}

.store-subtitle {
    font-size: 16px;
    color: #8fa0c2;
    margin-bottom: 40px;
}
.ranks-container {
    display: flex;
    justify-content: center; /* Keeps cards centered horizontally */
    align-items: flex-start; /* FIX: Stops cards from stretching vertically! */
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}


.rank-card {
    background: rgba(8, 20, 41, 0.75);
    border: 1px solid #1a498c;
    border-radius: 6px;
    width: 310px;
    height: 620px; /* Locked unified height */
    padding: 30px 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

/* Card layout adjustments for responsiveness */
.rank-card:hover {
    transform: translateY(-8px);
    border-color: #529aff;
    box-shadow: 0 15px 40px rgba(52, 139, 253, 0.3);
    background: rgba(14, 34, 69, 0.85);
}

.rank-card.featured {
    border: 2px solid #2783fd;
    box-shadow: 0 0 25px rgba(39, 131, 253, 0.25);
    background: rgba(10, 28, 59, 0.85);
    transform: scale(1.02);
}
.rank-card.featured:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 15px 45px rgba(39, 131, 253, 0.5);
}

.rank-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2783fd;
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    box-shadow: 0 0 10px #2783fd;
}

.rank-header {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Exact text-color matching for your chat ranks */
.vip-rank { color: #ffff55; text-shadow: 0 0 10px rgba(255,255,85,0.4); } /* Yellow */
.vip-plus-rank { color: #ffaa00; text-shadow: 0 0 10px rgba(255,170,0,0.4); } /* Gold */
.vip-double-plus-rank { color: #ff55ff; text-shadow: 0 0 10px rgba(255,85,255,0.4); } /* Pink */

.rank-price {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
}
.rank-price .duration {
    font-size: 12px;
    color: #8fa0c2;
    font-weight: 400;
}

/* Scrollable window wrapper for long list descriptions */
.perks-wrapper {
    flex-grow: 1;
    text-align: left;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 8px;
}

/* Clean styling for custom scrollbar */
.perks-wrapper::-webkit-scrollbar {
    width: 4px;
}
.perks-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
.perks-wrapper::-webkit-scrollbar-thumb {
    background: #1a498c;
    border-radius: 2px;
}

.perk-category {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #4da1ff;
    margin: 15px 0 6px 0;
    letter-spacing: 1px;
}

.rank-perks {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.6;
}
.rank-perks li {
    margin-bottom: 6px;
    padding-left: 4px;
}

.rank-card .buy-btn {
    display: block;
    margin: 0;
    padding: 14px;
    font-size: 14px;
    color: #ffffff;
    background: #154d9e;
    border: 1px solid #2783fd;
    border-radius: 4px;
    box-shadow: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}
.rank-card .buy-btn:hover {
    background: #2783fd;
    border-color: #82b9ff;
    box-shadow: 0 0 15px rgba(39, 131, 253, 0.6);
    transform: translateY(-2px);
}

/* --- HOVER-TO-SPIN CUSTOM LOGO STYLING --- */
.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Perfect spacing between the graphic 4 and the text */
    margin-bottom: 20px;
}

/* Custom styling for your uploaded '4' image */
.smp-logo-img {
    height: 90px; /* Bumped up slightly from 50px for better visibility */
    width: auto;
    display: inline-block;
    
    /* Prepares smooth deceleration for the spin animation */
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}



/* Make the image spin when someone hovers anywhere on the title banner */
.logo-wrapper:hover .smp-logo-img {
    transform: rotate(360deg);
}
/* --- LIVE STATUS BANNER STYLING --- */
.status-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(10, 25, 51, 0.5);
    border: 1px solid rgba(64, 142, 230, 0.2);
    padding: 10px 24px;
    border-radius: 30px;
    margin: 20px auto;
    font-size: 15px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.status-text strong {
    color: #4da1ff; /* Bright blue highlight color for the numeric count value */
    text-shadow: 0 0 8px rgba(77, 161, 255, 0.5);
}

/* Small animated connection status pulse dots */
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* Green pulsing state when the server responds as online */
.status-dot.online {
    background-color: #55ff55;
    box-shadow: 0 0 10px #55ff55;
    animation: statusPulse 2s infinite ease-in-out;
}

/* Red state when server is unreachable */
.status-dot.offline {
    background-color: #ff5555;
    box-shadow: 0 0 8px #ff5555;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 14px #55ff55; }
    100% { transform: scale(0.95); opacity: 0.7; }
}


