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

html, body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Fira Sans', sans-serif;
    background: #1a1a1a;
}

#parallax-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

/* Darkening overlay filter */
.parallax-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.35);
    z-index: 5;
    pointer-events: none;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: 0 0;
}

/* Hero Content - Centered overlay */
.hero-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    z-index: 10;
    pointer-events: none;
}

/* Learn Content - Centered overlay */
.learn-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    z-index: 10;
    pointer-events: none;
}

.learn-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
}

.learn-section h1 {
    font-family: 'Averia Gruesa Libre', cursive;
    font-weight: 400;
    font-size: 2.1rem;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 
        2px 2px 0 rgba(0, 0, 0, 0.9),
        3px 3px 0 rgba(0, 0, 0, 0.7),
        4px 4px 2px rgba(0, 0, 0, 0.8);
    line-height: 1;
    margin: 0;
}

.learn-section .back-link {
    color: #a5b4fc;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.learn-section .back-link:hover {
    color: #c7d2fe;
    text-decoration: underline;
}

/* Games Content - Centered overlay */
.games-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    z-index: 10;
    pointer-events: none;
}

.games-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
}

.games-section h1 {
    font-family: 'Averia Gruesa Libre', cursive;
    font-weight: 400;
    font-size: 2.1rem;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 
        2px 2px 0 rgba(0, 0, 0, 0.9),
        3px 3px 0 rgba(0, 0, 0, 0.7),
        4px 4px 2px rgba(0, 0, 0, 0.8);
    line-height: 1;
    margin: 0;
}

.games-section .back-link {
    color: #a5b4fc;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.games-section .back-link:hover {
    color: #c7d2fe;
    text-decoration: underline;
}

/* Slide-up animation on page load */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    position: relative;
    animation: slideUp 0.4s ease-out forwards;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 25px 5px rgba(255, 255, 255, 0.6);
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px 8px rgba(255, 255, 255, 0.7);
}

.profile-section h1 {
    font-family: 'Averia Gruesa Libre', cursive;
    font-weight: 400;
    font-size: 1.9rem;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 
        2px 2px 0 rgba(0, 0, 0, 0.9),
        3px 3px 0 rgba(0, 0, 0, 0.7),
        4px 4px 2px rgba(0, 0, 0, 0.8);
    line-height: 1;
    margin: 0;
    position: relative;
    z-index: 2;
    padding-bottom: 4px;
}

.profile-section h1 .email-link {
    color: #a5b4fc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.profile-section h1 .email-link:hover {
    color: #c7d2fe;
    text-decoration: underline;
}

/* Social Media Buttons */
.social-buttons {
    display: flex;
    gap: 16px;
    margin-top: 6px;
    justify-content: center;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(50, 59, 153, 0.8);
    border: 2px solid rgba(82, 85, 176, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #f8fafc;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5),
        0 3px 10px rgba(0, 0, 0, 0.4);
}

.social-btn svg {
    width: 26px;
    height: 26px;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.6),
        0 5px 15px rgba(0, 0, 0, 0.5);
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(100, 116, 139, 0.8);
}

.social-btn.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: white;
}

.social-btn.tiktok:hover {
    background: #3cbaba;
    border-color: #3cbaba;
    color: white;
}

.social-btn.github:hover {
    background: #d12e84;
    border-color: #d12e84;
    color: white;
}

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

.social-btn.x:hover {
    background: #000;
    border-color: #000;
    color: white;
}

.social-btn.email:hover {
    background: #e8754b;
    border-color: #e8754b;
    color: white;
}

/* Hero Action Buttons */
.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    justify-content: center;
}

.hero-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(50, 59, 153, 0.8);
    border: 2px solid rgba(82, 85, 176, 0.6);
    color: #f8fafc;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5),
        0 3px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.6),
        0 5px 15px rgba(0, 0, 0, 0.5);
}

.hero-btn.shop-btn:hover {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.hero-btn.learn-btn:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: white;
}

.hero-btn.games-btn:hover {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: white;
}

.hero-btn.bugs-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.hero-btn svg {
    width: 18px;
    height: 18px;
}

/* Course Cards */
.course-cards {
    display: flex;
    gap: 24px;
    margin: 20px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.course-card {
    background: rgba(30, 35, 60, 0.9);
    border-radius: 16px;
    overflow: hidden;
    width: 320px;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.5),
        0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(64, 66, 145, 0.4);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 6px 20px rgba(0, 0, 0, 0.5);
    border-color: rgba(73, 55, 144, 0.6);
}

.course-image {
    width: 100%;
    height: auto;
    display: block;
}

.course-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.course-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

.course-description {
    font-family: 'Fira Sans', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

.course-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    background: rgba(50, 59, 153, 0.9);
    margin-top: auto;
    color: #f8fafc;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(82, 85, 176, 0.6);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5),
        0 3px 10px rgba(0, 0, 0, 0.4);
}

.course-btn:hover {
    background: #6366f1;
    border-color: #5557d8;
    transform: translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.6),
        0 5px 15px rgba(0, 0, 0, 0.5);
}

.course-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.course-btn .btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.course-btn .btn-text-main {
    font-weight: 600;
    font-size: 0.9rem;
}

.course-btn .btn-text-sub {
    font-weight: 500;
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Responsive - narrow screens */
@media (max-width: 400px) {
    .social-buttons {
        max-width: 200px;
        flex-wrap: wrap;
    }
}
