/* 4weird Games - Main Stylesheet */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: rgba(26, 26, 37, 0.8);
    --neon-purple: #8b5cf6;
    --neon-purple-light: #a78bfa;
    --neon-purple-dark: #7c3aed;
    --neon-green: #10b981;
    --neon-green-light: #34d399;
    --neon-green-dark: #059669;
    --text-primary: #f5f5f5;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-purple), var(--neon-green));
    border-radius: 5px;
}
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
}
.logo:hover { transform: scale(1.05); }
.logo-emoji { font-size: 1.6rem; animation: float 3s ease-in-out infinite; }
.logo-text {
    background: linear-gradient(135deg, var(--text-primary), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-accent {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 25px; height: 3px; background: var(--text-primary); border-radius: 3px; }
.nav-menu { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-link {
    display: block;
    padding: 10px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: 0.3s ease;
}
.nav-link:hover { color: var(--text-primary); background: rgba(139, 92, 246, 0.1); }
.nav-cta {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-purple-dark));
    color: white !important;
}
.nav-cta:hover { box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); }
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
}
.hero-content { max-width: 900px; position: relative; }
.floating-orbs {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    font-size: 2rem;
}
.orb { animation: float 3s ease-in-out infinite; }
.orb:nth-child(1) { animation-delay: 0s; }
.orb:nth-child(2) { animation-delay: 0.5s; }
.orb:nth-child(3) { animation-delay: 1s; }
.orb:nth-child(4) { animation-delay: 1.5s; }
.orb:nth-child(5) { animation-delay: 2s; }
.orb:nth-child(6) { animation-delay: 2.5s; }
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 20px;
}
.title-accent {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--neon-purple-light);
    margin-bottom: 15px;
    min-height: 2rem;
}
.typewriter { color: var(--neon-green); }
.cursor { animation: blink 1s step-end infinite; color: var(--neon-purple); }
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 40px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-purple-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5); }
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--neon-green);
}
.btn-secondary:hover { background: var(--neon-green); color: var(--bg-primary); transform: translateY(-3px); }
.btn-game { width: 100%; justify-content: center; margin-top: auto; }
.btn-disabled { opacity: 0.5; cursor: not-allowed; }
.btn-emoji { font-size: 1.2rem; }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; }
.scroll-arrow { font-size: 2rem; color: var(--neon-purple); opacity: 0.7; }
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-emoji { font-size: 3rem; display: block; margin-bottom: 15px; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text-primary), var(--neon-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 500px; margin: 0 auto; }
.about { background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); }
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.about-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: 0.3s ease;
}
.about-card:hover { transform: translateY(-8px); border-color: var(--neon-purple); box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
.about-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 15px; }
.about-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.about-card a { color: var(--neon-purple-light); text-decoration: none; border-bottom: 1px solid transparent; transition: 0.3s ease; }
.about-card a:hover { border-color: var(--neon-purple-light); }
.card-icon { font-size: 3rem; margin-bottom: 20px; animation: pulse 2s ease-in-out infinite; }
.parent-company { border-color: var(--neon-green); background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(139, 92, 246, 0.05)); }
.parent-company:hover { box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }
.slogan-highlight { font-family: var(--font-display); font-size: 1rem; color: var(--neon-green); font-weight: 700; margin-top: 15px; text-transform: uppercase; letter-spacing: 2px; }
.ai-section { background: var(--bg-secondary); }
.ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.ai-feature { background: var(--bg-card); border-radius: 16px; padding: 25px; border: 1px solid rgba(139, 92, 246, 0.15); transition: 0.3s ease; }
.ai-feature:hover { border-color: var(--neon-green); transform: scale(1.02); }
.ai-icon { font-size: 2.5rem; margin-bottom: 15px; }
.ai-feature h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 10px; color: var(--neon-green-light); }
.ai-feature p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.ai-feature a { color: var(--neon-purple-light); text-decoration: none; }
.tech { background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.tech-card { background: var(--bg-card); border-radius: 20px; padding: 30px; border: 1px solid rgba(139, 92, 246, 0.2); transition: 0.3s ease; }
.tech-card:hover { transform: translateY(-10px); border-color: var(--neon-purple); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); }
.tech-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.tech-emoji { font-size: 2.5rem; }
.tech-card h3 { font-family: var(--font-display); font-size: 1.4rem; }
.tech-tag { font-size: 0.75rem; padding: 4px 10px; background: rgba(139, 92, 246, 0.2); color: var(--neon-purple-light); border-radius: 20px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.tech-desc { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.7; }
.tech-features { list-style: none; }
.tech-features li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--text-secondary); font-size: 0.9rem; }
.check { color: var(--neon-green); font-weight: bold; }
.games { background: var(--bg-secondary); }
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.game-card { background: var(--bg-card); border-radius: 20px; overflow: hidden; border: 1px solid rgba(139, 92, 246, 0.2); transition: 0.3s ease; display: flex; flex-direction: column; }
.game-card:hover { transform: translateY(-8px); border-color: var(--neon-purple); }
.game-card.live { border-color: var(--neon-green); }
.game-card.live:hover { box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }
.game-thumbnail { position: relative; height: 200px; overflow: hidden; }
.thumb-bg { width: 100%; height: 100%; background-size: cover; background-position: center; }
.thumb-demolichdom { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%); position: relative; }
.thumb-demolichdom::before { content: '🧙‍♂️ ⚔️ 🏰 💀'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 3rem; letter-spacing: 10px; animation: float 3s ease-in-out infinite; }
.thumb-serversaver { background: linear-gradient(135deg, #0f0f23 0%, #1e3a5f 50%, #0d47a1 100%); position: relative; }
.thumb-serversaver::before { content: '�️ 🤖 🖥️ 🔥'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 2.5rem; letter-spacing: 8px; animation: float 3s ease-in-out infinite; }
.thumb-placeholder-2 { background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%); position: relative; }
.thumb-placeholder-2::before { content: '🎭'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 4rem; opacity: 0.5; }
.thumb-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s ease; }
.game-card:hover .thumb-overlay { opacity: 1; }
.play-btn { font-size: 4rem; animation: pulse 1.5s ease-in-out infinite; }
.cs-text { font-size: 5rem; font-family: var(--font-display); color: var(--neon-purple); opacity: 0.5; }
.game-badge { position: absolute; top: 15px; right: 15px; padding: 6px 12px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 20px; }
.live-badge { background: var(--neon-green); color: var(--bg-primary); animation: pulse 2s ease-in-out infinite; }
.cs-badge { background: var(--bg-tertiary); color: var(--text-muted); }
.game-info { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.game-title { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 12px; }
.game-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin-bottom: 15px; }
.game-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tag { font-size: 0.75rem; padding: 4px 10px; background: rgba(139, 92, 246, 0.15); color: var(--neon-purple-light); border-radius: 15px; }
.thumb-fridge { background: linear-gradient(135deg, #1a1a2e 0%, #2d5a3d 50%, #1a3a2e 100%); position: relative; }
.thumb-fridge::before { content: '🍳 🌍 👥 🍎'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 2.5rem; letter-spacing: 8px; animation: float 3s ease-in-out infinite; }
.thumb-discoveramerica { background: linear-gradient(135deg, #06121f 0%, #0b2a4a 50%, #103a63 100%); position: relative; }
.thumb-discoveramerica::before { content: '🧭 ⛵ 🌊 🗽'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 2.5rem; letter-spacing: 8px; animation: float 3s ease-in-out infinite; }
.team { background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 800px; margin: 0 auto; }
.team-card { background: var(--bg-card); border-radius: 24px; padding: 40px; text-align: center; border: 1px solid rgba(139, 92, 246, 0.2); transition: 0.3s ease; }
.team-card:hover { transform: translateY(-5px); border-color: var(--neon-purple); }
.team-avatar { width: 100px; height: 100px; background: linear-gradient(135deg, var(--neon-purple), var(--neon-green)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
.avatar-emoji { font-size: 3.5rem; }
.team-name { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 8px; }
.team-role { color: var(--neon-purple-light); font-size: 0.95rem; font-weight: 500; margin-bottom: 20px; }
.team-bio { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.team-link { display: inline-flex; align-items: center; gap: 5px; color: var(--neon-green); text-decoration: none; font-weight: 500; }
.team-link:hover { color: var(--neon-green-light); }
.link-emoji { font-size: 1rem; }
.team-stats { display: flex; justify-content: center; gap: 40px; margin-top: 20px; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--neon-purple); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.hiring-cta { text-align: center; margin-top: 60px; padding: 40px; background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(16, 185, 129, 0.1)); border-radius: 20px; border: 1px dashed rgba(139, 92, 246, 0.3); }
.hiring-text { font-size: 1.3rem; margin-bottom: 20px; }
.contribute { background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); }
.contribute-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; }
.contribute-step { position: relative; background: var(--bg-card); backdrop-filter: blur(10px); border: 1px solid rgba(139, 92, 246, 0.2); border-radius: 20px; padding: 30px; transition: 0.3s ease; }
.contribute-step:hover { transform: translateY(-8px); border-color: var(--neon-green); box-shadow: 0 0 20px rgba(16, 185, 129, 0.25); }
.step-num { position: absolute; top: -16px; left: 24px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--bg-primary); background: linear-gradient(135deg, var(--neon-purple), var(--neon-green)); border-radius: 50%; box-shadow: 0 0 12px rgba(139, 92, 246, 0.4); }
.step-icon { font-size: 2.5rem; margin-bottom: 15px; }
.contribute-step h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 12px; color: var(--neon-purple-light); }
.contribute-step p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.contribute-step code { font-family: monospace; font-size: 0.82rem; color: var(--neon-green-light); background: rgba(16, 185, 129, 0.1); padding: 2px 6px; border-radius: 5px; }
.contribute-cta { text-align: center; margin-top: 60px; padding: 40px; background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(16, 185, 129, 0.12)); border-radius: 20px; border: 1px dashed rgba(16, 185, 129, 0.4); }
.contribute-text { font-size: 1.3rem; margin-bottom: 25px; }
.contribute-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact { background: var(--bg-primary); }
.contact-content { max-width: 600px; margin: 0 auto; }
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.contact-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px; background: var(--bg-card); border-radius: 20px; border: 1px solid rgba(139, 92, 246, 0.2); transition: 0.3s ease; }
.contact-item:hover { transform: translateY(-5px); border-color: var(--neon-purple); }
.contact-icon { font-size: 2.5rem; margin-bottom: 15px; }
.contact-details h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 10px; }
.contact-details p { color: var(--text-secondary); font-size: 0.95rem; }
.contact-details a { color: var(--neon-purple-light); text-decoration: none; font-weight: 500; transition: 0.3s ease; }
.contact-details a:hover { color: var(--neon-green-light); }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-full { width: 100%; justify-content: center; }
.footer { background: var(--bg-secondary); border-top: 1px solid rgba(139, 92, 246, 0.2); padding: 60px 0 30px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.footer-accent { color: var(--neon-purple); }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; margin-top: 5px; }
.footer-links { display: flex; gap: 30px; }
.footer-link { color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; transition: 0.3s ease; }
.footer-link:hover { color: var(--neon-purple); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(139, 92, 246, 0.1); }
.footer-copyright { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; }
.footer-copyright a { color: var(--neon-purple-light); text-decoration: none; }
.footer-location { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 15px; }
.footer-slogan { font-family: var(--font-display); font-size: 0.85rem; color: var(--neon-green); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}
.reveal { opacity: 0; transform: translateY(30px); transition: 0.6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        padding: 20px;
        gap: 10px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
    }
    .nav-menu.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .hero { padding-top: 100px; }
    .contact-content { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}
