:root {
    --primary-color: #0f2027;
    --secondary-color: #203a43;
    --accent-color: #2c5364;
    --text-color: #ffffff;
    --text-secondary: #b3b3b3;
    --highlight-color: #00c6ff;
    --card-bg: #16222a;
    --featured-plan: #1a3a4a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--accent-color));
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--highlight-color);
    color: var(--primary-color);
}

.primary-btn:hover {
    background-color: #00b4e6;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.secondary-btn {
    background-color: transparent;
    color: var(--highlight-color);
    border: 2px solid var(--highlight-color);
}

.secondary-btn:hover {
    background-color: var(--highlight-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.discord-btn {
    background-color: #5865F2;
    color: white;
}

.discord-btn:hover {
    background-color: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.plan-btn {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background-color: var(--highlight-color);
    color: var(--primary-color);
}

.plan-btn:hover {
    background-color: #00b4e6;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(15, 32, 39, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 0;
}

.logo span {
    color: var(--highlight-color);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 15px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    display: inline-block;
}

nav ul li:not(:has(.btn)) a {
    color: var(--text-color);
}

nav ul li:not(:has(.btn)) a:hover {
    color: var(--highlight-color);
}

nav ul li:not(:has(.btn)) a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--highlight-color);
    bottom: 0;
    left: 12px;
    transition: width 0.3s ease;
}

nav ul li:not(:has(.btn)) a:hover::after {
    width: calc(100% - 24px);
}

nav ul li .btn {
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
}

nav ul li .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#panel-btn {
    background-color: rgba(0, 198, 255, 0.2);
    color: var(--highlight-color);
    border: 1px solid var(--highlight-color);
}

#panel-btn:hover {
    background-color: var(--highlight-color);
    color: var(--primary-color);
}

#client-btn {
    background-color: var(--highlight-color);
    color: var(--primary-color);
}

#client-btn:hover {
    background-color: #00b4e6;
}

.discord-btn {
    background-color: #5865F2;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
}

.discord-btn:hover {
    background-color: #4752c4;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-image {
    flex: 1;
    animation-delay: 0.2s;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.features {
    padding: 100px 0;
    background: rgba(22, 34, 42, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--highlight-color);
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin-bottom: 20px;
}

.plans {
    padding: 100px 0;
}

.subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.2rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.plan-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card.featured {
    background: var(--featured-plan);
    transform: scale(1.05);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 30px;
    background: var(--highlight-color);
    color: var(--primary-color);
    padding: 5px 15px;
    font-weight: 600;
    border-radius: 0 0 5px 5px;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--highlight-color);
    margin-top: 10px;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.plan-features ul {
    list-style: none;
}

.plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.plan-features i {
    margin-right: 10px;
    color: var(--highlight-color);
}

.cta {
    padding: 80px 0;
    background: rgba(0, 198, 255, 0.1);
    text-align: center;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
}

footer {
    background: var(--card-bg);
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--highlight-color);
}

.footer-section.about p {
    margin-bottom: 20px;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.socials a:hover {
    background: var(--highlight-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-section.links ul {
    list-style: none;
}

.footer-section.links li {
    margin-bottom: 10px;
}

.footer-section.links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section.links a:hover {
    color: var(--highlight-color);
}

.footer-section.contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-section.contact i {
    margin-right: 10px;
    color: var(--highlight-color);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}

.animate-pop-in {
    animation: popIn 0.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.animate-fade-in {
    animation: fadeIn 1s ease both;
}

.animate-slide-up {
    animation: slideUp 0.8s ease both;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: var(--card-bg);
        transition: left 0.3s ease;
        z-index: 999;
        padding: 30px;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li .btn {
        width: 100%;
        padding: 10px;
    }
    
    .mobile-menu {
        display: block;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .plan-card.featured {
        transform: scale(1);
    }
    
    .plan-card.featured:hover {
        transform: scale(1) translateY(-10px);
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

/* Plans Page Specific Styles */
.plans-hero {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(to right, rgba(15, 32, 39, 0.8), rgba(32, 58, 67, 0.8)), url('assets/server-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.back-link {
    margin-top: 20px;
}

.back-link a {
    color: var(--highlight-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.back-link a:hover {
    color: var(--text-color);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.game-item {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.game-item i {
    font-size: 2rem;
    color: var(--highlight-color);
    margin-bottom: 10px;
    display: block;
}

.game-item span {
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .plans-hero {
        padding: 120px 0 60px;
    }
    
    .category-card {
        min-height: 250px;
        padding: 30px;
    }
}