*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    padding-top: 50px;
}

 /* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #0004ff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: rgba(122, 107, 255, 0.1);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

nav{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

    background-color: rgba(10,10,10,0.6);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    margin: 0px 0px;
    padding: 0px 20px;
    border-bottom: solid 1px blue;
    transition: 0.5s ease;
}
.nav.scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 40px;
}

nav img {
    width: 30px;
    height: 30px;
    margin: 10px;
}
nav span{
    font-size: 1.2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #6b75ff, #968eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    flex-direction: row;
    gap: 25px;
    margin-right: 20px;
    color: #ffffff;
}

/* Unvisited link */
a:link {
color: rgb(255, 255, 255);
text-decoration: none;
outline: none;
}

.nav-links {
display: flex;
gap: 3rem;
margin-top: 10px;
font-weight: 500;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: blue;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 70px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;

    background: 
        linear-gradient(to bottom, rgba(0,0,0,0.7), #000),
        url('DARKHOUSE UNVEILED POSTER .png') center/cover no-repeat;

    z-index: 1;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(135deg, #1a1a1a 0%, #010010 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 2rem;
    animation: faadeup 1s ease forwards;
}
@keyframes faadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.gradient-text {
    background: linear-gradient(90deg,#00f,#6f00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: gradient 6s ease infinite;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
    color: #b0b0b0;
    margin: 15px 0 25px;
    font-style: italic;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}
 @keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 @keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-primary {
    background: #2573eb;
    border: none;
    color: #fff;
    box-shadow: 0 10px 20px rgba(107, 110, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    background: #000098;
    box-shadow: 0 15px 30px rgba(172, 164, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #0000a1;
}

.btn-secondary:hover {
    background: #000c8b;
    transform: translateY(-3px) scale(1.05);
}
.btn-outline-light {
    border: 1px solid white;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cta-buttons a {
        width: 100%;
    }
}

.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 3;
    pointer-events: none;
}

/* each shape */
.shape {
    position: absolute;
    color: rgba(30, 0, 255, 0.5);
    font-size: 20px;
    animation: floatUp linear infinite;
}

.shape:nth-child(7n) {
    color: rgba(37, 99, 235, 0.2);
}

/* animation */
@keyframes floatUp {
    from {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    to {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 1;
    }
}

.featured-games {
    padding: 5rem 4rem;
    padding-top: 10px;
    background: #0f0f0f;
    position: relative;
}
section {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    scroll-margin-top: 75px;
    min-height: 100vh;
    box-sizing: border-box;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    position: relative;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #070090, transparent);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    background: #0a0a0a;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(12, 0, 141, 0.1);
    width: 100%;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border-color: #0016bf;
}

.game-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.game-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card-link{
    text-decoration: none;
    color: inherit;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-info {
    padding: 18px;
    padding-left: 10px;
    position: relative;
}

.game-title {
    font-size: 1.2rem;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: bold;
    margin-bottom: 8px;
    color: #2f36ff;
    text-shadow: 0 10px 30px rgb(0, 0, 0);
}

.game-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 12px;
    color: #b0b0b0;
    line-height: 1.6;
}

.game-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 5px 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #ffffff;
    border: 1px solid #2412ec;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Floating Animation for Cards */
.game-card {
    animation: float 6s ease-in-out infinite;
}

.game-card:nth-child(2) {
    animation-delay: 1s;
}

.game-card:nth-child(3) {
    animation-delay: 2s;
}

/* Animated border for cards */
.game-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #040026, #04014f, #000768, #0101a3);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover::before {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-card::before {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}


 /* About Section */
.about {
    padding: 8rem 4rem;
    background: linear-gradient(135deg, #0a0a0a,#111827);
    position: relative;
    overflow: hidden;
}
#about {
    background: radial-gradient(circle at top, #1a1a2e, #000);
    color: white;
    padding:50px 15px 90px 15px;
}

.about::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,107,0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

.about-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.9;
    color: #d0d0d0;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(107, 110, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    border-color: #3430ff;
    box-shadow: 0 0 30px rgba(112, 107, 255, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0800ff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #b0b0b0;
    font-size: 1.1rem;
}


/* Contact Section */
#contact {
    background: linear-gradient(180deg, #0f172a, #020617);
    padding: 50px 15px 90px 15px;
}
.contact {
    padding: 8rem 4rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #585858 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px; 
}
/* MOBILE FIX */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form {
        width: 100%;
    }

    .contact-info {
        text-align: center;
    }
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1700c3;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #d0d0d0;
}

.contact-item i {
    font-size: 1.5rem;
    color: #726bff;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(122, 107, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #6b6bff;
}

.social-link:hover {
    background: #07003c;
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(112, 107, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #0400d8;
    box-shadow: 0 0 20px rgba(112, 107, 255, 0.3);
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .stats {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .stat-item {
        flex: 1;
    }
}

/* Footer */
footer {
    padding: 2rem 4rem;
    background: #0a0a0a;
    border-top: 1px solid rgba(124, 107, 255, 0.2);
    text-align: center;
    opacity: 0.9;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #6e6bff;
}

html{
    scroll-behavior: smooth;
}

/* ===== FOOTER BASE ===== */
.footer {
    background: linear-gradient(180deg, #0a0a0a, #050505);
    color: #eaeaea;
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* subtle glow line */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 60%;
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, #00f0ff, transparent);
    opacity: 0.4;
}

/* ===== GRID LAYOUT ===== */
.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: auto;
}

/* ===== BRAND SECTION ===== */
.footer-brand h3 {
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: white;
    position: relative;
}

/* glowing logo effect */
.footer-brand h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40%;
    height: 2px;
    background: #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
}

.footer-brand p {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #aaa;
    max-width: 250px;
}

/* ===== HEADINGS ===== */
.footer h4 {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

/* ===== LINKS ===== */
.footer a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    position: relative;
}

/* hover effect like game UI */
.footer a:hover {
    color: #00f0ff;
    transform: translateX(5px);
}

/* ===== CONTACT TEXT ===== */
.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #bbb;
}

/* ===== SOCIAL (if you later add icons) ===== */
.footer-social a {
    display: inline-block;
    margin-right: 10px;
}

/* ===== BOTTOM BAR ===== */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: #666;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: auto;
    }

    .footer a:hover {
        transform: none;
    }
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 4px;
    color: rgb(17, 0, 255);
    text-shadow: 0 0 10px rgba(13, 0, 255, 0.5);
}
