:root {
    --bg-color: #050505;
    --card-bg: #101010;
    --text-color: #ffffff;
    --accent-blue: #00f3ff;
    --accent-purple: #bc13fe;
    --accent-green: #0aff0a;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
.cursor-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.15), transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
    transition: transform 0.1s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    animation: slideShow 20s infinite;
}

.hero-bg-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-bg-slide:nth-child(2) {
    animation-delay: 5s;
}

.hero-bg-slide:nth-child(3) {
    animation-delay: 10s;
}

.hero-bg-slide:nth-child(4) {
    animation-delay: 15s;
}

/* Gradient Overlay */
.hero-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.3), #050505);
    z-index: 1;
}

@keyframes slideShow {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    5% {
        opacity: 0.4;
    }

    25% {
        opacity: 0.4;
        transform: scale(1.05);
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
}

h1 {
    font-size: 5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 0 0 20px var(--accent-blue);
}

.subtitle {
    font-size: 1.5rem;
    color: #aaa;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--accent-blue);
    color: #000;
    box-shadow: 0 0 30px var(--accent-blue);
}

/* Emulator Grid */
.emulator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 5rem 10%;
    background: linear-gradient(to bottom, var(--bg-color), #0a0a0a);
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.card-content {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    background: rgba(16, 16, 16, 0.9);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-container {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.emulator-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.card p {
    color: #888;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.download-btn {
    padding: 0.8rem 2rem;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.download-btn:hover {
    transform: scale(1.05);
}

.requirements {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.requirements strong {
    color: var(--accent-blue);
    font-weight: 600;
    margin-right: 5px;
}

/* Glowing Border Effect */
.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--accent-blue), transparent 30%);
    animation: rotate 4s linear infinite;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--card-bg);
    border-radius: 18px;
    z-index: 1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-around;
    padding: 5rem 10%;
    text-align: center;
    border-top: 1px solid #222;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-green);
}

.feature-item p {
    color: #666;
}

footer {
    text-align: center;
    padding: 2rem;
    color: #444;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .emulator-grid {
        padding: 3rem 5%;
    }

    .features {
        flex-direction: column;
        gap: 2rem;
    }
}