/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Scheme - Based on Logo */
    --primary-blue: #4A90E2;
    --primary-purple: #6B46C1;
    --dark-bg: #0a0e1a;
    --darker-bg: #050710;
    --card-bg: #151b2e;
    --gold: #D4AF37;
    --gold-light: #F4D03F;
    --text-primary: #E8EAED;
    --text-secondary: #B0B5C1;
    --accent-blue: #5BA3F5;
    --border-color: #2a3441;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4A90E2 0%, #6B46C1 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    --gradient-dark: linear-gradient(180deg, #151b2e 0%, #0a0e1a 100%);
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--darker-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== Header & Navigation ===== */
.main-header {
    background: var(--dark-bg);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.nav-menu .nav-cart-item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Desktop: cart is inside nav-menu; hide header-actions (mobile cart + hamburger) */
@media (min-width: 769px) {
    .header-actions {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* Mobile: hide cart from sliding nav menu; cart stays in header-actions */
    .nav-menu .nav-cart-item {
        display: none !important;
    }
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-brand img {
    height: 50px;
    width: auto;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-blue);
}

/* Header Cart Button */
.cart-btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    width: 44px;
    height: 44px;
}

.cart-btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
}

.cart-btn-header svg {
    width: 22px;
    height: 22px;
}

.cart-btn-header .cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--dark-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hamburger animation when menu is open */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero-section {
    background: var(--gradient-dark);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(75, 144, 226, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.server-ip-section {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.server-ip-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.server-ip-value {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 144, 226, 0.4);
}

.btn-gold {
    background: var(--gradient-gold);
    color: #000;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-copy {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-copy:hover {
    background: var(--border-color);
    border-color: var(--primary-blue);
}

.btn-copy.copied {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

/* ===== Section Styles ===== */
.section {
    padding: 4rem 0;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Game Modes Grid ===== */
.game-modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.game-mode-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.game-mode-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(75, 144, 226, 0.2);
}

.game-mode-card:hover::before {
    transform: scaleX(1);
}

.game-mode-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.game-mode-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.game-mode-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Store Page ===== */
.store-section {
    margin-bottom: 4rem;
}

.store-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

/* ===== Badge-Style Ranks ===== */
.ranks-badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.rank-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rank-badge-image {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    border: 4px solid;
    position: relative;
    background-size: cover;
    background-position: center;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.rank-badge.vip .rank-badge-image {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    border-color: #8B4513;
    color: var(--gold);
    text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

.rank-badge.vip-plus .rank-badge-image {
    background: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 100%);
    border-color: #C0C0C0;
    color: white;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

.rank-badge.mvp .rank-badge-image {
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    border-color: #D4AF37;
    color: #000;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.3);
}

.rank-badge.mvp-plus .rank-badge-image {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    border-color: #228B22;
    color: white;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

.rank-badge.god .rank-badge-image {
    background: linear-gradient(135deg, #00BFFF 0%, #87CEEB 100%);
    border-color: #00BFFF;
    color: white;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

.rank-badge.devil .rank-badge-image {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    border-color: #8B0000;
    color: white;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

.rank-badge.pro .rank-badge-image {
    background: linear-gradient(135deg, #FF6347 0%, #FF4500 100%);
    border-color: #FF6347;
    color: white;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

.rank-badge.custom .rank-badge-image {
    background: linear-gradient(135deg, #9370DB 0%, #BA55D3 100%);
    border-color: #9370DB;
    color: white;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

/* Detailed Rank Card */
.detailed-rank-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.detailed-rank-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.detailed-rank-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.detailed-rank-benefits {
    list-style: none;
    margin-bottom: 1.5rem;
}

.detailed-rank-benefits li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.detailed-rank-benefits li::before {
    content: '♦';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.detailed-rank-note {
    background: var(--dark-bg);
    border-left: 4px solid var(--gold);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    color: var(--text-secondary);
    font-style: italic;
}

.rank-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Ranks Banner Header - FreshSMP Style */
.ranks-banner-header {
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

/* Survival Section Banner - Orange/Red */
.survival .ranks-banner-header,
#survivalRanks .ranks-banner-header,
#survivalKeys .ranks-banner-header,
#survivalCoins .ranks-banner-header {
    background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

/* Lifesteal Section Banner - Pink */
.lifesteal .ranks-banner-header,
#lifestealRanks .ranks-banner-header,
#lifestealKeys .ranks-banner-header,
#lifestealCoins .ranks-banner-header {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

/* PvP Section Banner - Purple */
.pvp .ranks-banner-header,
#pvpRanks .ranks-banner-header {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

/* Bedwars Section Banner - Blue */
.bedwars .ranks-banner-header,
#bedwarsRanks .ranks-banner-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

/* Season Ended Block */
.season-ended-block {
    text-align: center;
    padding: 4rem 2rem;
    margin: 2rem 0;
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.season-ended-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.season-ended-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.season-ended-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.ranks-banner-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    flex: 1;
    text-align: center;
}

.back-btn-banner {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn-banner:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-3px);
}

.more-info-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.75rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.more-info-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.rank-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.compact-rank-card {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.compact-rank-card:hover {
    /* No background effects - only image zooms */
}

/* Rank Card Image/Icon Area - Increased Size */
.rank-card-image {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    padding: 1.5rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
}

.rank-card-image img {
    max-height: 90%;
    max-width: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s ease, filter 0.4s ease;
    transform: scale(1);
}

/* Zoom effect on hover - Section-specific colors */
.compact-rank-card:hover .rank-card-image img {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Survival Section - Orange/Red */
#survivalRanks .compact-rank-card:hover .rank-card-image img,
#survivalKeys .compact-rank-card:hover .rank-card-image img,
#survivalCoins .compact-rank-card:hover .rank-card-image img {
    filter: drop-shadow(0 8px 24px rgba(245, 158, 11, 0.4)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Lifesteal Section - Pink */
#lifestealRanks .compact-rank-card:hover .rank-card-image img,
#lifestealKeys .compact-rank-card:hover .rank-card-image img,
#lifestealCoins .compact-rank-card:hover .rank-card-image img {
    filter: drop-shadow(0 8px 24px rgba(236, 72, 153, 0.4)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* PvP Section - Purple */
#pvpRanks .compact-rank-card:hover .rank-card-image img {
    filter: drop-shadow(0 8px 24px rgba(139, 92, 246, 0.4)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Bedwars Section - Blue */
#bedwarsRanks .compact-rank-card:hover .rank-card-image img {
    filter: drop-shadow(0 8px 24px rgba(59, 130, 246, 0.4)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Rank Card Body */
.rank-card-body {
    background: transparent;
    padding: 1.5rem 1rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.compact-rank-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.compact-rank-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0.25rem 0;
}

/* Add to Cart Button - FreshSMP Style */
.rank-add-cart-btn {
    border: none;
    color: #fff;
    padding: 0.875rem 1.25rem;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
    text-decoration: none;
}

/* Survival Section - Orange/Red Button */
#survivalRanks .rank-add-cart-btn,
#survivalKeys .rank-add-cart-btn,
#survivalCoins .rank-add-cart-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

#survivalRanks .rank-add-cart-btn:hover,
#survivalKeys .rank-add-cart-btn:hover,
#survivalCoins .rank-add-cart-btn:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #ef4444 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

/* Lifesteal Section - Pink Button (default) */
#lifestealRanks .rank-add-cart-btn,
#lifestealKeys .rank-add-cart-btn,
#lifestealCoins .rank-add-cart-btn,
.rank-add-cart-btn {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

#lifestealRanks .rank-add-cart-btn:hover,
#lifestealKeys .rank-add-cart-btn:hover,
#lifestealCoins .rank-add-cart-btn:hover,
.rank-add-cart-btn:hover {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
    transform: translateY(-2px);
}

/* PvP Section - Purple Button */
#pvpRanks .rank-add-cart-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

#pvpRanks .rank-add-cart-btn:hover {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

/* Bedwars Section - Blue Button */
#bedwarsRanks .rank-add-cart-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

#bedwarsRanks .rank-add-cart-btn:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.rank-add-cart-btn svg {
    width: 16px;
    height: 16px;
}

/* Responsive Design for Ranks Banner */
@media (max-width: 768px) {
    .ranks-banner-header {
        padding: 1rem 1.5rem;
        gap: 0.75rem;
    }
    
    .ranks-banner-title {
        font-size: 1.75rem;
        letter-spacing: 1px;
    }
    
    .back-btn-banner {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .more-info-btn {
        width: 40px;
        height: 40px;
        padding: 0.5rem;
    }
    
    .more-info-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .rank-details-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    
    .rank-card-image {
        height: 200px;
        padding: 1rem;
    }
}

/* Hide old styles in blocky view */
.chat-prefix-section,
.compact-rank-benefits,
.read-more-btn,
.compact-rank-note,
.compact-rank-buy-btn {
    display: none;
}

/* Chat prefix preview for legacy/table view */
.chat-prefix-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.chat-prefix-preview {
    display: inline-flex;
    align-items: center;
    background: #2a1a3d;
    border: 2px solid #4a2c5a;
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.chat-prefix-preview.vip {
    color: #FF8C00;
    text-shadow: 0 0 5px rgba(255, 140, 0, 0.5);
}

.chat-prefix-preview.vip-plus {
    color: #FF8C00;
}

.chat-prefix-preview.vip-plus .plus {
    color: #00ff00;
}

.chat-prefix-preview.devil {
    color: #ff0000;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.chat-prefix-preview.pro {
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.chat-prefix-preview.pro .plus {
    color: #00ff00;
}

.chat-prefix-preview.custom {
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Username Modal Styles */
.username-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.username-modal-content {
    background: #2a2f3a;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.username-modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.username-modal-instructions {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.username-input-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    background: #1a1f2e;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    transition: border-color 0.3s ease;
}

.username-input-wrapper:focus-within {
    border-color: var(--primary-blue);
}

.username-input-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.username-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    padding: 0.5rem 0;
    outline: none;
    font-family: 'Roboto', sans-serif;
}

.username-input::placeholder {
    color: #6b7280;
}

.username-continue-btn {
    width: 100%;
    background: #d2691e;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
}

.username-continue-btn:hover {
    background: #b85816;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 105, 30, 0.4);
}

.username-continue-btn:active {
    transform: translateY(0);
}

.username-continue-btn:disabled {
    background: #4a5568;
    cursor: not-allowed;
    transform: none;
}

.bedrock-user-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.bedrock-user-label {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.bedrock-toggle {
    display: flex;
    gap: 0.5rem;
}

.bedrock-toggle-btn {
    background: #dc2626;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}

.bedrock-toggle-btn[data-bedrock="true"] {
    background: #16a34a;
}

.bedrock-toggle-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .username-modal-content {
        padding: 2rem 1.5rem;
    }
    
    .username-modal-title {
        font-size: 1.3rem;
    }
    
    .username-modal-instructions {
        font-size: 0.85rem;
    }
}

.compact-rank-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
}

.compact-rank-benefits li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.compact-rank-benefits li::before {
    content: '♦';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.compact-rank-benefits.collapsed {
    max-height: 150px;
    overflow: hidden;
    position: relative;
}

.compact-rank-benefits.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--card-bg));
}

.read-more-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
}

.read-more-btn:hover {
    background: var(--border-color);
    border-color: var(--primary-blue);
}

.compact-rank-note {
    background: var(--dark-bg);
    border-left: 3px solid var(--gold);
    padding: 0.8rem;
    margin-top: 1rem;
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-style: italic;
}

.compact-rank-buy-btn {
    margin-top: auto;
    padding-top: 1rem;
}

.rank-badge-name {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    width: 100%;
}

.rank-badge-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.rank-price-original {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.7;
}

.rank-price-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.rank-price-icon {
    font-size: 1rem;
}

.rank-badge-btn {
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.rank-badge-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.rank-info-icon {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* ===== Comparison Table ===== */
.rank-comparison-table {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin: 3rem auto;
    max-width: 1200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.rank-comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.rank-comparison-table thead {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1f2e 100%);
}

.rank-comparison-table th {
    padding: 1.2rem 1rem;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rank-comparison-table th:first-child {
    text-align: left;
    width: 200px;
    text-transform: none;
    font-size: 1rem;
}

.rank-comparison-table td {
    padding: 0.9rem 1rem;
    text-align: center;
    color: var(--text-secondary);
    border-bottom: none;
    transition: background-color 0.2s ease;
}

.rank-comparison-table tbody tr:hover td {
    background-color: rgba(75, 144, 226, 0.05);
}

.rank-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.rank-comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rank-comparison-table .price-row {
    background: rgba(212, 175, 55, 0.1);
}

.rank-comparison-table .price-row td {
    border-bottom: none;
    padding: 1.1rem 1rem;
}

.table-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Orbitron', sans-serif;
}

.table-price.highlight-price {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.table-prefix {
    display: inline-block;
    background: #2a1a3d;
    border: 2px solid #4a2c5a;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.table-prefix.vip-prefix {
    color: #FF8C00;
    text-shadow: 0 0 5px rgba(255, 140, 0, 0.5);
}

.table-prefix.vipplus-prefix {
    color: #FF8C00;
}

.table-prefix.vipplus-prefix .plus {
    color: #00ff00;
}

.table-prefix.devil-prefix {
    color: #ff0000;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.table-prefix.pro-prefix {
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.table-prefix.custom-prefix {
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.btn-table {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.rank-comparison-table .check-icon {
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

.rank-comparison-table .x-icon {
    color: #ef4444;
    font-weight: bold;
    font-size: 1.2rem;
}

.rank-comparison-table .info-icon {
    color: var(--text-secondary);
    cursor: help;
    font-size: 0.9rem;
    opacity: 0.7;
}

.rank-comparison-table .info-icon:hover {
    opacity: 1;
}

.rank-comparison-table .discount {
    color: var(--text-secondary);
    text-decoration: line-through;
    font-size: 0.9em;
    opacity: 0.7;
}

.rank-comparison-table .action-row td {
    padding-top: 1.5rem;
}

/* ===== Store Categories ===== */
.store-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* FreshSMP-Style Category Cards */
.store-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.store-category-card {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    padding: 1.5rem;
}

.store-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Category Color Themes - FreshSMP Style */
.store-category-card[data-category="survival"] {
    background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
}

.store-category-card[data-category="lifesteal"] {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.store-category-card[data-category="pvp"] {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.store-category-card[data-category="bedwars"] {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.category-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    z-index: 2;
}

.category-indicator {
    display: none;
}

.category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.category-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

.category-illustration {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    font-size: 5rem;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.category-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.category-link:hover {
    gap: 0.75rem;
}

/* Category Illustrations */
.survival-illustration::before {
    content: '🏔️';
}

.lifesteal-illustration::before {
    content: '❤️';
}

.pvp-illustration::before {
    content: '⚔️';
}

.bedwars-illustration::before {
    content: '🛏️';
}

@media (max-width: 768px) {
    .store-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .store-category-card {
        min-height: 140px;
    }
    
    .category-title {
        font-size: 1.4rem;
    }
}

/* Category Content */
.category-content {
    margin-top: 2rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.back-btn {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.back-btn:hover {
    background: var(--border-color);
    border-color: var(--primary-blue);
}

.category-page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.category-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.option-btn {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.option-btn:hover {
    border-color: var(--primary-blue);
    color: var(--text-primary);
}

.option-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.option-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.toggle-btn {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.toggle-btn:hover {
    border-color: var(--primary-blue);
    color: var(--text-primary);
}

.toggle-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.rank-view {
    animation: fadeIn 0.3s ease;
}

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.item-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.item-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(75, 144, 226, 0.2);
}

.item-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.item-card .item-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.item-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .store-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .category-options {
        width: 100%;
    }
    
    .option-btn {
        flex: 1;
    }
}

/* Legacy rank styles for backwards compatibility */
.ranks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.rank-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.rank-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.rank-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rank-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.rank-benefits {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.rank-benefits li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.rank-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.rank-buy-btn {
    margin-top: auto;
}

/* ===== Vote Page ===== */
.vote-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.vote-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.vote-link-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.vote-link-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-blue);
    box-shadow: 0 6px 20px rgba(75, 144, 226, 0.2);
}

.vote-site-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.vote-rewards {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    margin: 3rem auto 0;
}

.vote-rewards-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-primary);
}

.vote-rewards-list {
    list-style: none;
}

.vote-rewards-list li {
    padding: 0.8rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 2rem;
}

.vote-rewards-list li:last-child {
    border-bottom: none;
}

.vote-rewards-list li::before {
    content: '🎁';
    position: absolute;
    left: 0;
}

/* ===== About Page ===== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 2rem;
}

.about-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.about-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-section ul {
    margin-left: 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-section ul li {
    margin-bottom: 0.5rem;
}

/* ===== Footer - FreshSMP Style ===== */
.main-footer {
    background-color: rgb(24, 33, 48);
    margin-top: auto;
    overflow: hidden;
    position: relative;
}

.main-footer .container {
    display: flex;
    flex-direction: row;
    padding-bottom: 44px;
    padding-top: 60px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: flex;
    flex-direction: row;
    width: 100%;
}

/* About Us Section */
.footer-about {
    max-width: 400px;
}

.footer-about h3,
.footer-links-section h3,
.footer-support h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    line-height: 1.5rem;
    margin-bottom: 18px;
    color: #fff;
}

.footer-about > p,
.footer-support > p {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    line-height: 29px;
    margin-bottom: 23px;
    font-size: 0.95rem;
}

.footer-copyright {
    margin-top: 24px;
}

.footer-copyright p {
    color: #4ade80;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    margin: 0 0 12px;
    line-height: 1rem;
}

.footer-copyright .disclaimer {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 400;
}

/* Useful Links Section */
.footer-links-section {
    margin-left: 100px;
    margin-right: 60px;
    min-width: 224px;
}

.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.footer-nav-links li {
    margin-bottom: 0;
}

.footer-nav-links a {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    line-height: 29px;
    margin-bottom: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.footer-nav-links a span {
    transition: all 0.2s ease;
}

.footer-nav-links a svg {
    width: 16px;
    height: 10px;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.footer-nav-links a svg path {
    fill: currentColor;
    fill-opacity: 0.5;
    transition: all 0.2s ease;
}

.footer-nav-links a:hover {
    color: rgba(255, 255, 255, 0.9);
    gap: 0.75rem;
}

.footer-nav-links a:hover svg {
    opacity: 0.9;
}

.footer-nav-links a:hover svg path {
    fill-opacity: 0.9;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #fff;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon.youtube {
    background: #FF0000;
}

.social-icon.youtube:hover {
    filter: brightness(1.25);
    transform: translateY(-3px);
}

.social-icon.discord {
    background: #5865F2;
}

.social-icon.discord:hover {
    filter: brightness(1.25);
    transform: translateY(-3px);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.instagram:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.social-icon.twitter {
    background: #000;
}

.social-icon.twitter:hover {
    background: #333;
    transform: translateY(-3px);
}

.social-icon.tiktok {
    background: #000;
}

.social-icon.tiktok:hover {
    background: #333;
    transform: translateY(-3px);
}

/* Support Section */
.footer-support {
    max-width: none;
    flex: 1;
}

/* Support Buttons - FreshSMP Style */
.support-buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 52px;
    padding: 0 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    color: #fff;
    border-bottom: 4px solid;
    box-shadow: 0 10px 35px 0 rgba(117, 208, 248, 0.3);
}

.support-btn span {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 17px;
}

.support-btn svg {
    width: 16px;
    height: 16px;
}

.discord-btn {
    background-color: rgb(94, 180, 219);
    border-color: rgb(72, 138, 168);
}

.discord-btn:hover {
    filter: brightness(1.1);
}

.support-ticket-btn {
    background-color: rgb(94, 180, 219);
    border-color: rgb(72, 138, 168);
}

.support-ticket-btn:hover {
    filter: brightness(1.1);
}

/* How to Join Card */
.how-to-join-card {
    background: linear-gradient(135deg, #2a3347 0%, #1e2538 100%);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 350px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.how-to-join-card:hover {
    border-color: rgba(74, 222, 128, 0.4);
    background: linear-gradient(135deg, #2f3a52 0%, #232d42 100%);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.how-to-join-card:hover .join-arrow {
    opacity: 1;
    transform: translateX(0);
}

.how-to-join-card:hover .join-info h4 {
    color: #4ade80;
}

.join-arrow {
    color: #4ade80;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.join-thumbnail {
    width: 80px;
    height: 55px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1a1f2e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.join-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.join-info h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.35rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.join-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .main-footer .container,
    .footer-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 1000px) {
    .footer-about {
        max-width: 400px;
    }
    
    .footer-links-section {
        margin-left: 20px;
        margin-right: 20px;
        min-width: 224px;
    }
    
    .footer-support {
        max-width: 400px;
    }
}

@media (max-width: 800px) {
    .main-footer .container,
    .footer-grid {
        align-items: center;
        flex-direction: column;
        justify-content: center;
        padding: 3rem;
        text-align: center;
    }
    
    .footer-links-section {
        margin-left: 0;
        margin-right: 0;
    }
    
    .footer-nav-links {
        align-items: center;
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .support-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .support-btn {
        width: 173px;
    }
    
    .how-to-join-card {
        max-width: 100%;
    }
}

/* Legacy footer styles for other pages */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .header-actions {
        display: flex;
        gap: 0.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .cart-btn-header {
        display: inline-flex !important;
        width: 44px;
        height: 44px;
        padding: 0.6rem;
    }
    
    .cart-btn-header .cart-badge {
        top: -2px;
        right: -2px;
        min-width: 20px;
        height: 20px;
        font-size: 0.7rem;
        border: 2px solid var(--dark-bg);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        border-bottom: 2px solid var(--border-color);
        gap: 1rem;
        z-index: 9999;
        height: auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .server-ip-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .game-modes-grid {
        grid-template-columns: 1fr;
    }
    
    .ranks-grid {
        grid-template-columns: 1fr;
    }
    
    .vote-links-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .server-ip-value {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* ========================================
   LOGIN MODAL - RADIANT THEME STYLE
======================================== */

.login-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.login-modal-overlay.active {
    display: flex;
}

.login-modal-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    max-width: 550px;
    width: 90%;
    box-shadow: 
        0 0 0 2px rgba(255, 255, 255, 0.05) inset,
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(138, 43, 226, 0.15);
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.4;
}

/* Platform Selection - Java/Bedrock */
.login-platform-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.platform-btn.active {
    background: rgba(138, 43, 226, 0.2);
    border-color: var(--primary-purple);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.2);
}

.platform-icon {
    font-size: 2rem;
    opacity: 0.7;
}

.platform-btn.active .platform-icon {
    opacity: 1;
}

.platform-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.3;
}

.platform-btn.active .platform-text {
    color: rgba(255, 255, 255, 0.9);
}

.platform-text strong {
    color: #fff;
    font-size: 1rem;
}

/* Case Warning */
.case-warning {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    text-align: center;
}

/* Login Input */
.login-form-section {
    margin-bottom: 1.5rem;
}

.login-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.login-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.15);
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.login-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 
        inset 0 0 0 3px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(138, 43, 226, 0.2);
}

.login-submit-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-submit-btn span {
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
}

.login-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.4);
}

.login-submit-btn:active {
    transform: scale(0.98);
}

/* Helper Text */
.login-helper-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    line-height: 1.6;
}

.login-helper-text p {
    margin: 0;
}

/* Input Error State */
.login-input.error {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .login-modal-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .login-modal-title {
        font-size: 1.3rem;
    }
    
    .login-platform-selection {
        grid-template-columns: 1fr;
    }
    
    .platform-btn {
        justify-content: center;
    }
    
    .login-input-wrapper {
        flex-direction: column;
    }
    
    .login-submit-btn {
        padding: 1rem;
        width: 100%;
    }
    
    .login-submit-btn span {
        font-size: 1.2rem;
    }
}

/* ========================================
   DISCORD LOGIN SECTION
======================================== */

.login-modal-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    font-family: 'Roboto', sans-serif;
}

.discord-section {
    margin-bottom: 1.5rem;
    text-align: center;
}

.discord-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #5865F2;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.discord-login-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.discord-login-btn:active {
    transform: translateY(0);
}

.discord-login-btn .discord-icon {
    width: 24px;
    height: 24px;
}

.optional-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Login Divider */
.login-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    gap: 1rem;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.login-divider span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========================================
   STORE ACTIONS (Hero Section)
======================================== */

/* Currency Row - Separate line for USD/INR */
.store-currency-row {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.store-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.gift-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gift-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.gift-card-btn svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   CART BUTTON & SIDEBAR
======================================== */

.cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.cart-btn svg {
    width: 20px;
    height: 20px;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    transition: transform 0.2s ease;
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
    display: none;
}

.cart-badge.bounce {
    animation: cartBounce 0.6s ease;
}

@keyframes cartBounce {
    0%, 100% { 
        transform: scale(1); 
    }
    25% { 
        transform: scale(1.4) rotate(-10deg); 
    }
    50% { 
        transform: scale(1.5) rotate(10deg); 
    }
    75% { 
        transform: scale(1.3) rotate(-5deg); 
    }
}

/* Cart button pulse animation when item added */
.cart-btn-header.item-added {
    animation: cartPulse 0.5s ease;
}

@keyframes cartPulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.15); 
        box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.3);
    }
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.cart-sidebar.active {
    right: 0;
}

/* Cart Header */
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-header h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.cart-header h2 svg {
    color: #6366f1;
}

.cart-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}

.cart-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Cart Items */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

.cart-empty svg {
    margin-bottom: 1rem;
}

.cart-empty p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: rgba(255, 255, 255, 0.6);
}

.cart-empty span {
    font-size: 0.85rem;
}

/* Individual Cart Item */
.cart-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.cart-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cart-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-category {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.25rem 0;
}

.cart-item-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4ade80;
}

.cart-item-remove {
    background: rgba(239, 68, 68, 0.2);
    border: none;
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    color: #ef4444;
    transition: all 0.2s ease;
}

.cart-item-remove:hover {
    background: #ef4444;
    color: #fff;
}

.cart-item-remove svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* Cart Footer */
.cart-footer {
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #fff;
}

.cart-total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4ade80;
}

.cart-checkout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.cart-checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.4);
}

.cart-clear-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-clear-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Cart Notification Toast */
.cart-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.4);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.cart-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cart-notification svg {
    flex-shrink: 0;
}

/* Small Cart Button (for tables and inline) */
.btn-cart-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.btn-cart-small:hover {
    background: #6366f1;
    border-color: #6366f1;
    transform: scale(1.1);
}

/* Key/Item Actions Container */
.key-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.btn-cart-icon:hover {
    background: #6366f1;
    border-color: #6366f1;
    transform: scale(1.1);
}

/* Cart responsive */
@media (max-width: 480px) {
    .cart-btn .cart-text {
        display: none;
    }
    
    .cart-btn {
        padding: 0.75rem;
    }
    
    .cart-sidebar {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }
    
    .cart-notification {
        left: 1rem;
        right: 1rem;
        transform: translateX(0) translateY(100px);
        width: auto;
    }
    
    .cart-notification.show {
        transform: translateX(0) translateY(0);
    }
}

/* ========================================
   CURRENCY SELECTOR
======================================== */

.currency-selector {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 0.25rem;
    gap: 0.25rem;
}

.currency-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.currency-btn:hover:not(.active) {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.currency-btn.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.currency-symbol {
    font-size: 1.1rem;
    font-weight: 700;
}

.currency-code {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* USD specific styling */
#usdBtn.active {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
}

/* INR specific styling */
#inrBtn.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

/* Price animation on currency change */
.price-value {
    transition: all 0.3s ease;
}

.price-value.updating {
    opacity: 0.5;
    transform: scale(0.95);
}

/* Logged In User Display */
.logged-in-user {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: #fff;
}

.user-avatar {
    font-size: 1.2rem;
}

.user-name {
    font-weight: 600;
    color: var(--gold);
}

.change-user-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

.change-user-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   GIFT CARD MODAL
======================================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    justify-content: center;
    align-items: center;
}

.giftcard-modal-card {
    background: linear-gradient(135deg, 
        rgba(30, 30, 50, 0.95) 0%, 
        rgba(20, 20, 35, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(245, 158, 11, 0.1);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.giftcard-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.giftcard-modal-header .giftcard-icon {
    color: var(--gold);
    margin-bottom: 1rem;
}

.giftcard-modal-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

/* Gift Card Tabs */
.giftcard-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 0.25rem;
}

.giftcard-tab {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.giftcard-tab.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: #fff;
}

.giftcard-tab:hover:not(.active) {
    color: rgba(255, 255, 255, 0.8);
}

/* Gift Card Input */
.giftcard-section {
    margin-bottom: 1.5rem;
}

.giftcard-input-group {
    display: flex;
    gap: 0.5rem;
}

.giftcard-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.giftcard-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    text-transform: none;
    letter-spacing: 0;
}

.giftcard-input:focus {
    outline: none;
    border-color: var(--gold);
}

.giftcard-check-btn,
.giftcard-apply-btn,
.giftcard-action-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.giftcard-check-btn:hover,
.giftcard-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

/* Gift Card Result */
.giftcard-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.giftcard-result.success {
    display: block;
    background: rgba(22, 163, 74, 0.2);
    border: 1px solid rgba(22, 163, 74, 0.3);
    color: #4ade80;
}

.giftcard-result.error {
    display: block;
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #f87171;
}

.giftcard-result .balance {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gold);
    margin-top: 0.75rem;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.giftcard-result .balance-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.giftcard-result .balance-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Applied Gift Cards */
.applied-giftcards {
    margin-top: 1rem;
}

.applied-giftcard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
}

.applied-giftcard-item .code {
    font-family: 'Roboto Mono', monospace;
    color: #4ade80;
    font-weight: 500;
}

.applied-giftcard-item .amount {
    color: var(--gold);
    font-weight: bold;
}

.applied-giftcard-item .remove-btn {
    background: rgba(220, 38, 38, 0.2);
    border: none;
    border-radius: 4px;
    color: #f87171;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-size: 0.8rem;
}

.applied-giftcard-item .remove-btn:hover {
    background: rgba(220, 38, 38, 0.4);
}

/* Gift Card Helper */
.giftcard-helper {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.giftcard-helper p {
    margin: 0;
}

/* Refund Policy Notice */
.refund-policy-notice {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1.5rem;
    text-align: center;
}

.policy-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.refund-policy-notice p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.refund-policy-notice strong {
    color: #fff;
}

/* Gift Card Total Value */
.giftcard-total-value {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.giftcard-total-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.giftcard-total-amount {
    color: #10b981;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.read-more-link {
    display: inline-block;
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.read-more-link:hover {
    color: var(--primary-purple);
    text-decoration: underline;
}

/* Applied Gift Card with Value */
.applied-giftcard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
}

.applied-giftcard-item .giftcard-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.applied-giftcard-item .code {
    font-family: 'Roboto Mono', monospace;
    color: #4ade80;
    font-weight: 500;
    font-size: 0.9rem;
}

.applied-giftcard-item .value {
    color: var(--gold);
    font-weight: bold;
    font-size: 1.1rem;
}

.applied-giftcard-item .remove-btn {
    background: rgba(220, 38, 38, 0.2);
    border: none;
    border-radius: 4px;
    color: #f87171;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.applied-giftcard-item .remove-btn:hover {
    background: rgba(220, 38, 38, 0.4);
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .giftcard-modal-card {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .giftcard-input-group {
        flex-direction: column;
    }
    
    .giftcard-check-btn,
    .giftcard-apply-btn,
    .giftcard-action-btn {
        width: 100%;
    }
    
    .giftcard-tabs {
        flex-direction: column;
    }
    
    .store-actions {
        flex-direction: column;
    }
}

/* ===== Rank Detail Modal - FreshSMP Style ===== */
.rank-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.rank-modal-card {
    background: linear-gradient(145deg, #1a2332 0%, #0f1620 100%);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(236, 72, 153, 0.1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rank-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-modal-close:hover {
    background: rgba(236, 72, 153, 0.3);
    color: #ec4899;
    transform: rotate(90deg);
}

.rank-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.rank-modal-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(145deg, #1e2a3a 0%, #0d1218 100%);
    border: 3px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.rank-modal-info {
    width: 100%;
}

.rank-modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.rank-modal-price {
    font-size: 2rem;
    font-weight: 700;
    color: #ffdd6e;
    margin-bottom: 1.5rem;
}

.rank-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.rank-modal-buy-btn {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

.rank-modal-buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(236, 72, 153, 0.5);
}

.rank-modal-gift-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--border-color);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-modal-gift-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-blue);
    color: var(--text-primary);
}

.rank-modal-description {
    padding: 1.5rem 2rem 2rem;
}

.rank-prefix-preview {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #f472b6;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.rank-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.rank-benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rank-benefits-list li:last-child {
    border-bottom: none;
}

.rank-benefits-list li::before {
    content: '✦';
    color: #ec4899;
    font-size: 0.8rem;
}

.rank-note {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #fbbf24;
    font-size: 0.9rem;
    text-align: center;
}

.rank-note strong {
    color: #fde047;
}

/* Rank Modal Responsive */
@media (max-width: 576px) {
    .rank-modal-card {
        margin: 0.5rem;
    }
    
    .rank-modal-content {
        padding: 1.5rem;
    }
    
    .rank-modal-image {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .rank-modal-title {
        font-size: 1.4rem;
    }
    
    .rank-modal-price {
        font-size: 1.5rem;
    }
    
    .rank-modal-actions {
        flex-direction: column;
    }
    
    .rank-modal-buy-btn,
    .rank-modal-gift-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== FreshSMP-Style Pink Header Bar ===== */
.rules-hero,
.support-hero,
.page-hero-bar {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.rules-header-bar,
.support-header-bar,
.page-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.back-btn-pink {
    background: rgba(0, 0, 0, 0.3);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.back-btn-pink:hover {
    background: rgba(0, 0, 0, 0.5);
}

.rules-title,
.support-title,
.page-title-bar {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    flex: 1;
    text-align: center;
}

.spacer {
    width: 80px;
}

/* ===== Rules Page Styles ===== */
.rules-content {
    padding: 2rem 0 4rem;
}

.rules-intro {
    background: linear-gradient(145deg, #1a2332 0%, #0f1620 100%);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.rules-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rules-intro-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.rules-intro-text:last-child {
    margin-bottom: 0;
}

.rules-section {
    background: linear-gradient(145deg, #1a2332 0%, #0f1620 100%);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.rules-category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ec4899;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.category-icon {
    font-size: 1.5rem;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rule-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.rule-item.warning {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
}

.rule-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    color: #fbbf24;
    font-size: 0.95rem;
}

.rule-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.rule-desc code {
    background: rgba(139, 92, 246, 0.2);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: #a78bfa;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
}

.text-red {
    color: #f87171 !important;
}

.text-yellow {
    color: #fbbf24 !important;
}

.rules-note {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Security Tips Section */
.tips-section {
    background: linear-gradient(145deg, #1a2332 0%, #0f1620 100%);
}

.security-tips {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    color: var(--text-secondary);
}

.tip-icon {
    font-size: 1.5rem;
}

/* Rules Footer Note */
.rules-footer-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
}

.rules-footer-note p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

/* ===== Support Page Styles ===== */
.support-content {
    padding: 2rem 0 4rem;
}

.support-section {
    background: linear-gradient(145deg, #1a2332 0%, #0f1620 100%);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.support-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.support-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.support-list li::before {
    content: '•';
    color: #ec4899;
    font-weight: bold;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.join-info-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.join-info-box .platform {
    color: #60a5fa;
    font-weight: 600;
}

.join-info-box .server-ip {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-family: 'Roboto Mono', monospace;
    color: #4ade80;
    margin-left: 0.5rem;
}

.join-info-box .port {
    color: #fbbf24;
    margin-left: 0.5rem;
}

/* ===== Keys Section with Images ===== */
.key-card {
    background: linear-gradient(145deg, #1a2332 0%, #0f1620 100%);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.key-card:hover {
    /* No background effects - only images can have hover effects */
}

.key-card-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    padding: 0;
    overflow: visible;
    position: relative;
}

.key-card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    transform: rotate(-45deg);
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Hover zoom effect for keys */
.key-card:hover .key-card-image img {
    transform: rotate(-45deg) scale(1.3);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Survival Section - Orange/Red glow */
#survivalKeys .key-card:hover .key-card-image img {
    filter: drop-shadow(0 8px 24px rgba(245, 158, 11, 0.4)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Lifesteal Section - Pink glow */
#lifestealKeys .key-card:hover .key-card-image img {
    filter: drop-shadow(0 8px 24px rgba(236, 72, 153, 0.4)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.key-card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.key-card-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.key-card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.key-card .btn-primary {
    width: 100%;
}

/* Key Quantity Selector */
.key-quantity-selector {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 1rem;
}

.key-qty-btn {
    background: #1e293b;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.key-qty-btn:hover {
    background: #334155;
    color: #fff;
}

.key-qty-btn.active {
    background: #3b82f6;
    color: #fff;
}

/* Keys Grid */
.keys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Key Add to Cart Button */
.key-card .btn-add-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Survival Section - Orange/Red Button */
#survivalKeys .key-card .btn-add-cart,
#survivalCoins .key-card .btn-add-cart {
    background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
}

#survivalKeys .key-card .btn-add-cart:hover,
#survivalCoins .key-card .btn-add-cart:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #ef4444 100%);
    transform: translateY(-2px);
}

/* Lifesteal Section - Pink Button */
#lifestealKeys .key-card .btn-add-cart,
#lifestealCoins .key-card .btn-add-cart,
.key-card .btn-add-cart {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

#lifestealKeys .key-card .btn-add-cart:hover,
#lifestealCoins .key-card .btn-add-cart:hover,
.key-card .btn-add-cart:hover {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    transform: translateY(-2px);
}

/* Coins Section Styles */
.coins-info-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(234, 179, 8, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.coins-info-box p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.coins-info-box .coins-command {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.coins-info-box code {
    background: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.coins-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(245, 158, 11, 0.3);
}

/* Coin Card Styles */
.coin-card .key-card-image {
    background: transparent;
    border-radius: 0;
    padding: 0;
    overflow: visible;
}

.coin-card .key-card-image img {
    transform: none;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Hover zoom effect for coins */
.coin-card:hover .key-card-image img {
    transform: scale(1.20);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Survival Section - Orange/Red glow */
#survivalCoins .coin-card:hover .key-card-image img {
    filter: drop-shadow(0 8px 24px rgba(245, 158, 11, 0.4)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Lifesteal Section - Pink glow */
#lifestealCoins .coin-card:hover .key-card-image img {
    filter: drop-shadow(0 8px 24px rgba(236, 72, 153, 0.4)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.coin-card:hover {
    /* No background effects */
}

/* Money Card Styles */
.money-card .key-card-image {
    background: transparent;
    border-radius: 0;
    padding: 0;
    overflow: visible;
}

.money-card .key-card-image img {
    transform: none;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Hover zoom effect for In-Game Money */
.money-card:hover .key-card-image img {
    transform: scale(1.3);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Survival Section - Orange/Red glow */
#survivalCoins .money-card:hover .key-card-image img {
    filter: drop-shadow(0 8px 24px rgba(245, 158, 11, 0.4)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Lifesteal Section - Pink glow */
#lifestealCoins .money-card:hover .key-card-image img {
    filter: drop-shadow(0 8px 24px rgba(236, 72, 153, 0.4)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.money-card:hover {
    /* No background effects */
}

.money-card .btn-add-cart {
    background: #22c55e;
}

.money-card .btn-add-cart:hover {
    background: #16a34a;
}

/* =====================================================
   FRESH SMP STYLE HERO SECTION
   ===================================================== */

.hero-section-fresh {
    min-height: 60vh;
    background: linear-gradient(180deg, #1a1025 0%, #0f0a15 50%, var(--background-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Floating particles */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 8s infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 1.5s; }
.particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 3s; }
.particle:nth-child(4) { left: 65%; top: 70%; animation-delay: 4.5s; }
.particle:nth-child(5) { left: 80%; top: 25%; animation-delay: 6s; }
.particle:nth-child(6) { left: 90%; top: 55%; animation-delay: 7.5s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0.6;
    }
}

.hero-fresh-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    z-index: 1;
}

/* Play Now block (with online count) */
.play-now-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.play-now-block .action-btn-text {
    align-items: center;
}

.online-players-line {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Roboto', sans-serif;
}

.online-players-line #onlinePlayersCount {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.online-players-line .online-players-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: onlinePulse 2s ease-in-out infinite;
}

.online-players-line.offline .online-players-dot {
    background: #ef4444;
    animation: none;
}

@keyframes onlinePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Action Buttons (Play Now & Discord) */
.hero-action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-action-btn:hover {
    transform: translateY(-3px);
}

.action-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.discord-action-btn .action-btn-text {
    align-items: flex-start;
}

.action-btn-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.action-btn-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.action-btn-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.play-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.play-icon svg {
    margin-left: 3px;
}

.discord-icon {
    background: #5865F2;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

/* Pulse animation for Play button */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Center Logo */
.hero-logo-container {
    position: relative;
}

.hero-main-logo {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(59, 130, 246, 0.3));
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* =====================================================
   HOW TO JOIN SECTION
   ===================================================== */

/* Support page how-to-join styling - inherits from .support-section */
.support-section.how-to-join-section {
    scroll-margin-top: 100px;
}

.join-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.join-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.join-method {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.method-icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.method-label {
    font-weight: 600;
}

.java-method .method-label {
    color: #f59e0b;
}

.bedrock-method .method-label {
    color: #22c55e;
}

.console-method .method-label {
    color: #3b82f6;
}

/* Method rows within boxes */
.join-method.java-method,
.join-method.bedrock-method {
    flex-direction: column;
    align-items: flex-start;
}

.method-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}

.method-row.backup-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding-left: 2rem;
    width: 100%;
}

.method-icon-small {
    color: #64748b;
    font-size: 0.9rem;
}

.method-text-secondary {
    color: #64748b;
    font-size: 0.85rem;
}

.server-ip-code-small {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.server-ip-code-small:hover {
    background: rgba(148, 163, 184, 0.35);
    color: #cbd5e1;
}

.port-code-small {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

.server-ip-code {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.server-ip-code:hover {
    background: rgba(34, 197, 94, 0.3);
    transform: scale(1.02);
}

.port-code {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.bedrock-together-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.bedrock-together-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.join-tutorial-link {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.tutorial-icon {
    font-size: 1rem;
}

.tutorial-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.tutorial-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Responsive Hero Section */
@media (max-width: 900px) {
    .hero-fresh-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-action-btn {
        flex-direction: row;
    }
    
    .action-btn-text {
        align-items: flex-start;
    }
    
    .hero-main-logo {
        width: 180px;
    }
    
    .join-method {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .hero-section-fresh {
        padding: 3rem 1rem;
    }
    
    .online-players-line {
        font-size: 0.75rem;
    }
    
    .hero-main-logo {
        width: 150px;
    }
    
    .action-btn-title {
        font-size: 1.1rem;
    }
    
    .action-btn-icon {
        width: 40px;
        height: 40px;
    }
    
    .how-to-join-section {
        margin: 0 1rem 2rem;
        padding: 1.5rem;
    }
    
    .join-section-title {
        font-size: 1.2rem;
    }
}

/* Toast Notification */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copy-toast svg {
    flex-shrink: 0;
}

/* =====================================================
   GST TOGGLE STYLES
   ===================================================== */

.gst-toggle-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
}

.gst-toggle {
    position: relative;
    width: 36px;
    height: 20px;
    cursor: pointer;
}

.gst-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.gst-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transition: 0.3s;
}

.gst-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

.gst-toggle input:checked + .gst-slider {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.gst-toggle input:checked + .gst-slider:before {
    transform: translateX(16px);
}

.gst-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.gst-toggle input:checked ~ .gst-label {
    color: #f59e0b;
}

.gst-info-icon {
    position: relative;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.gst-info-icon:hover {
    color: #f59e0b;
}

.gst-notice {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    max-width: 90vw;
    background: linear-gradient(145deg, #1a2332 0%, #0f1620 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 12px;
    padding: 1.25rem;
    z-index: 10000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(245, 158, 11, 0.2);
}

.gst-notice.show {
    display: block;
    animation: fadeInGST 0.25s ease;
}

@keyframes fadeInGST {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Backdrop for GST notice */
.gst-notice-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.gst-notice-backdrop.show {
    display: block;
}

.gst-notice strong {
    display: block;
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
}

.gst-notice p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
}

.gst-notice p:last-child {
    margin-bottom: 0;
}

/* GST Price Display */
.price-gst-indicator {
    font-size: 0.65rem;
    color: #f59e0b;
    font-weight: 500;
    margin-left: 0.25rem;
}

/* Store actions responsive */
.store-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

@media (max-width: 768px) {
    .gst-toggle-container {
        padding: 0.3rem 0.5rem;
    }
}

/* =====================================================
   IMAGE-BASED RANK CARDS (Like FreshSMP style)
   ===================================================== */

.image-ranks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.image-rank-card {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-rank-card:hover {
    /* No background effects - only image zooms */
}

.image-rank-img {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.image-rank-img img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease, filter 0.4s ease;
    transform: scale(1);
}

.image-rank-card:hover .image-rank-img img {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3)) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

/* Lifesteal Section - Pink glow */
#lifestealRanks .image-rank-card:hover .image-rank-img img {
    filter: drop-shadow(0 8px 24px rgba(236, 72, 153, 0.4)) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.image-rank-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.image-rank-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ec4899;
    margin-bottom: 1.25rem;
}

.image-rank-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Lifesteal Section - Pink Button (default) */
#lifestealRanks .image-rank-btn,
#lifestealKeys .image-rank-btn,
#lifestealCoins .image-rank-btn,
.image-rank-btn {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

#lifestealRanks .image-rank-btn:hover,
#lifestealKeys .image-rank-btn:hover,
#lifestealCoins .image-rank-btn:hover,
.image-rank-btn:hover {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(236, 72, 153, 0.4);
}

.image-rank-btn svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .image-ranks-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .image-rank-card {
        padding: 1.5rem 1rem;
    }
    
    .image-rank-img {
        width: 160px;
        height: 160px;
    }
}

/* =====================================================
   VOTE PAGE - Single Vote Card Design
   ===================================================== */

.vote-single-card {
    max-width: 500px;
    margin: 3rem auto;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid rgba(74, 222, 128, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.vote-single-card:hover {
    border-color: rgba(74, 222, 128, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(74, 222, 128, 0.15);
}

.vote-card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.3);
}

.vote-card-icon svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.vote-single-card .vote-site-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 0.5rem;
}

.vote-site-desc {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.vote-site-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.btn-vote-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(74, 222, 128, 0.4);
}

.btn-vote-large:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 222, 128, 0.5);
}

.btn-vote-large svg {
    width: 24px;
    height: 24px;
}

/* Vote Rewards Styling */
.vote-rewards {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.vote-rewards-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #fbbf24;
    text-align: center;
    margin-bottom: 2rem;
}

.vote-rewards-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.rewards-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: #ec4899;
    margin-bottom: 0.75rem;
}

.rewards-desc {
    color: #94a3b8;
    line-height: 1.7;
}

.rewards-desc strong {
    color: #4ade80;
}

.vote-top-voter {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.top-voter-icon {
    font-size: 3rem;
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
}

.top-voter-content h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.top-voter-content p {
    color: #94a3b8;
    margin: 0;
}

.top-voter-content strong {
    color: #fbbf24;
}

.vote-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-align: center;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vote-disclaimer svg {
    flex-shrink: 0;
    color: #64748b;
    margin-top: 2px;
}

.vote-disclaimer a {
    color: #60a5fa;
    text-decoration: none;
}

.vote-disclaimer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .vote-single-card {
        margin: 2rem 1rem;
        padding: 2rem 1.5rem;
    }
    
    .vote-card-icon {
        width: 80px;
        height: 80px;
    }
    
    .vote-card-icon svg {
        width: 48px;
        height: 48px;
    }
    
    .vote-single-card .vote-site-name {
        font-size: 1.4rem;
    }
    
    .btn-vote-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .vote-top-voter {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .vote-disclaimer {
        flex-direction: column;
        align-items: center;
    }
}

/* Link highlight style */
.link-highlight {
    color: #60a5fa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-highlight:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Rules Page Responsive */
@media (max-width: 768px) {
    .rules-header-bar,
    .support-header-bar,
    .page-header-bar {
        flex-wrap: wrap;
    }
    
    .rules-title,
    .support-title,
    .page-title-bar {
        font-size: 1.5rem;
        order: -1;
        flex-basis: 100%;
        margin-bottom: 1rem;
    }
    
    .spacer {
        display: none;
    }
    
    .back-btn-pink {
        margin: 0 auto;
    }
    
    .rules-section {
        padding: 1rem;
    }
    
    .rule-item {
        padding: 0.5rem;
    }
}

