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

h1, h2, .logo, .project-title {
    font-family: 'Orbitron', sans-serif;
}

body {
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100;
    padding: 20px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    position: absolute;
    left: 30px;
    font-size: 24px;
    color: #00ffcc;
    text-transform: uppercase;
}

.logo a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

/* Centered links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #00ffcc;
}

/* Submenu */
.nav-links .has-submenu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 10px 0;
    list-style: none;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
    min-width: 200px;
    z-index: 999;
}

.nav-links .has-submenu:hover .submenu {
    display: block;
}

.nav-links .has-submenu .submenu li a.text-cta {
    display: block;
    padding: 10px 20px;
}

/* Hamburger Button */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #00ffcc;
    font-size: 24px;
    cursor: pointer;
    z-index: 101;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    right: -250px; /* Hidden by default */
    width: 250px;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100;
    transition: right 0.3s ease;
    padding: 20px;
    box-shadow: -5px 0 10px rgba(0, 255, 204, 0.2);
}

.side-menu.active {
    right: 0; /* Visible when active */
}

/* Close Button */
.close-menu {
    background: none;
    border: none;
    color: #00ffcc;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Side Menu Links */
.side-menu .side-nav-links {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 60px;
    list-style: none;
}

.side-menu .side-nav-links li {
    width: 100%;
}

.side-menu .side-nav-links li a {
    display: block;
    padding: 10px 0;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.side-menu .side-nav-links li a:hover,
.side-menu .side-nav-links li a.active {
    color: #00ffcc;
}

/* Submenu in Side Menu */
.side-menu .has-submenu .submenu {
    position: static;
    display: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    box-shadow: none;
    min-width: 100%;
    list-style: none;
}

.side-menu .has-submenu.active .submenu {
    display: block;
}

.side-menu .submenu li a.text-cta {
    padding: 10px 20px;
}

/* Text CTA Buttons */
.text-cta {
    color: #00ffcc;
    font-size: 18px;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    transition: transform 0.3s, text-shadow 0.3s;
}

.text-cta::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #00ffcc;
    transition: width 0.3s;
}

.text-cta:hover {
    transform: scale(1.1);
    text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
}

.text-cta:hover::after {
    width: 100%;
}

.text-cta.active {
    color: #00ffcc;
    text-shadow: 0 0 10px #00ffcc;
    font-weight: bold;
}

nav .submenu .text-cta:hover {
    transform: scale(1.03);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #0a0a0a, #1a1a3a, #2a004a, #0a0a0a);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}

.hero h1 {
    font-size: 72px;
    color: #00ffcc;
    text-shadow: 0 0 10px #00ffcc;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero p {
    font-size: 24px;
    color: #cccccc;
    margin: 20px 0;
}

/* Text Buttons Block */
.text-buttons {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    justify-content: center;
}

/* About Section */
.about,
.games {
    min-height: 100vh;
    padding: 120px 50px 100px;
    position: relative;
    text-align: center;
    background: linear-gradient(45deg, #0a0a0a, #1a1a3a, #2a004a, #0a0a0a);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}

.about h1,
.games h1 {
    font-size: 48px;
    color: #00ffcc;
    text-shadow: 0 0 10px #00ffcc;
    margin-bottom: 20px;
}

.about p,
.games p {
    font-size: 18px;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* About Page Content */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.about-section {
    margin-bottom: 60px;
    padding: 30px;
    background: rgba(26, 26, 58, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 204, 0.1);
}

.about-section h2 {
    font-size: 32px;
    color: #00ffcc;
    margin-bottom: 20px;
    text-align: center;
}

.about-section h3 {
    font-size: 24px;
    color: #00ffcc;
    margin-bottom: 15px;
}

.about-section p {
    font-size: 16px;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}

.service-item h3 {
    font-size: 22px;
    color: #00ffcc;
    margin-bottom: 15px;
    text-align: center;
}

.service-item p {
    font-size: 15px;
    line-height: 1.5;
    color: #cccccc;
    margin: 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-item {
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}

.contact-item h3 {
    font-size: 20px;
    color: #00ffcc;
    margin-bottom: 15px;
}

.contact-item p {
    font-size: 16px;
    color: #cccccc;
    margin: 0;
}

.contact-item a {
    color: #00ffcc;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px #00ffcc;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    background: #1a1a3a;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px #00ffcc;
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.game-card h3 {
    font-size: 24px;
    color: #00ffcc;
    margin-bottom: 10px;
}

.game-card p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 20px;
}

.game-card .game-cta {
    display: inline-block;
    padding: 10px 20px;
    background: #00ffcc;
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s;
}

.game-card .game-cta:hover {
    transform: scale(1.1);
}

/* Project Page Card */
.project-card {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
    background: #1a1a3a;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.2);
}

.project-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
}

.project-card .game-cta {
    display: inline-block;
    padding: 10px 20px;
    background: #00ffcc;
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s;
}

.project-card .game-cta:hover {
    transform: scale(1.1);
}

.project-content {
    color: #cccccc;
}

.project-title {
    font-size: 48px;
    color: #00ffcc;
    text-shadow: 0 0 10px #00ffcc;
    margin-bottom: 10px;
    text-align: center;
}

.project-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: #aaaaaa;
    text-align: center;
}

.project-card ul {
    padding-left: 20px;
    margin-bottom: 30px;
}

.project-card ul li {
    margin-bottom: 8px;
}

.project-card h3 {
    color: #00ffcc;
    margin: 20px 0 10px;
}

.project-card iframe {
    margin-bottom: 20px;
}

/* Back Button Inside Card */
.back-inside-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #00ffcc;
    color: #0a0a0a;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
    z-index: 10;
    transition: transform 0.3s, box-shadow 0.3s;
}

.back-inside-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #00ffcc;
}

/* Gradient Animation */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Glow Animation */
@keyframes glow {
    from {
        text-shadow: 0 0 1px #00ffcc, 0 0 3px #00ffcc;
    }
    to {
        text-shadow: 0 0 4px #00ffcc, 0 0 10px #00ffcc;
    }
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin: 30px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.timeline-section {
    padding: 120px 30px 60px;
    background: linear-gradient(45deg, #0a0a0a, #1a1a3a, #2a004a);
    animation: gradientMove 15s ease infinite;
    color: #ffffff;
    text-align: center;
}

.timeline-title {
    font-size: 48px;
    color: #00ffcc;
    margin-bottom: 50px;
    text-shadow: 0 0 10px #00ffcc;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-entry {
    border-left: 4px solid #00ffcc;
    padding-left: 20px;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 20px 20px 30px;
    border-radius: 10px;
    text-align: left;
}

.timeline-entry::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 16px;
    height: 16px;
    background: #00ffcc;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffcc;
}

.timeline-date {
    font-weight: bold;
    color: #aaaaaa;
    margin-bottom: 5px;
}

.timeline-entry.released::before {
    background: #00ffcc;
}
.timeline-entry.in-dev::before {
    background: #ffcc00;
}
.timeline-entry.planned::before {
    background: #ff3366;
}
.timeline-content h2 a {
    color: #00ffcc;
    text-decoration: none;
    transition: text-shadow 0.3s, transform 0.3s;
}

.timeline-content h2 a:hover {
    text-shadow: 0 0 10px #00ffcc;
    transform: scale(1.03);
}

/* Timeline Indicators Container */
.timeline-indicators {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Release Type Indicator */
.release-type {
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid #00ffcc;
    color: #00ffcc;
}

.timeline-entry.released .release-type {
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid #00ffcc;
    color: #00ffcc;
}

.timeline-entry.in-dev .release-type {
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid #ffcc00;
    color: #ffcc00;
}

.timeline-entry.planned .release-type {
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid #ff3366;
    color: #ff3366;
}

/* Company Founded Highlight */
.timeline-entry.company-founded {
    background: rgba(0, 255, 204, 0.08);
    border-left: 6px solid #00ffcc;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.timeline-entry.company-founded::before {
    width: 20px;
    height: 20px;
    box-shadow: 0 0 15px #00ffcc;
}

.timeline-entry.company-founded .timeline-date {
    color: #00ffcc;
    font-weight: bold;
}

.timeline-entry.company-founded .timeline-content h2 a {
    color: #00ffcc;
    text-shadow: 0 0 15px #00ffcc;
}

.timeline-entry.company-founded:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.4);
}

/* Product Type Indicator */
.product-type {
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffffff;
    color: #ffffff;
}

/* Year Separator */
.year-separator {
    margin: 40px 0;
    text-align: center;
}

.year-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.year-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffcc, transparent);
    z-index: 1;
}

.year-text {
    background: linear-gradient(45deg, #0a0a0a, #1a1a3a);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #00ffcc;
    text-shadow: 0 0 10px #00ffcc;
    border: 2px solid #00ffcc;
    position: relative;
    z-index: 2;
}

.year-arrows {
    color: #00ffcc;
    font-size: 14px;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 5px #00ffcc;
}

/* Responsive */
@media (max-width: 768px) {
    /* Hide logo and nav-links on mobile */
    .logo,
    .nav-links {
        display: none;
    }

    /* Show hamburger button on mobile */
    .hamburger {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
    }

    /* Adjust nav-container for mobile */
    .nav-container {
        padding: 0;
        justify-content: flex-end;
        position: relative;
    }

    /* Make nav background transparent when only hamburger is shown */
    nav {
        background: transparent;
        padding: 0;
    }

    /* Adjust other sections for mobile */
    .hero h1, .about h1, .games h1 {
        font-size: 36px;
    }

    .hero p, .about p, .games p {
        font-size: 16px;
    }

    .text-buttons {
        flex-direction: column;
        gap: 15px;
    }

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

    .game-card {
        border-radius: 0;
    }

    .project-title {
        font-size: 28px;
    }

    .project-subtitle {
        font-size: 16px;
    }

    .project-card {
        padding: 0px 0px;
        margin: 150px 0;
        width: 100%;
        border-radius: 0;
    }

    .about,
    .games {
        min-height: 100vh;
        padding: 220px 5px 100px;
        position: relative;
        text-align: center;
        background: linear-gradient(45deg, #0a0a0a, #1a1a3a, #2a004a, #0a0a0a);
        background-size: 400% 400%;
        animation: gradientMove 15s ease infinite;
    }

    .timeline-section {
        padding: 220px 30px 60px;
        background: linear-gradient(45deg, #0a0a0a, #1a1a3a, #2a004a);
        animation: gradientMove 15s ease infinite;
        color: #ffffff;
        text-align: center;
    }

    /* Mobile Timeline Indicators */
    .timeline-indicators {
        top: 10px;
        right: 10px;
        gap: 6px;
    }

    /* Mobile Release Type Indicator */
    .release-type {
        font-size: 8px;
        padding: 3px 6px;
    }

    /* Mobile Product Type Indicator */
    .product-type {
        font-size: 8px;
        padding: 3px 6px;
    }

    /* Mobile Year Separator */
    .year-separator {
        margin: 30px 0;
    }

    .year-text {
        font-size: 16px;
        padding: 8px 16px;
    }

    .year-arrows {
        font-size: 12px;
    }

    nav.hide-on-scroll {
        transition: top 0.3s ease;
    }

    nav.hide-on-scroll.hidden {
        top: -200px;
    }

    /* Mobile About Page Content */
    .about-content {
        max-width: 100%;
        padding: 0 10px;
    }

    .about-section {
        margin-bottom: 40px;
        padding: 20px;
        border-radius: 10px;
    }

    .about-section h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .about-section h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .about-section p {
        font-size: 14px;
        line-height: 1.5;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .service-item {
        padding: 20px;
        border-radius: 8px;
    }

    .service-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .service-item p {
        font-size: 14px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .contact-item {
        padding: 20px;
        border-radius: 8px;
    }

    .contact-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .contact-item p {
        font-size: 14px;
    }

    /* Mobile AI Status */
    .ai-status {
        margin-top: 15px;
    }

    .status-badge {
        padding: 6px 12px;
        font-size: 12px;
        margin-bottom: 8px;
    }

    .status-text {
        font-size: 12px;
    }

    /* Mobile 404 Page */
    .error-section {
        padding: 120px 20px 100px;
    }

    .error-title {
        font-size: 80px;
        margin-bottom: 15px;
    }

    .error-subtitle {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .error-message {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .error-actions {
        flex-direction: column;
        gap: 15px;
    }

    .error-actions .game-cta,
    .error-actions .text-cta {
        padding: 12px 24px;
        font-size: 16px;
    }

    /* Mobile Search */
    .search-button {
        font-size: 18px;
        padding: 6px;
        margin-right: 10px;
        position: fixed;
        top: 20px;
        right: 60px;
        z-index: 102;
    }

    .search-modal {
        width: 95%;
        padding: 20px;
        border-radius: 10px;
    }

    .search-header h3 {
        font-size: 20px;
    }

    #searchInput {
        padding: 12px 45px 12px 15px;
        font-size: 14px;
    }

    .search-icon {
        font-size: 16px;
        right: 12px;
    }

    .search-result-item {
        padding: 12px;
        margin-bottom: 8px;
    }

    .result-title {
        font-size: 16px;
    }

    .result-description {
        font-size: 13px;
    }
}

@media (min-width: 769px) {
    /* Hide side menu and hamburger on desktop */
    .side-menu,
    .hamburger {
        display: none;
    }
}

/* AI Status Styles */
.ai-status {
    margin-top: 20px;
    text-align: center;
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.status-badge.development {
    background: #ff6b35;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.status-badge.planning {
    background: #4ecdc4;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(78, 205, 196, 0.3);
}

.status-badge.concept {
    background: #45b7d1;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(69, 183, 209, 0.3);
}

.status-text {
    font-size: 14px;
    color: #aaaaaa;
    margin: 0;
    font-style: italic;
}

/* 404 Error Page */
.error-section {
    min-height: 100vh;
    padding: 120px 50px 100px;
    position: relative;
    text-align: center;
    background: linear-gradient(45deg, #0a0a0a, #1a1a3a, #2a004a, #0a0a0a);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-title {
    font-size: 120px;
    color: #00ffcc;
    text-shadow: 0 0 20px #00ffcc;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    animation: glow 2s ease-in-out infinite alternate;
}

.error-subtitle {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 30px;
    font-family: 'Orbitron', sans-serif;
}

.error-message {
    font-size: 18px;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-actions .game-cta {
    display: inline-block;
    padding: 15px 30px;
    background: #00ffcc;
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.error-actions .game-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}

.error-actions .text-cta {
    display: inline-block;
    padding: 15px 30px;
    color: #00ffcc;
    text-decoration: none;
    border: 2px solid #00ffcc;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.error-actions .text-cta:hover {
    background: #00ffcc;
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}

/* Search Functionality */
.search-button {
    background: none;
    border: none;
    color: #00ffcc;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s;
    margin-right: 5px;
    position: absolute;
    right: 60px;
}

.search-button:hover {
    background: rgba(0, 255, 204, 0.1);
    transform: scale(1.1);
}

.search-container {
    position: relative;
    z-index: 1000;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    backdrop-filter: blur(5px);
}

.search-modal {
    background: #1a1a3a;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    border: 1px solid rgba(0, 255, 204, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.2);
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-header h3 {
    color: #00ffcc;
    font-size: 24px;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
}

.search-close {
    background: none;
    border: none;
    color: #00ffcc;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s;
}

.search-close:hover {
    background: rgba(0, 255, 204, 0.1);
    transform: scale(1.1);
}

.search-input-container {
    position: relative;
    margin-bottom: 20px;
}

#searchInput {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 255, 204, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

#searchInput:focus {
    border-color: #00ffcc;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
}

#searchInput::placeholder {
    color: #aaaaaa;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #00ffcc;
    font-size: 18px;
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: block;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 204, 0.1);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.search-result-item:hover {
    background: rgba(0, 255, 204, 0.1);
    border-color: #00ffcc;
    transform: translateX(5px);
}

.result-title {
    color: #00ffcc;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.result-description {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.4;
}

.no-results {
    color: #aaaaaa;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

/* Search Results Scrollbar */
.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #00ffcc;
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #00ddbb;
}

/* Social Media Section */
.social-card {
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.3);
}

.social-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    transition: transform 0.3s;
}

.social-card:hover .social-icon {
    transform: scale(1.1);
}

.social-card h3 {
    color: #00ffcc;
    margin-bottom: 10px;
    font-size: 20px;
}

.social-card p {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.5;
}

.social-card .game-cta {
    background: linear-gradient(45deg, #00ffcc, #00ccff);
    color: #000;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid transparent;
}

.social-card .game-cta:hover {
    background: transparent;
    color: #00ffcc;
    border-color: #00ffcc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.3);
}

/* Responsive adjustments for social media section */
@media (max-width: 768px) {
    .social-card {
        margin-bottom: 20px;
    }
    
    .social-icon {
        font-size: 36px;
    }
    
    .social-card h3 {
        font-size: 18px;
    }
    
    .social-card p {
        font-size: 14px;
    }
}