:root {
    /* Modern Gaming Color Scheme */
    --bg-dark: #0B1622;
    --bg-card: #1A2634;
    --text-dark: #E6EDF3;
    --primary-dark: #4C9EFF;
    --secondary-dark: #1F6FEB;
    --accent-color: #58A6FF;
    --gradient-dark: linear-gradient(135deg, #1A2634 0%, #0B1622 100%);

    /* Platform Colors */
    --discord-color: #5865F2;
    --twitch-color: #9146FF;
    --youtube-color: #FF0000;
    --twitter-color: #1DA1F2;

    /* Animations */
    --transition-speed: 0.3s;

    --bg-light: #ffffff;
    --text-light: #0a1929;
    --primary-light: #0059B2;
    --secondary-light: #C2E0FF;
    --gradient-light: linear-gradient(45deg, #C2E0FF, #E6F0F7);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: var(--bg-dark);
    color: var(--text-dark);
    transition: background-color 0.3s, color 0.3s;
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

body:not(.dark-mode) {
    background-color: var(--bg-light);
    color: var(--text-light);
}

.theme-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

#themeToggle {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.dark-mode #themeToggle {
    background-color: var(--secondary-dark);
}

body:not(.dark-mode) #themeToggle {
    background-color: var(--secondary-light);
}

nav {
    background: rgba(11, 22, 34, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-dark), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-dark);
}

main {
    padding-top: 80px;
}

section {
    padding: 4rem 5%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.construction-banner {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: #ffd700;
    color: #000;
    z-index: 99;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(76, 158, 255, 0.1) 0%, rgba(11, 22, 34, 0) 70%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: transparent;
    color: inherit;
}

button {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #5865f2;
}

.social-links {
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-icon {
    font-size: 2rem;
    color: inherit;
    transition: color 0.3s;
}

.social-icon:hover {
    color: var(--primary-dark);
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary-dark);
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section Styles */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.profile-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(76, 158, 255, 0.3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-background {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    border-radius: 20px;
    filter: blur(20px);
    opacity: 0.3;
    z-index: 1;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:first-child {
    background: var(--accent-color);
    color: var(--bg-dark);
}

.cta-button.secondary {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

/* Social Media Cards */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.social-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-card);
    transition: transform var(--transition-speed);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.social-card:hover {
    transform: translateY(-10px);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.social-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.social-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

.platform-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Platform-specific buttons */
.social-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.discord-btn { background: var(--discord-color); color: white; }
.twitch-btn { background: var(--twitch-color); color: white; }
.youtube-btn { background: var(--youtube-color); color: white; }
.twitter-btn { background: var(--twitter-color); color: white; }

.social-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Tech Stack Badges */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-badge {
    padding: 0.5rem 1rem;
    background: rgba(76, 158, 255, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-color);
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.8;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content, .social-card {
    animation: fadeIn 1s ease-out forwards;
}
