
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0ea5e9;
    --dark-blue: #0c4a6e;
    --light-blue: #38bdf8;
    --cyan: #06b6d4;
    --electric-blue: #00d9ff;
    --deep-blue: #0a1929;
    --navy: #0f172a;
    --slate: #1e293b;
    --white: #ffffff;
    --gray: #94a3b8;
    
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    --gradient-dark: linear-gradient(135deg, #0a1929 0%, #0c4a6e 100%);
    --gradient-glow: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(14, 165, 233, 0.5);
    --shadow-glow-strong: 0 0 50px rgba(6, 182, 212, 0.7);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--deep-blue);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(14, 165, 233, 0.3);
    box-shadow: var(--shadow-lg);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.navbar-logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.6));
    transition: all 0.3s ease;
}

.navbar-logo:hover img {
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.9));
    transform: scale(1.05) rotate(5deg);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar-menu a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.navbar-menu a:hover {
    color: var(--light-blue);
}

.navbar-menu a:hover::after {
    width: 100%;
}

.navbar-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md), 0 0 20px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: rgba(14, 165, 233, 0.2);
    border-color: var(--electric-blue);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/mc1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.95) 0%, rgba(12, 74, 110, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d9ff 0%, #38bdf8 50%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 50px rgba(14, 165, 233, 0.5);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(6, 182, 212, 0.9));
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--light-blue);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--light-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan);
    animation: float 15s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; }

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

.games-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.game-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(14, 165, 233, 0.2);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--electric-blue);
    box-shadow: var(--shadow-glow-strong);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-card-image {
    transform: scale(1.1);
}

.game-card-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.game-card-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--light-blue);
}

.game-card-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.game-card-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--electric-blue), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.pricing-card:hover::before {
    opacity: 0.1;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--electric-blue);
    box-shadow: var(--shadow-glow);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.pricing-name {
    font-size: 1.5rem;
    color: var(--light-blue);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--white);
}

.pricing-price span {
    font-size: 1rem;
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--cyan);
    font-weight: bold;
    font-size: 1.2rem;
}

.form-container {
    max-width: 500px;
    margin: 5rem auto;
    padding: 3rem;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(14, 165, 233, 0.3);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--light-blue);
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(14, 165, 233, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--electric-blue);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.form-input::placeholder {
    color: var(--gray);
}

.dashboard {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(14, 165, 233, 0.3);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--electric-blue);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-size: 1rem;
}

.server-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(14, 165, 233, 0.3);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.server-card:hover {
    border-color: var(--electric-blue);
    box-shadow: var(--shadow-glow);
}

.server-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.status-running {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.status-stopped {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.6);
}

.footer {
    background: rgba(15, 23, 42, 0.95);
    padding: 3rem 2rem 1rem;
    margin-top: 5rem;
    border-top: 2px solid rgba(14, 165, 233, 0.3);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--light-blue);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-blue);
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.p-2 { padding: 2rem; }