
/*
Theme Name: Ypsilon Core V2
Theme URI: https://www.ypsiloncomputers.be
Author: Yuksel Erol / ChatGPT
Description: Modern lightweight WooCommerce gaming theme.
Version: 2.0
License: GPLv2 or later
Text Domain: ypsilon-core
*/

:root{
    --bg:#f4f7fb;
    --surface:#ffffff;
    --text:#111827;
    --muted:#6b7280;

    --blue:#2563eb;
    --green:#16a34a;
    --red:#dc2626;

    --shadow:0 10px 25px rgba(0,0,0,0.08);
    --radius:20px;
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
}

a{
    text-decoration:none;
    color:var(--blue);
}

img{
    max-width:100%;
    display:block;
}

.container{
    width:min(1240px,92%);
    margin:auto;
}

header{
    position:sticky;
    top:0;
    z-index:999;
    background:rgba(255,255,255,0.9);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(0,0,0,0.06);
}

.topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    font-size:1.8rem;
    font-weight:800;
}

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

nav ul{
    display:flex;
    list-style:none;
    gap:24px;
    margin:0;
    padding:0;
    align-items:center;
}

nav a{
    color:var(--text);
    font-weight:600;
}

.hero{
    padding:90px 0 70px;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    gap:50px;
    align-items:center;
}

.hero-badge{
    display:inline-block;
    background:#dcfce7;
    color:#166534;
    padding:8px 14px;
    border-radius:999px;
    font-weight:700;
    margin-bottom:18px;
}

.hero h1{
    font-size:3.5rem;
    line-height:1.05;
    margin:0 0 20px;
}

.gradient{
    background:linear-gradient(90deg,var(--blue),var(--green),var(--red));
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    color:var(--muted);
    font-size:1.1rem;
    max-width:650px;
}

.hero-buttons{
    display:flex;
    gap:16px;
    margin-top:35px;
    flex-wrap:wrap;
}

.btn{
    padding:14px 24px;
    border-radius:14px;
    font-weight:700;
    transition:0.25s;
    display:inline-block;
}

.btn-primary{
    background:linear-gradient(90deg,var(--blue),var(--green));
    color:white;
    box-shadow:var(--shadow);
}

.btn-secondary{
    background:white;
    color:var(--text);
    border:1px solid #d1d5db;
}

.btn:hover{
    transform:translateY(-2px);
}

.hero-image{
    position:relative;
}

.hero-image img{
    border-radius:28px;
    box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.floating-card{
    position:absolute;
    bottom:-20px;
    left:-20px;
    background:white;
    padding:18px;
    border-radius:18px;
    box-shadow:var(--shadow);
    width:220px;
}

.section-title{
    margin:80px 0 25px;
    font-size:2rem;
}

.card-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:var(--surface);
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:0.25s;
}

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

.card-content{
    padding:22px;
}

.card-tag{
    display:inline-block;
    padding:6px 12px;
    border-radius:999px;
    font-size:0.85rem;
    font-weight:700;
    margin-bottom:12px;
}

.blue{
    background:#dbeafe;
    color:#1d4ed8;
}

.green{
    background:#dcfce7;
    color:#15803d;
}

.red{
    background:#fee2e2;
    color:#b91c1c;
}

footer{
    margin-top:90px;
    background:#0f172a;
    color:#cbd5e1;
    padding:45px 0;
}

.woocommerce ul.products li.product{
    border:none;
    border-radius:20px;
    overflow:hidden;
    background:white;
    box-shadow:var(--shadow);
    padding:15px;
}

@media(max-width:900px){

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

    .hero h1{
        font-size:2.6rem;
    }

    nav ul{
        gap:12px;
        font-size:0.9rem;
    }

    .floating-card{
        position:relative;
        left:auto;
        bottom:auto;
        width:100%;
        margin-top:20px;
    }
}
