:root {
    --bg-color: #0d0d0d;
    --bg-secondary: #1a1a1a;
    --bg-card: #222;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-purple: #8e44ad;
    --accent-purple-light: #9b59b6;
    --accent-gold: #9b59b6; /* Changed to Light Purple */
    --danger: #e74c3c;
    --success: #2ecc71;
    --nav-height: 80px;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Poppins', sans-serif;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    max-width: var(--container-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.v-letter {
    color: var(--accent-purple);
    background: rgba(142, 68, 173, 0.1);
    padding: 0 8px;
    border-radius: 4px;
    margin-right: 2px;
}

.rp-tag {
    color: var(--accent-purple);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    padding: 5px 0;
}

.nav-item:hover,
.nav-item.active {
    color: var(--text-primary);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-purple);
    box-shadow: 0 0 10px var(--accent-purple);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent-purple);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-purple-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-discord {
    background: #5865F2;
    color: white;
}

.btn-discord:hover {
    background: #4752c4;
}

.cart-btn {
    position: relative;
    font-size: 20px;
    cursor: pointer;
    color: var(--accent-purple);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent-purple);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Sections & Tab Content */
.tab-content {
    display: none;
    padding-top: var(--nav-height);
    min-height: 100vh;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #2a1b3d 0%, #0d0d0d 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13, 13, 13, 0.4), var(--bg-color));
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.highlight {
    color: var(--accent-purple);
    text-shadow: 0 0 20px rgba(142, 68, 173, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.server-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-purple);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: var(--container-width);
    margin: -50px auto 100px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* General Section Styles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin: 60px 0 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-purple);
}

/* Rules Section Redesign */
.rules-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 20px 20px;
    position: relative;
    height: calc(100vh - var(--nav-height) - 40px);
    overflow: hidden;
    margin-top: 10px;
}

.rules-content {
    flex: 1;
    height: 100%;
    overflow-y: auto;
    padding-right: 20px;
    padding-bottom: 40px;
}

.rule-category-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.rule-category-content.active {
    display: block;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.rules-sidebar {
    width: 320px;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    overflow-y: auto;
}

.rules-sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    margin-bottom: 5px;
}

.rules-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.03);
    padding-left: 22px;
}

.rules-sidebar-item.active {
    background: rgba(0, 122, 255, 0.1);
}

.rules-sidebar-item.active .rule-label {
    color: #007aff; /* Blue from image */
    font-weight: 700;
}

.rule-icon {
    font-size: 20px;
    width: 24px;
    display: flex;
    justify-content: center;
}

.rule-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Custom Scrollbars */
.rules-sidebar::-webkit-scrollbar,
.rules-content::-webkit-scrollbar {
    width: 5px;
}

.rules-sidebar::-webkit-scrollbar-track,
.rules-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.rules-sidebar::-webkit-scrollbar-thumb,
.rules-content::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 10px;
}

.rules-sidebar::-webkit-scrollbar-thumb:hover,
.rules-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple-light);
}

@media (max-width: 992px) {
    .rules-wrapper {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }
    
    .rules-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
        height: auto;
        overflow: visible;
    }
    
    .rules-content {
        height: auto;
        overflow: visible;
    }
    
    .rules-sidebar-item {
        padding: 12px;
    }
}

.rules-banner {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
}


.rules-intro {
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    border-left: 4px solid var(--accent-purple);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}




.intro-icon {
    font-size: 1.5rem;
    color: var(--accent-purple);
    margin-top: 5px;
}

.intro-text p {
    margin-bottom: 10px;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.rule-box {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.rule-box:hover {
    border-color: rgba(0, 122, 255, 0.3);
    transform: translateY(-3px);
}

.rule-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.rule-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: #007aff;
    opacity: 0.6;
}

.rule-tag {
    margin-left: auto;
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.rule-category-content h2.section-title {
    text-align: left;
    margin: 30px 0 20px;
    font-size: 2rem;
}

.rule-category-content h2.section-title::after {
    left: 0;
    transform: none;
}

.rule-category-content h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 25px 0 15px;
}

.rule-category-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.rule-category-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.rule-category-content li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.rule-category-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-weight: bold;
}

.highlight-purple {
    color: #9b59b6;
    font-weight: 600;
}

.highlight-red {
    color: var(--danger);
    font-weight: 600;
}


/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
}

.price-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.price-card.featured {
    border: 2px solid var(--accent-purple);
    transform: scale(1.05);
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1b3d 100%);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-purple);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.features li {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.features li i {
    color: var(--success);
    margin-right: 10px;
}

.btn-buy {
    width: 100%;
    padding: 15px;
    background: var(--accent-purple);
    color: white;
    border-radius: 8px;
    font-size: 1.1rem;
}

/* IS Coins Grid */
.vcoins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 100px;
}

.vcoin-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.vcoin-card.highlight {
    border: 1px solid var(--accent-purple);
}

.vcoin-icon {
    font-size: 3rem;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

.vcoin-price {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0;
}

.bonus {
    color: var(--success);
    font-weight: 700;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: #050505;
    padding: 60px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-purple);
}

.copyright {
    color: #555;
    font-size: 0.9rem;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 2000;
    transition: var(--transition);
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 50px;
}

.cart-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.total {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .server-stats {
        gap: 20px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Home Shop Previews */
.home-shop-preview {
    padding: 100px 20px;
}

.preview-header {
    text-align: center;
    margin-bottom: 60px;
}

.preview-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin: 10px 0;
}

.preview-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.accent-icon {
    color: var(--accent-purple);
    font-size: 1.5rem;
}

.mt-100 {
    margin-top: 100px;
}

/* Subscriptions Preview Home */
.subs-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.sub-card-home {
    background: #111;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sub-card-home:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
}

.sub-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.sub-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.sub-type-badge {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 2px;
    border-left: 5px solid var(--accent-purple);
}

.sub-info {
    padding: 30px;
    text-align: left;
}

.sub-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(142, 68, 173, 0.1);
    color: var(--accent-purple);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    border: 1px solid rgba(142, 68, 173, 0.2);
}

.sub-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.sub-price {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.btn-accent-full {
    width: 100%;
    background: var(--accent-purple);
    color: white;
    font-weight: 800;
    padding: 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.btn-accent-full:hover {
    background: var(--accent-purple-light);
}

/* Comparison Table */
.comparison-container {
    overflow-x: auto;
    margin-bottom: 100px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    min-width: 800px;
}

.comparison-table th, .comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    background: #222;
    text-transform: uppercase;
    font-weight: 800;
}

.col-features { width: 30%; }
.col-basic { width: 23%; color: #aaa; }
.col-premium { width: 23%; color: var(--accent-purple); }
.col-premium-plus { width: 24%; color: var(--accent-purple); }

.active-col {
    background: rgba(142, 68, 173, 0.05);
}

.accent-text { color: var(--accent-purple); }

/* IS Coins Preview Home */
.iscoins-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
}

.iscoin-card-home {
    background: #111;
    padding: 40px 20px 20px;
    border-radius: 4px;
    text-align: center;
    position: relative;
    border-bottom: 4px solid transparent;
}

.iscoin-value {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
}

.iscoin-label {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 30px;
    opacity: 0.7;
}

.iscoin-bonus {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    color: black;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 2px;
}

.iscoin-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.iscoin-price-home {
    font-size: 0.9rem;
    margin: 15px 0;
    font-weight: 600;
}

.color-gold { border-bottom-color: #f1c40f; color: #f1c40f; }
.color-orange { border-bottom-color: #e67e22; color: #e67e22; }
.color-red { border-bottom-color: #e74c3c; color: #e74c3c; }
.color-purple { border-bottom-color: #9b59b6; color: #9b59b6; }
.color-cyan { border-bottom-color: #1abc9c; color: #1abc9c; }

/* Vehicle Banner */
.vehicle-banner {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 80px;
}

.vehicle-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-banner-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
}

.vehicle-banner-content h2 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 0.8;
}

.vehicle-banner-content p {
    font-size: 1.5rem;
    margin-left: 5px;
    letter-spacing: 5px;
    opacity: 0.8;
}

/* Delivery Info */
.delivery-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.delivery-box {
    background: #111;
    padding: 30px;
    border-radius: 4px;
    border-left: 2px solid var(--accent-gold);
}

.delivery-box i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.delivery-box h3 {
    margin-bottom: 10px;
}

.delivery-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}