/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B6B;
    --secondary: #4ECDC4;
    --accent1: #FFD166;
    --accent2: #6A4C93;
    --accent3: #06D6A0;
    --dark: #1A1A2E;
    --light: #F7F7F7;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Background Elements */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.pixel-1, .pixel-2, .pixel-3, .pixel-4, .pixel-5 {
    position: absolute;
    border-radius: 5px;
    animation: float 15s infinite linear;
}

.pixel-1 {
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.pixel-2 {
    width: 15px;
    height: 15px;
    background-color: var(--secondary);
    top: 70%;
    left: 10%;
    animation-delay: 3s;
}

.pixel-3 {
    width: 25px;
    height: 25px;
    background-color: var(--accent1);
    top: 40%;
    left: 90%;
    animation-delay: 6s;
}

.pixel-4 {
    width: 10px;
    height: 10px;
    background-color: var(--accent2);
    top: 20%;
    left: 80%;
    animation-delay: 9s;
}

.pixel-5 {
    width: 18px;
    height: 18px;
    background-color: var(--accent3);
    top: 80%;
    left: 85%;
    animation-delay: 12s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 0.7;
    }
}

/* Header Styles */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: var(--light);
}

.gaming {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

.main-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--accent2), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.btn.primary {
    background-color: var(--primary);
    color: var(--dark);
}

.btn.primary:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn.secondary {
    background-color: transparent;
    color: var(--light);
    border: 2px solid var(--secondary);
}

.btn.secondary:hover {
    background-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(78, 205, 196, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.game-controller {
    position: absolute;
    width: 150px;
    height: 100px;
    background: linear-gradient(45deg, var(--accent2), var(--primary));
    border-radius: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

.game-controller::before, .game-controller::after {
    content: '';
    position: absolute;
    background-color: var(--dark);
    border-radius: 50%;
}

.game-controller::before {
    width: 40px;
    height: 40px;
    top: 10px;
    left: 20px;
}

.game-controller::after {
    width: 40px;
    height: 40px;
    top: 10px;
    right: 20px;
}

.pixel-art {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--secondary), var(--accent3));
    top: 30%;
    left: 30%;
    border-radius: 10px;
    animation: bounce 3s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--primary);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--accent1);
    margin-bottom: 5px;
}

.stat p {
    font-size: 1rem;
    color: #ccc;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.game-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.icon {
    font-size: 4rem;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    animation: spin 10s infinite linear;
}

.icon-1 {
    background-color: rgba(255, 107, 107, 0.2);
    animation-delay: 0s;
}

.icon-2 {
    background-color: rgba(78, 205, 196, 0.2);
    animation-delay: 2.5s;
}

.icon-3 {
    background-color: rgba(255, 209, 102, 0.2);
    animation-delay: 5s;
}

.icon-4 {
    background-color: rgba(106, 76, 147, 0.2);
    animation-delay: 7.5s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Content Section */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.content-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.content-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent1);
}

.content-card p {
    color: #ccc;
}

/* Schedule Section */
.calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.day {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    border-left: 5px solid var(--accent3);
}

.day:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.day h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.day p {
    margin-bottom: 10px;
    color: #ccc;
}

.game-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--accent2);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
}

.schedule-notice {
    text-align: center;
    font-style: italic;
    color: #aaa;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.social-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    color: var(--light);
    transition: all 0.3s;
    border-left: 5px solid;
}

.social-link:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

.social-link.twitch {
    border-left-color: #9146FF;
}

.social-link.youtube {
    border-left-color: #FF0000;
}

.social-link.twitter {
    border-left-color: #1DA1F2;
}

.social-link.instagram {
    border-left-color: #E4405F;
}

.social-link.discord {
    border-left-color: #5865F2;
}

.social-icon {
    font-size: 1.5rem;
    margin-right: 15px;
}

.newsletter {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--accent1);
}

.newsletter p {
    margin-bottom: 20px;
    color: #ccc;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 15px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: #aaa;
}

.newsletter-form button {
    padding: 15px;
    border-radius: 10px;
    border: none;
    background: var(--primary);
    color: var(--dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: #ff5252;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        margin-bottom: 50px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar {
        grid-template-columns: 1fr;
    }
}