/* 
 _____ _   _ _   _    _    _   _  ____ _____ ____  
| ____| \ | | | | |  / \  | \ | |/ ___| ____|  _ \ 
|  _| |  \| | |_| | / _ \ |  \| | |   |  _| | | | |
| |___| |\  |  _  |/ ___ \| |\  | |___| |___| |_| |
|_____|_| \_|_| |_/_/   \_\_| \_|\____|_____|____/ 
                                                
    POWERED BY GETTODEV SINCE 1998
    Cyberpunk Gaming Studio - Retro Indie Games
    
    ===== CYBERPUNK NEON REDESIGN =====
*/

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Press Start 2P', monospace;
    background: #000000 url('assets/ui/bg-pattern.webp') repeat;
    color: #00f0ff;
    position: relative;
    overflow-x: hidden;
    border: 6px solid #ff0000;
    box-shadow: 
        0 0 20px #ff0000,
        0 0 40px #ff0000,
        0 0 60px #ff0000,
        0 0 80px #ffff00,
        0 0 100px #00ff00,
        0 0 120px #00ffff,
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    animation: rainbowPulse 3s infinite linear;
}

/* Scanline Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(0, 240, 255, 0.03) 0px,
            rgba(0, 240, 255, 0.03) 1px,
            transparent 1px,
            transparent 2px);
    pointer-events: none;
    z-index: 9999;
}

/* Neon Text Effects */
.neon-cyan {
    color: #00f0ff;
    text-shadow:
        0 0 5px #00f0ff,
        0 0 10px #00f0ff,
        0 0 20px #00f0ff,
        0 0 40px #00f0ff;
}

.neon-yellow {
    color: #f8e602;
    text-shadow:
        0 0 5px #f8e602,
        0 0 10px #f8e602,
        0 0 20px #f8e602;
}

.neon-green {
    color: #4bff21;
    text-shadow:
        0 0 5px #4bff21,
        0 0 10px #4bff21,
        0 0 20px #4bff21;
}

/* Header */
header {
    background: linear-gradient(135deg, #772289, #000000);
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid #00f0ff;
    box-shadow:
        0 0 20px #00f0ff,
        inset 0 0 20px rgba(0, 240, 255, 0.1);
    position: relative;
}

header img {
    max-width: 100%;
    filter: drop-shadow(0 0 10px #00f0ff);
}

/* Navigation - Simple and Transparent */
nav {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid #00f0ff;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

nav ul,
#sidebar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

nav li,
#sidebar li {
    margin: 0;
}

nav a,
#sidebar a {
    display: block;
    padding: 15px 20px;
    color: #00f0ff;
    text-decoration: none;
    font-size: 0.8em;
    border-right: 1px solid rgba(0, 240, 255, 0.3);
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #00f0ff;
    background: transparent;
}

nav a:hover,
#sidebar a:hover {
    background: rgba(0, 240, 255, 0.2);
    color: #4bff21;
    text-shadow: 0 0 10px #4bff21;
}

nav li:last-child a,
#sidebar li:last-child a {
    border-right: none;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00f0ff;
    min-width: 180px;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    display: block !important;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    border-right: none;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    padding: 10px 15px;
    font-size: 0.75em;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: rgba(0, 240, 255, 0.3);
    color: #4bff21;
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Headings */
h1,
h2,
h3 {
    color: #f8e602;
    text-shadow:
        0 0 10px #f8e602,
        0 0 20px #f8e602,
        0 0 30px #f8e602;
    margin-bottom: 20px;
    animation: flicker 3s infinite alternate;
}

@keyframes flicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.95;
    }
}

@keyframes rainbowPulse {
    0% {
        border-color: #ff0000;
        box-shadow: 
            0 0 20px #ff0000,
            0 0 40px #ff0000,
            0 0 60px #ff0000,
            0 0 80px #ffff00,
            0 0 100px #00ff00,
            0 0 120px #00ffff,
            inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
    25% {
        border-color: #ffff00;
        box-shadow: 
            0 0 20px #ffff00,
            0 0 40px #ffff00,
            0 0 60px #ffff00,
            0 0 80px #00ff00,
            0 0 100px #00ffff,
            0 0 120px #ff0000,
            inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
    50% {
        border-color: #00ff00;
        box-shadow: 
            0 0 20px #00ff00,
            0 0 40px #00ff00,
            0 0 60px #00ff00,
            0 0 80px #00ffff,
            0 0 100px #ff0000,
            0 0 120px #ffff00,
            inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
    75% {
        border-color: #00ffff;
        box-shadow: 
            0 0 20px #00ffff,
            0 0 40px #00ffff,
            0 0 60px #00ffff,
            0 0 80px #ff0000,
            0 0 100px #ffff00,
            0 0 120px #00ff00,
            inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
    100% {
        border-color: #ff0000;
        box-shadow: 
            0 0 20px #ff0000,
            0 0 40px #ff0000,
            0 0 60px #ff0000,
            0 0 80px #ffff00,
            0 0 100px #00ff00,
            0 0 120px #00ffff,
            inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
}

h1 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

/* Tagline */
.tagline {
    font-size: 0.9em;
    font-style: italic;
    margin-bottom: 10px;
    opacity: 0.9;
    letter-spacing: 2px;
}

/* Paragraphs */
p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #f4d5fd;
    text-shadow: 0 0 3px rgba(244, 213, 253, 0.5);
}

/* Links */
a {
    color: #00f0ff;
    text-decoration: none;
    text-shadow: 0 0 5px #00f0ff;
    transition: all 0.3s ease;
}

a:hover {
    color: #4bff21;
    text-shadow:
        0 0 10px #4bff21,
        0 0 20px #4bff21;
}

/* Divider */
.divider {
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            #4bff21,
            transparent);
    margin: 30px 0;
    box-shadow: 0 0 10px #4bff21;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #772289, #000000);
    color: #f8e602;
    text-decoration: none;
    border: 2px solid #00f0ff;
    border-radius: 5px;
    font-size: 0.9em;
    text-shadow: 0 0 5px #f8e602;
    box-shadow:
        0 0 15px #00f0ff,
        inset 0 0 15px rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(75, 255, 33, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.button:hover::before {
    width: 300px;
    height: 300px;
}

.button:hover {
    border-color: #4bff21;
    box-shadow:
        0 0 25px #4bff21,
        inset 0 0 25px rgba(75, 255, 33, 0.2);
    transform: translateY(-2px);
}

/* Game Cards Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background: linear-gradient(135deg, rgba(119, 34, 137, 0.6), rgba(0, 0, 0, 0.8));
    border: 2px solid #00f0ff;
    border-radius: 15px;
    padding: 20px;
    box-shadow:
        0 0 20px #00f0ff,
        inset 0 0 20px rgba(0, 240, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(0, 240, 255, 0.1),
            transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.game-card:hover::before {
    left: 100%;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: #4bff21;
    box-shadow:
        0 0 30px #4bff21,
        0 10px 40px rgba(75, 255, 33, 0.3),
        inset 0 0 30px rgba(75, 255, 33, 0.2);
}

.game-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #00f0ff;
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    transition: all 0.3s ease;
}

.game-card:hover img {
    border-color: #4bff21;
    box-shadow: 0 0 25px rgba(75, 255, 33, 0.7);
}

.game-card h4 {
    color: #f8e602;
    text-align: center;
    margin: 15px 0;
    font-size: 1em;
    text-shadow: 0 0 10px #f8e602;
}

.game-card p {
    color: #f4d5fd;
    text-align: center;
    font-size: 0.65em;
    line-height: 1.6;
    margin: 10px 0;
    text-shadow: 0 0 3px rgba(244, 213, 253, 0.5);
}

.game-card .button {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(119, 34, 137, 0.5), rgba(0, 0, 0, 0.7));
    border: 2px solid #00f0ff;
    border-radius: 16px;
    padding: 25px;
    box-shadow:
        0 0 15px #00f0ff,
        inset 0 0 15px rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #4bff21;
    box-shadow:
        0 0 25px #4bff21,
        inset 0 0 25px rgba(75, 255, 33, 0.15);
    transform: scale(1.02);
}

.feature-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 2px solid #00f0ff;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.feature-card h4 {
    color: #f8e602;
    margin-bottom: 10px;
    text-shadow: 0 0 8px #f8e602;
}

/* Team Section */
.team-hero {
    background: linear-gradient(135deg, rgba(119, 34, 137, 0.4), rgba(0, 0, 0, 0.6));
    border: 3px solid #00f0ff;
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    box-shadow:
        0 0 30px #00f0ff,
        inset 0 0 30px rgba(0, 240, 255, 0.1);
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

/* Game Hero Section - Horizontal Layout */
.game-hero {
    background: linear-gradient(135deg, rgba(119, 34, 137, 0.4), rgba(0, 0, 0, 0.6));
    border: 3px solid #00f0ff;
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    box-shadow:
        0 0 30px #00f0ff,
        inset 0 0 30px rgba(0, 240, 255, 0.1);
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.game-hero__image {
    flex: 1 1 45%;
    max-width: 500px;
    border: 3px solid #00f0ff;
    border-radius: 10px;
    box-shadow: 0 0 20px #00f0ff;
    transition: all 0.3s ease;
}

.game-hero__image:hover {
    border-color: #4bff21;
    box-shadow: 0 0 30px rgba(75, 255, 33, 0.7);
    transform: scale(1.02);
}

.game-hero__content {
    flex: 1 1 50%;
}

.game-hero__content h3 {
    color: #f4d5fd;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.game-hero__content strong {
    color: #f8e602;
    text-shadow: 0 0 5px #f8e602;
}

.team-hero__image {
    flex: 1 1 250px;
    max-width: 300px;
    border: 3px solid #00f0ff;
    border-radius: 10px;
    box-shadow: 0 0 20px #00f0ff;
}

.team-hero__content {
    flex: 1 1 350px;
}

.team-hero__content h3 {
    color: #f4d5fd;
    margin-bottom: 15px;
}

.team-hero__content strong {
    color: #f8e602;
    text-shadow: 0 0 5px #f8e602;
}

/* Game Page */
.game-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.game-frame {
    border: 4px solid #00f0ff;
    border-radius: 10px;
    overflow: hidden;
    background: #000000;
    box-shadow:
        0 0 40px #00f0ff,
        inset 0 0 40px rgba(0, 240, 255, 0.2);
    position: relative;
}

.back-button-container {
    margin-bottom: 20px;
    width: 100%;
    max-width: 1280px;
}

/* Showcase Section Styles */
.showcase-section {
    margin: 40px 0;
}

.showcase-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, rgba(119, 34, 137, 0.3), rgba(0, 0, 0, 0.5));
    border: 2px solid #00f0ff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    transition: all 0.4s ease;
}

.showcase-row:hover {
    border-color: #4bff21;
    box-shadow: 0 0 40px rgba(75, 255, 33, 0.4);
    transform: translateY(-5px);
}

.showcase-row.reverse {
    flex-direction: row-reverse;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.showcase-item img {
    flex: 1 1 45%;
    max-width: 500px;
    border: 3px solid #00f0ff;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
    transition: all 0.3s ease;
}

.showcase-item:hover img {
    border-color: #4bff21;
    box-shadow: 0 0 30px rgba(75, 255, 33, 0.7);
    transform: scale(1.02);
}

.showcase-content {
    flex: 1 1 50%;
}

.showcase-content h4 {
    color: #f8e602;
    font-size: 1.4em;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #f8e602;
}

.showcase-content p {
    color: #f4d5fd;
    line-height: 1.6;
    font-size: 1em;
    text-shadow: 0 0 3px rgba(244, 213, 253, 0.5);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #000000, #772289);
    color: #f8e602;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
    border-top: 3px solid #00f0ff;
    box-shadow:
        0 0 20px #00f0ff,
        inset 0 0 20px rgba(0, 240, 255, 0.1);
}

footer img {
    margin: 5px;
    filter: drop-shadow(0 0 5px #00f0ff);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        background: rgba(0, 0, 0, 0.9);
    }

    nav a,
    #sidebar a {
        padding: 12px 15px;
        font-size: 0.7em;
    }

    nav ul,
    #sidebar ul {
        flex-direction: column;
        align-items: stretch;
    }

    nav li,
    #sidebar li {
        width: 100%;
        text-align: center;
    }

    nav a,
    #sidebar a {
        border-right: none;
        border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    }

    .dropdown-menu {
        position: static;
        display: none !important;
        background: rgba(0, 0, 0, 0.8);
        border: 1px solid #00f0ff;
    }

    .dropdown:hover .dropdown-menu {
        display: block !important;
    }

    h1 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
    }

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

    .team-hero {
        flex-direction: column;
        text-align: center;
    }

    main {
        padding: 20px 15px;
    }

    /* Improved Game Hero for Mobile */
    .game-hero {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .game-hero__image {
        max-width: 100%;
        width: 100%;
        order: 2;
    }

    .game-hero__content {
        order: 1;
        text-align: center;
    }

    .game-hero__content h3 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .game-hero__content p {
        font-size: 0.9em;
        line-height: 1.5;
    }

    .showcase-row,
    .showcase-row.reverse {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .showcase-item {
        flex-direction: column;
        text-align: center;
    }

    .showcase-item img {
        max-width: 100%;
        width: 100%;
    }

    .showcase-content h4 {
        font-size: 1.2em;
    }
}

/* Selection */
::selection {
    background: #00f0ff;
    color: #000000;
    text-shadow: none;
}