/* CSS Variables */
:root {
    --archer-gold: #FFD900;
    --archer-orange: #FFA500;
    --archer-navy: #0F1729;
    --archer-surface: #2D3748;
    --archer-muted: #A0AEC0;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: 
        url('images/binding_dark.png'),
        linear-gradient(135deg, var(--archer-navy) 0%, #1a202c 100%);
    background-attachment: fixed;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background gradient effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 165, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Typography */
.font-fira {
    font-family: 'Fira Sans', sans-serif;
}

.text-gradient {
    background: linear-gradient(135deg, var(--archer-gold), var(--archer-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-white {
    color: white;
}

/* Hero Section */
.hero-section {
    padding: 4rem 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.logo-container {
    width: 7rem;
    height: 7rem;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--archer-muted);
    max-width: 36rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Channel Buttons */
.channel-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.channel-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background-color: var(--archer-surface);
    border-radius: 0.75rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.channel-btn:hover {
    background-color: var(--archer-gold);
    color: var(--archer-navy);
}

.games-btn:hover {
    background-color: #2563eb;
    color: white;
}

.youtube-btn:hover {
    background-color: #dc2626;
    color: white;
}

.btn-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

/* Projects Section */
.projects-section {
    padding: 1.5rem 1rem;
}

.projects-content {
    max-width: 64rem;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.section-description {
    color: var(--archer-muted);
    font-size: 1.125rem;
}

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

/* Project Cards */
.project-card {
    background-color: var(--archer-surface);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #4a5568;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
}

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

.card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-right: 0.75rem;
}

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

.card-title {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.25rem;
}

.card-subtitle {
    color: var(--archer-muted);
    font-size: 0.875rem;
}

.card-description {
    color: var(--archer-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    font-size: 0.875rem;
}

.card-button {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    background-color: var(--archer-gold);
    color: var(--archer-navy);
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.card-button:hover {
    background-color: var(--archer-orange);
}

.button-arrow {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.card-button:hover .button-arrow {
    transform: translateX(0.25rem);
}

/* Contact Section */
.contact-section {
    padding: 2rem 1rem;
}

.contact-content {
    max-width: 32rem;
    margin: 0 auto;
}

.contact-box {
    border: 2px solid var(--archer-gold);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    background: transparent;
}

.contact-text {
    color: white;
    font-size: 1.125rem;
}

.contact-link {
    color: var(--archer-gold);
    text-decoration: underline;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.contact-link:hover {
    color: var(--archer-orange);
}

.contact-icon {
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .channel-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .channel-btn {
        width: 100%;
        max-width: 20rem;
        justify-content: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 3rem 1rem 2rem;
    }
    
    .logo-container {
        width: 5rem;
        height: 5rem;
    }
}