/* ==========================================
YAARWIN ULTRA-FAST UI 2026
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #060606;
    color: #fff;
    overflow-x: hidden;
}

/* ================= BACKGROUND (GPU Optimized) ================= */
.background {
    position: fixed;
    inset: 0;
    z-index: -10;
    /* Replaced heavy blur divs with native CSS gradients which are 100x faster */
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 255, 102, 0.15), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 191, 255, 0.1), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(125, 44, 255, 0.05), transparent 50%),
        linear-gradient(160deg, #050505, #0b0b0b, #050505);
}

/* ================= HEADER ================= */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 18px 8%;
    z-index: 999;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.85);
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 60px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.5);
}

.logo span {
    font-size: 28px;
    font-weight: 700;
}

/* ================= HERO ================= */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 140px 20px 80px;
}

.glass {
    max-width: 920px;
    width: 100%;
    padding: 60px;
    border-radius: 35px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: transform 0.3s ease;
}

.hero-logo {
    width: 140px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 65px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero span {
    color: #00ff66;
    text-shadow: 0 0 15px rgba(0, 255, 102, 0.5);
}

.hero p {
    font-size: 18px;
    line-height: 1.8;
    color: #ddd;
    max-width: 700px;
    margin: auto;
}

/* ================= FAST BUTTONS ================= */
.buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 45px;
}

.btn {
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.1s ease, box-shadow 0.2s ease; /* Faster transition for instant feel */
    cursor: pointer;
}

/* INSTANT FEEDBACK ON CLICK */
.btn:active {
    transform: scale(0.95) !important;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 255, 102, 0.2);
}

.register { background: linear-gradient(45deg, #00ff66, #00b248); }
.login { background: linear-gradient(45deg, #0099ff, #005dff); }
.support { background: linear-gradient(45deg, #8f00ff, #5b00d4); }
.vip { background: linear-gradient(45deg, #ffb000, #ff6b00); }

/* ================= FEATURES ================= */
.features {
    padding: 90px 8%;
}

.features h2 {
    text-align: center;
    font-size: 46px;
    margin-bottom: 55px;
}

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

.card {
    padding: 35px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 255, 102, 0.1);
}

.card i {
    font-size: 42px;
    color: #00ff66;
    margin-bottom: 18px;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 24px;
}

.card p {
    color: #cfcfcf;
    line-height: 1.6;
}

/* ================= FOOTER ================= */
footer {
    padding: 35px;
    margin-top: 60px;
    text-align: center;
    background: #090909;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer p {
    color: #bcbcbc;
    margin: 10px 0;
}

footer b {
    color: #00ff66;
}

/* ================= EXTRA EFFECTS (Optimized) ================= */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media(max-width: 900px) {
    .hero h1 { font-size: 48px; }
    .glass { padding: 40px 25px; }
}

@media(max-width: 700px) {
    .buttons { flex-direction: column; }
    .btn { justify-content: center; width: 100%; }
    .hero h1 { font-size: 38px; }
    .features h2 { font-size: 34px; }
    .logo span { font-size: 22px; }
}
