/* 
    DEVFORGE Design System - Gaming Edition
    Inspired by Ayouka.com & Amazon Appstore
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors */
    --bg-main: #050505;
    --bg-secondary: #0a0a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-primary: #00f2ff; /* Cyber Blue */
    --accent-secondary: #bc13fe; /* Neon Purple */
    --accent-amazon: #FF9900; /* Amazon Orange */
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --gradient-amazon: linear-gradient(135deg, #FF9900, #FF6600);
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(15px);
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Animation */
    --transition-smooth: all 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

        body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Ffilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 9999;
}

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

html {
    scroll-behavior: initial;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

#cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.cursor-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

.cursor-active {
    background: white;
    mix-blend-mode: difference;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: var(--gradient-hero);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 242, 255, 0.3);
}

.btn-secondary {
    padding: 1rem 2rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background: var(--glass-border);
    border-color: var(--text-secondary);
}

.btn-amazon {
    padding: 0.8rem 2rem;
    background: #000;
    border: 1px solid var(--accent-amazon);
    border-radius: 12px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.btn-amazon:hover {
    background: var(--accent-amazon);
    color: black;
    transform: translateY(-3px);
}

.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Navigation */
nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 1000;
    padding: 1rem 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.logo span {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
}

#hero h1 {
    font-size: clamp(4rem, 10vw, 7rem);
    line-height: 0.9;
    margin-bottom: 3rem;
}

#hero p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 4rem;
}

/* Games Section */
#games {
    padding: 150px 0;
}

.section-header {
    margin-bottom: 6rem;
}

.section-header h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
}

.game-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.game-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.game-card:hover img {
    transform: scale(1.1);
}

.game-info {
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.game-card:hover .game-info {
    transform: translateY(0);
}

.platform-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.game-info h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.game-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Amazon Section */
#amazon-featured {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 153, 0, 0.05) 0%, transparent 70%);
}

.amazon-banner {
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 153, 0, 0.2);
}

.amazon-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* About Section */
#about {
    padding: 150px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-visual {
    height: 500px;
    border-radius: 32px;
    background-image: url('assets/hero_kids.png');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
}

/* Process Section */
#process {
    padding: 150px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.process-card {
    padding: 4rem 3rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
}

.process-num {
    font-size: 5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -1rem;
    right: 1rem;
    transition: var(--transition-smooth);
}

.process-card:hover .process-num {
    color: rgba(0, 242, 255, 0.1);
    transform: scale(1.1);
}

.process-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.process-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Terms Section - Enlarged */
#terms {
    padding: 150px 0;
    background: var(--bg-secondary);
}

.terms-big {
    padding: 6rem;
}

.terms-big-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.terms-big-content h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.big-p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    line-height: 1.6;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: left;
}

.term-point h3 {
    color: var(--accent-primary);
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.term-point p {
    color: var(--text-secondary);
}

/* Contact Section */
#contact {
    padding: 100px 0;
}

.contact-box {
    max-width: 1000px;
    margin: 0 auto;
    padding: 6rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group.full {
    grid-column: span 2;
}

input, textarea {
    width: 100%;
    padding: 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    color: white;
    font-size: 1.1rem;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* Footer */
footer {
    padding: 80px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.footer-logo span {
    color: var(--accent-primary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}

@media (max-width: 1024px) {
    .container { padding: 0 2rem; }
    .about-grid { grid-template-columns: 1fr; }
    .terms-grid { grid-template-columns: 1fr; text-align: center; }
    .terms-big { padding: 4rem 2rem; }
}

@media (max-width: 768px) {
    #hero h1 { font-size: 4rem; }
    .games-grid { grid-template-columns: 1fr; }
    .contact-form { grid-template-columns: 1fr; }
    .form-group.full { grid-column: span 1; }
    .nav-links { display: none; }
    .terms-big-content h2 { font-size: 3rem; }
}

.contact-email {
    margin-top: 3rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.contact-email a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.contact-email a:hover {
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.6);
    transform: translateY(-2px);
}