/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at top, #121212, #000);
    color: #fff;
    overflow-x: hidden;
}

/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(14px);
    z-index: 1000;
    animation: slideDown 1s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.logo {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(90deg, #ff4757, #1e90ff);
    -webkit-background-clip: text;
    color: transparent;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li {
    margin-left: 30px;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    position: relative;
    font-weight: 500;
}

.navbar ul li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff4757, #1e90ff);
    left: 0;
    bottom: -6px;
    transition: 0.4s;
}

.navbar ul li a:hover::after {
    width: 100%;
}

/* ================= HERO ================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(circle at top, #ff4757 0%, transparent 45%),
        radial-gradient(circle at bottom, #1e90ff 0%, transparent 40%),
        #0b0b0b;
    padding: 0 20px;
}

.hero-text {
    animation: fadeUp 1.4s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-text h2 {
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(90deg, #ff4757, #1e90ff);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text p {
    font-size: 18px;
    opacity: 0.85;
    margin: 18px 0 35px;
}

/* ================= BUTTON ================= */
.btn {
    padding: 15px 42px;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff4757, #1e90ff);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(255,71,87,0.4);
    transition: 0.4s;
}

.btn:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 25px 60px rgba(30,144,255,0.6);
}

/* ================= SECTIONS ================= */
.section {
    padding: 110px 10%;
    text-align: center;
}

.dark {
    background: linear-gradient(180deg, #111, #0a0a0a);
}

.title {
    font-size: 34px;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #ff4757, #1e90ff);
    -webkit-background-clip: text;
    color: transparent;
}

.text {
    max-width: 720px;
    margin: auto;
    color: #ccc;
    line-height: 1.7;
}

/* ================= WORK ================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

/* Image Card */
.image-card {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-card1{
    position: relative;
    width: 300px;
    height: 300px;
   
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
/* Discord Join Button Glow */
.discord-link{
    display: inline-block;
    padding: 12px 22px;
    background: #5865F2;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: 0.3s ease;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.6);
    position: relative;
    overflow: hidden;
}

/* Hover Animation */
.discord-link:hover{
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.9),
                0 0 50px rgba(88, 101, 242, 0.6);
}

/* Extra Glow Shine Effect */
.discord-link::before{
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.discord-link:hover::before{
    left: 100%;
}

a{
    color: white;
    text-decoration: none;
}

.image-card1 .overlay {
    position: absolute;
    inset: 0;
    margin-left: 20px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    font-size: 15px;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-card1:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(30,144,255,0.45);
    
}

.image-card1:hover img {
    transform: scale(1.08);
    filter: brightness(1.15) saturate(1.1);
    
}

.image-card1:hover .overlay,
.image-card1:hover::before {
    opacity: 1;
     text-align: center;
}

.logo{
    width: 100%;
}
/* Glow Border */
.image-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #ff4757, #1e90ff) border-box;
    -webkit-mask:
        linear-gradient(#000 0 0) padding-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: 0.4s;
}

/* Thumbnail Image */
.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
}

/* Overlay */
.image-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.25),
        rgba(0,0,0,0.85)
    );
    display: flex;
    align-items: flex-end;
    padding: 18px;
    font-size: 15px;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Hover Effects */
.image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(30,144,255,0.45);
}

.image-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.15) saturate(1.1);
}

.image-card:hover .overlay,
.image-card:hover::before {
    opacity: 1;
}

/* ================= SERVICES ================= */
.services {
    display: flex;
    gap: 30px;
    justify-content: center;
    overflow-x: auto;
    padding: 20px;
}

.service-box {
    min-width: 260px;
    background: linear-gradient(145deg, #1b1b1b, #0f0f0f);
    padding: 35px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.service-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff4757, #1e90ff);
    opacity: 0;
    transition: 0.5s;
}

.service-box:hover::before {
    opacity: 1;
}

.service-box h3,
.service-box p {
    position: relative;
    z-index: 1;
}

.service-box:hover {
    transform: translateY(-15px) scale(1.07);
    box-shadow: 0 25px 60px rgba(255,71,87,0.5);
}

/* ================= DISCORD CONTACT ================= */
.discord-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.discord-box {
    background: linear-gradient(135deg, #5865F2, #404EED);
    padding: 20px 40px;
    border-radius: 18px;
    cursor: pointer;
    transition: 0.4s;
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 rgba(88,101,242,0.6); }
    50% { box-shadow: 0 0 30px rgba(88,101,242,0.7); }
    100% { box-shadow: 0 0 0 rgba(88,101,242,0.6); }
}

.discord-box:hover {
    transform: scale(1.12);
}

.copied {
    opacity: 0;
    color: #6aff6a;
    transition: 0.3s;
}

/* ================= FOOTER ================= */
footer {
    text-align: center;
    padding: 25px;
    background: #000;
    font-size: 14px;
    opacity: 0.7;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .hero-text h2 {
        font-size: 34px;
    }

    .navbar ul {
        display: none;
    }

    .section {
        padding: 90px 6%;
    }
}

.projects-btn {
    margin-top: 30px;
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.project-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.project-info {
    padding: 15px;
}

.project-info h3 {
    color: #00ffff;
    margin-bottom: 6px;
}

.project-info p {
    font-size: 14px;
    opacity: 0.8;
}
