:root {
    --primary-color: rgba(5, 1, 27, 1);
    --secondary-color: #7e57c2;
    --accent-color: #ff9800;
    --light-color: #f5f5f5;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: #080324;
    color: white;
    line-height: 1.6;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="rgba(5,1,27,1)"/><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="40" r="0.8" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="20" r="1.2" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="90" r="0.9" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="70" r="1.1" fill="rgba(255,255,255,0.1)"/></svg>');
}

header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: white;
    margin-left: 10px;
}

.logo span {
    color: var(--accent-color);
}

.logo span img{
    height: 4rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(5, 1, 27, 0.8), rgba(5, 1, 27, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><rect width="200" height="200" fill="rgba(5,1,27,0.7)"/><path d="M50,50 L150,50 L150,150 L50,150 Z" stroke="rgba(126,87,194,0.2)" stroke-width="5" fill="none"/><circle cx="100" cy="100" r="30" stroke="rgba(255,152,0,0.2)" stroke-width="5" fill="none"/></svg>');
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(126, 87, 194, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 152, 0, 0.1) 0%, transparent 20%);
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.btn-outline {
    background: transparent;
    margin-left: 15px;
}

.btn-outline:hover {
    background: rgba(255, 152, 0, 0.1);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    color: white;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.courses {
    padding: 5rem 0;
    background-color: rgba(8, 3, 36, 0.97);
}

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

.course-card {
    background: rgba(15, 6, 57, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid rgba(126, 87, 194, 0.2);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.course-image {
    height: 200px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.course-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(8, 3, 36, 0.9) 100%);
}

.course-level {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.course-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.course-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.about {
    padding: 5rem 0;
    background: linear-gradient(to bottom, rgba(8, 3, 36, 0.97) 0%, rgba(15, 6, 57, 0.95) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    height: 400px;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.about-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.testimonials {
    padding: 5rem 0;
    background-color: rgba(15, 6, 57, 0.95);
}

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

.testimonial-card {
    background: rgba(8, 3, 36, 0.97);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(126, 87, 194, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(126, 87, 194, 0.1);
    font-family: serif;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
}

.testimonial-info h4 {
    color: white;
    margin-bottom: 0.2rem;
}

.testimonial-info p {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.cta {
    padding: 5rem 0;
    background: linear-gradient(rgba(5, 1, 27, 0.9), rgba(5, 1, 27, 0.95)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><rect width="200" height="200" fill="rgba(5,1,27,0.7)"/><path d="M20,20 L180,20 L180,180 L20,180 Z" stroke="rgba(126,87,194,0.2)" stroke-width="5" fill="none"/></svg>');
    background-size: cover;
    text-align: center;
}

.cta h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

footer {
    background-color: var(--primary-color);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.contact-info div {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-icon {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Pixelated elements for gaming theme */
.pixel-decoration {
    position: absolute;
    background-color: var(--secondary-color);
    opacity: 0.1;
}

.gamepad-icon {
    font-size: 1.5rem;
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}