:root {
    --primary-color: #7b2cbf;
    --secondary-color: #9d4edd;
    --accent-color: #c77dff;
    --dark-bg: #240046;
    --light-text: #e0aaff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: none;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #1a1a1a;
    color: #ffffff;
}

/* Navigation */
nav {
    background-color: var(--dark-bg);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light-text);
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://i.ytimg.com/vi/4jST2YCKsE4/maxresdefault.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.server-ip {
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem 2rem;
    border-radius: 5px;
    margin: 2rem 0;
}

.server-ip button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin-left: 1rem;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.3s;
}

/* Features Section */
#features {
    padding: 5rem 2rem;
    background-color: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    transition: transform 0.2s ease-out;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Updated Ranks Section */
#ranks {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom, var(--dark-bg), #1a1a1a);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.section-description {
    color: var(--accent-color);
    font-size: 1.2rem;
    opacity: 0.8;
}

.ranks-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    scroll-behavior: auto;
}

.rank-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rank-card:hover {
    transform: translateY(-5px);
    transition: transform 0.2s ease-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.rank-header {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    background: var(--primary-color);
}

.rank-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: white;
    font-weight: bold;
}

.rank-header h3 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    color: white;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.price-subtitle {
    color: var(--accent-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rank-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
}

.perks-wrapper {
    flex: 1;
    margin-bottom: 2rem;
}

.perks-category {
    margin-bottom: 2rem;
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.perks-category h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.perks-list {
    list-style: none;
    padding: 0;
}

.perks-list li {
    margin: 0.8rem 0;
    color: #fff;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rank-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #888;
    font-size: 0.9rem;
}

/* Gradient backgrounds for different ranks */
.rank-header.witch {
    background: linear-gradient(45deg, #7b2cbf, #9d4edd);
}

.rank-header.archmage {
    background: linear-gradient(45deg, #5a189a, #7b2cbf);
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.rank-header.warlock {
    background: linear-gradient(45deg, #3c096c, #5a189a);
}

.rank-header.sorcerer {
    background: linear-gradient(45deg, #240046, #3c096c);
}

/* Keys Section Styles */
.keys-section {
    margin-top: 5rem;
}

.crates-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.crate-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.crate-card:hover {
    transform: translateY(-5px);
    transition: transform 0.2s ease-out;
}

.key-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.key-price {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin: 1rem 0;
}

.quantity {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.crate-button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.crate-button:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.crate-card.special {
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
}

@keyframes glow {
    0% { box-shadow: 0 0 5px var(--accent-color); }
    50% { box-shadow: 0 0 20px var(--accent-color); }
    100% { box-shadow: 0 0 5px var(--accent-color); }
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    padding: 2rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--light-text);
    font-size: 2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Crates Section */
.crate-title {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.crates-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.crate-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.crate-card:hover {
    transform: translateY(-5px);
    transition: transform 0.2s ease-out;
}

.crate-card h3 {
    color: var(--light-text);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.crate-card .quantity {
    color: #888;
    margin: 0.5rem 0;
}

.crate-button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 1rem;
}

.crate-button:hover {
    background: var(--secondary-color);
}

.crate-card.special {
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
}

.price.special {
    color: white;
    font-weight: bold;
}

.crate-button.boost {
    background: white;
    color: var(--primary-color);
    font-weight: bold;
}

.crate-button.boost:hover {
    background: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .crates-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .perks-list li {
        font-size: 0.85rem;
    }
    
    .perks-list .commands {
        font-size: 0.8rem;
    }
    
    .ranks-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .rank-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .rank-features {
        grid-template-columns: 1fr;
    }
    
    .rank-card:has(.rank-badge.best-deal) {
        transform: translateZ(0) scale(1.02);
    }
    
    .rank-card:has(.rank-badge.best-deal):hover {
        transform: translateZ(0) scale(1.02) translateY(-6px);
    }
    
    .perks-category:hover {
        transform: none;
    }
}

.rank-card::-webkit-scrollbar {
    width: 8px;
}

.rank-card::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

.rank-card::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 4px;
}

/* Add scroll indicators */
.ranks-scroll-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-left {
    left: 10px;
}

.scroll-right {
    right: 10px;
}

/* Add to existing styles */
.rank-badge.best-deal {
    background: #ffd700;
    color: #000;
    font-weight: bold;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
}

/* Update header gradients to show progression */
.rank-header.sorcerer {
    background: linear-gradient(45deg, #240046, #3c096c);
}

.rank-header.warlock {
    background: linear-gradient(45deg, #3c096c, #5a189a);
}

.rank-header.archmage {
    background: linear-gradient(45deg, #5a189a, #7b2cbf);
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.rank-header.witch {
    background: linear-gradient(45deg, #7b2cbf, #9d4edd);
}

/* Add subtle progression arrows on mobile */
@media (max-width: 1199px) {
    .rank-card::after {
        content: '⬇️';
        position: absolute;
        bottom: -1.5rem;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.2rem;
        opacity: 0.5;
    }
    
    .rank-card:last-child::after {
        display: none;
    }
}

/* Smoother hover effects */
.perks-category:hover {
    transform: translateX(3px);
}

.rank-header {
    transition: all 0.3s ease;
}

/* Ensure consistent height and alignment */
.perks-category:last-of-type {
    margin-bottom: 2rem;
}

.purchase-note {
    color: var(--accent-color);
    font-size: 1rem;
    margin-top: 1rem;
    opacity: 0.9;
}

/* Remove these button-related styles */
.rank-button, .crate-button {
    /* Remove all button styles */
}

.rank-button:after, .crate-button:after {
    /* Remove all button after styles */
}

.rank-button:hover, .crate-button:hover {
    /* Remove all button hover styles */
}

/* Add a subtle animation to the background */
@keyframes slowZoom {
    0% {
        background-size: 100%;
    }
    50% {
        background-size: 110%;
    }
    100% {
        background-size: 100%;
    }
}

.hero {
    animation: slowZoom 20s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns */
    }
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr; /* 1 column */
    }
}

.keys-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.keys-description p {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.key-benefits {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
}

.benefit-item i {
    font-size: 1.5rem;
}

.benefit-item span {
    font-size: 1.1rem;
}

/* Responsive adjustment */
@media (max-width: 600px) {
    .key-benefits {
        gap: 1.5rem;
    }
    
    .benefit-item {
        font-size: 0.9rem;
    }
}

/* Server Events Section */
#events {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom, #1a1a1a, var(--dark-bg));
}

.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.event-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease-out;
}

.event-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.event-card h3 {
    color: var(--light-text);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.event-time {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.event-description {
    color: #ffffff;
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .events-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .event-card {
        padding: 1.5rem;
    }
    
    .event-icon {
        font-size: 2.5rem;
    }
    
    .event-card h3 {
        font-size: 1.3rem;
    }
} 