/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* BODY */
body {
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* LOGO */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: 700;
    color: #ff7a00;
    letter-spacing: 1px;
    top: 15px;
}

/* MENU BUTTON */
.menu-btn {
    display: none;
    font-size: 26px;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

/* NAV LINKS */
nav ul {
    position: absolute;
    right: 40px;
    display: flex;
    gap: 35px;
    list-style: none;
}

nav ul li {
    cursor: pointer;
    color: #aaa;
    font-size: 15px;
    padding: 6px;
    position: relative;
    transition: 0.3s;
}

nav ul li:hover {
    color: #fff;
}

/* UNDERLINE */
nav ul li::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #ff7a00;
    position: absolute;
    bottom: -4px;
    left: 0;
    transition: 0.3s;
}

nav ul li:hover::after {
    width: 100%;
}

/* SECTION */
.section {
    display: none;
    padding: 70px 20px 10px;
}

.active {
    display: block;
}

/* HERO */
.hero {
    position: relative;
    min-height: 80vh;
    padding: 30px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(255,122,0,0.3), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(140px);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    margin: auto;
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 12px;
}

.hero p {
    color: #bbb;
    margin-bottom: 16px;
}

.hero-btn {
    padding: 10px 24px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(45deg,#ff7a00,#ff3c00);
    color: #fff;
    cursor: pointer;
}

/* PARTICLES */
.particles span {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    opacity: 0.8;
}

.particles span:nth-child(1){ background:#ff3c00; top:10%; left:20%; }
.particles span:nth-child(2){ background:#2563eb; top:50%; left:85%; }
.particles span:nth-child(3){ background:#ffcc00; top:75%; left:30%; }
.particles span:nth-child(4){ background:#ff00aa; top:25%; left:70%; }
.particles span:nth-child(5){ background:#00ffaa; top:85%; left:60%; }
.particles span:nth-child(6){ background:#ffaa00; top:45%; left:10%; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-50px); }
    100% { transform: translateY(0px); }
}

/* GRID */
.container {
    display: grid;
    gap: 20px;
    padding: 0 15px;
}

/* CARD */
.card {
    background: linear-gradient(135deg, #3a0d1a, #140814);
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #ff3c00;
    box-shadow: 0 10px 30px rgba(255,0,80,0.2);
}

/* 🔥 MOBILE TAP EFFECT FOR CARD */
.card:active {
    transform: scale(0.96);
    border-color: #ff3c00;
    box-shadow: 0 8px 20px rgba(255,0,80,0.3);
}

/* IMAGE */
.card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 10px 0 15px;
    padding: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: 0.3s;
}

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

/* TEXT */
.card h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.card p {
    color: #bbb;
    font-size: 14px;
    margin-bottom: 12px;
}

/* BUTTON */
.btn {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(45deg,#ff7a00,#ff3c00);
    color: #fff;
    cursor: pointer;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 15px;
    color: #777;
}

/* DESKTOP GRID */
@media(min-width:768px){
    .container {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(min-width:1024px){
    .container {
        grid-template-columns: repeat(3,1fr);
    }
}

/* MOBILE */
@media (max-width:768px){

    nav {
        flex-direction: column;
        padding: 12px;
    }

    .logo {
        position: static;
        transform: none;
        margin-bottom: 10px;
    }

    .menu-btn {
        display: block;
    }

    nav ul {
        display: none;
        position: static;
        flex-direction: column;
        width: 80%;
        margin: 10px auto;
        border-radius: 10px;
        background: rgba(20,20,20,0.75);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255,122,0,0.2);
        box-shadow: 0 8px 20px rgba(255,122,0,0.12);
        overflow: hidden;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
        gap: 2px;
    }

    nav ul.show {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    nav ul li {
        padding: 10px 0;
        border-top: 1px solid rgba(255,255,255,0.08);
        text-align: center;
        font-size: 17px;
        font-weight: 500;
        color: #ddd;
    }

    nav ul li:hover {
        color: #fff;
        background: linear-gradient(90deg, rgba(255,122,0,0.25), rgba(255,60,0,0.15));
        box-shadow: 0 0 10px rgba(255,122,0,0.4);
        transform: scale(1.03);
    }

    /* 🔥 MOBILE TAP MENU EFFECT */
    nav ul li:active {
        color: #fff;
        background: linear-gradient(90deg, rgba(255,122,0,0.25), rgba(255,60,0,0.15));
        box-shadow: 0 0 10px rgba(255,122,0,0.4);
        transform: scale(0.97);
    }

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

    .card img {
        width: 80px;
        height: 80px;
    }

    .hero h1 {
        font-size: 28px;
    }
}