/* Main color #151534 */
/* Second color #ff425d */

/* Base Styles */
/* Update Base Styles to use IBM Plex Sans Arabic */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Main Font for the whole website */
    font-family: 'IBM Plex Sans Arabic', sans-serif; 
}

body {
    background-color: rgb(7, 7, 20);
    color: #e0e0e0;
    direction: rtl;
    line-height: 1.6;
}

/* 3. Helper Class for the Pixel Font (Jersey 10) */
.pixel-font, 
.pixel-title, 
.main-game-title, 
.rank-number,
.arcade-font {
    font-family: 'IBM Plex Sans Arabic', sans-serif; /*'Jersey 10', sans-serif !important;*/
    font-weight: 400; /* Pixel fonts usually don't need bold weight */
    letter-spacing: 1px;
}

/* Example: Update specific headers to use the pixel font if you want */
h1, h2, h3 {
    font-family: 'IBM Plex Sans Arabic', sans-serif; 
    /* Or change to 'Jersey 10' if you want all headers to be pixelated */
}

/* Update the search bar to use the main font */
.retro-search-bar input { 
    font-family: 'IBM Plex Sans Arabic', sans-serif; 
}

/* If you have the simple play button from the previous step, keep it clean */
.simple-play-btn {
    font-family: 'IBM Plex Sans Arabic', sans-serif; 
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}




/* Header Styles */
header {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f0f0f0;
    margin-left: 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0 2pc 0 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-links li {
    margin: auto;
}

.nav-links a {
    text-decoration: none;
    color: #f0f0f0;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover {
    color: #8f8f8f;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: #ff425d;
    transition: width 0.3s;
}

.nav-links a:hover:after {
    width: 100%;
    right: 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 0;
    background-color: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin: 2rem auto;
    max-width: 1200px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: rgb(7, 7, 20);
    color: #f0f0f0;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }
    .logo {
        margin: 0 0 1rem 0;
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    .nav-links li {
        margin: 0.5rem 0;
    }
}

/* Feature Boxes Section - Varied Sizes */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1.5rem;
    margin: 3rem auto;
}

.feature-box {
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.feature-box:hover::before {
    opacity: 0.1;
}


.feature-box.large {
    grid-column: span 2;
    min-height: 250px;
    justify-content: center;
    background: linear-gradient(135deg, #ff425d, #151534);
    color: white;
}

.feature-box.large .feature-icon {
    color: white;
}

.feature-box.large h3 {
    color: white;
}

.feature-box.large p {
    color: rgba(255, 255, 255, 0.9);
}

.feature-box.tall {
    grid-row: span 2;
    min-height: 400px;
    justify-content: flex-start;
}

.feature-box.small {
    min-height: 150px;
}

.feature-icon {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #f0f0f0;
}

.feature-box p {
    color: #efeeee;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-box.large {
        grid-column: span 2;
    }
    .feature-box.tall {
        grid-row: span 1;
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .features {
        grid-template-columns: 1fr;
    }
    .feature-box {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

.btn {
    background-color: #151534;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
    border-radius: 10px;
}

.btn:hover {
    background-color: #ff425eda;
}

.fa-trophy:before, .fa-award:before, .fa-users:before,.fa-upload:before {
    color: #ff425d ;
}

/* Status Bar Styles */
.status-bar {
    background-color: #1a1a1a;
    color: #f0f0f0;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    border: 1px solid #333;
}

.status-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.status-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ff425d;
    animation: counter 1s ease-out;
}

.status-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Animation for numbers */
@keyframes counter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Upload Page Styles */
.upload-section {
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    margin: 2rem auto;
}

.upload-section h1 {
    color: #f0f0f0;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #f0f0f0;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.8rem;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #2d2d2d;
    color: #f0f0f0;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

/* File Upload Styles */
.file-upload {
    margin: 1.5rem 0;
}

.upload-area {
    border: 2px dashed #01432b;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    background-color: rgba(79, 195, 247, 0.05);
}

.upload-area:hover {
    background-color: rgba(79, 195, 247, 0.10);
}

.upload-area i {
    font-size: 2.5rem;
    color: #ff425d;
    margin-bottom: 1rem;
}

.upload-area p {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

.upload-area input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-item {
    background: #2d2d2d;
    padding: 0.8rem;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #f0f0f0;
    border: 1px solid #444;
}

.file-item .file-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.file-item .file-icon {
    color: #3498db;
}

.file-item .file-remove {
    color: #e74c3c;
    cursor: pointer;
}

/* Checkbox Styles */
.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
}

.checkbox-group input {
    width: auto;
}

/* Upload Button */
.btn-upload {
    align-self: flex-start;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    .btn-upload {
        width: 100%;
    }
}

/* Games Page Specific Styles */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-filter {
    display: flex;
    gap: 1rem;
}

.search-filter input,
.search-filter select {
    padding: 0.6rem 1rem;
    border: 1px solid #444;
    border-radius: 4px;
    min-width: 250px;
    background-color: #2d2d2d;
    color: #f0f0f0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.game-card {
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: #f0f0f0;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.game-thumbnail {
    height: 180px;
    overflow: hidden;
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.game-card:hover .game-thumbnail img {
    transform: scale(1.05);
}

.game-info {
    padding: 1.2rem;
}

.game-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #f0f0f0;
}

.game-info .developer {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.game-info .description {
    color: #d0d0d0;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.game-meta {
    display: grid;
    justify-content: space-between;
    align-items: center;
}

.rating {
    color: #f39c12;
    font-weight: 500;
}

.price {
    font-weight: 700;
    color: #f0f0f0;
}

.price.free {
    color: #ff425d;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 0.5rem;
}

.pagination a {
    padding: 0.5rem 1rem;
    border: 1px solid #444;
    border-radius: 4px;
    text-decoration: none;
    color: #f0f0f0;
    background: #2d2d2d;
}

.pagination a.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .search-filter {
        width: 100%;
    }
    .search-filter input {
        min-width: auto;
        flex: 1;
    }
}

@media (max-width: 576px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
}

/* Game Details Page Styles */
.game-details {
    background: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    padding: 2rem;
    margin: 2rem 0;
    color: #f0f0f0;
}

.developer-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.developer-card {
    display: flex;
    background: linear-gradient(135deg, #003522 0%, #ff425d 100%);
    align-items: center;
    gap: 1.5rem;
    background: #3d3d3d;
    padding: 1.5rem;
    border-radius: 8px;
    color: #f0f0f0;
}

.developer-avatar i {
    font-size: 3.5rem;
    color: #3498db;
}

.developer-info h3 {
    margin: 0;
    color: #f0f0f0;
}

.developer-account {
    color: #d0d0d0;
    margin: 0.5rem 0;
}

.developer-stats {
    display: flex;
    gap: 1.5rem;
}

.developer-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d0d0d0;
}

.game-header {
    gap: 2rem;
    margin-bottom: 2rem;
    background: #2d2d2d;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.game-poster {
    flex: 1;
    max-width: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.game-poster img {
    width: 100%;
    height: auto;
    display: block;
}

.game-meta h1,
.game-title {
    margin: 1rem 0 0 0;
    color: #f0f0f0;
    font-size: 1.8rem;
    line-height: 1.3;
}

.rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    color: #f39c12;
}

.rating .downloads {
    color: #d0d0d0;
}

.game-description {
    color: #d0d0d0;
    line-height: 1.6;
    margin: 1.5rem 0;
    font-size: 1.05rem;
}

.game-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 1.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f0f0f0;
}

.game-specs,
.game-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.spec,
.game-spec {
    display: flex;
    gap: 0.5rem;
    background: #3d3d3d;
    padding: 0.8rem;
    border-radius: 6px;
}

.spec-label {
    font-weight: 600;
    color: #3498db;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.spec-value {
    color: #f0f0f0;
    font-size: 1rem;
}

.detail-section {
    background: #2d2d2d;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    color: #f0f0f0;
}

.section-title {
    font-size: 1.4rem;
    color: #f0f0f0;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .game-header {
        flex-direction: column;
    }
    .game-poster {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    .game-specs-grid {
        display: grid;
    }
}

@media (max-width: 768px) {
    .game-header {
        flex-direction: column;
    }
    .game-poster {
        max-width: 100%;
    }
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-top: 1rem;
    border-radius: 8px;
}

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

/* Input Fields */
.input-with-icon {
    position: relative;
}

.input-with-icon .icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8f8f8f;
    font-size: 1rem;
}

.input-with-icon input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid #444;
    border-radius: 8px;
    background: #3d3d3d;
    color: #f0f0f0;
    transition: all 0.3s;
}


/* Screenshots Section */
.screenshots-section {
    margin: 3rem 0;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.screenshot {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.screenshot:hover {
    transform: scale(1.02);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #f0f0f0;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

/* Mobile Navigation Styles */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #f0f0f0;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
        z-index: 1001;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #2d2d2d;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.5rem 1.5rem;
        gap: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #444;
        width: 100%;
        color: #f0f0f0;
    }
}

/* Game Details Page Styles */
.game-details-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 992px) {
    .game-details-container {
        grid-template-columns: 1fr;
    }
}

/* Developer Section */
.developer-section {
    color: white;
}

.developer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.btn-developer {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.developer-card {
    background: linear-gradient(135deg, #003522 0%, #ff425d 100%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.developer-avatar i {
    color: white;
}

.developer-info h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.developer-stats {
    display: flex;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.developer-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-download {
    width: 100%;
    padding: 0.8rem;
    background: white;
    color: #003522;
    font-weight: bold;
}

.btn-download.alt {
    background: transparent;
    color: white;
    border: 1px solid white;
}

/* Game Main Content */
.game-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .game-header {
        grid-template-columns: 1fr;
    }
}

.game-poster {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.game-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

.game-title {
    color: #f0f0f0;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.rating {
    color: #f39c12;
    display: flex;
    gap: 0.3rem;
}

.downloads {
    color: #b0b0b0;
    font-size: 0.95rem;
}

.description-title {
    color: #f0f0f0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.game-description p {
    color: #d0d0d0;
    line-height: 1.6;
}

.game-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.game-spec {
    background: #3d3d3d;
    padding: 0.8rem;
    border-radius: 8px;
}

.spec-label {
    color: #ff425d;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.spec-value {
    color: #f0f0f0;
    font-weight: 500;
}

/* Screenshots Section */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.screenshot {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.screenshot:hover {
    transform: scale(1.02);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.screenshot:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-overlay i {
    color: white;
    font-size: 2rem;
}

/* Reviews Section */
.reviews-section {
    margin-top: 3rem;
}

.review-form {
    background: #3d3d3d;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.review-form h3 {
    color: #f0f0f0;
    margin-bottom: 1rem;
}

.rating-input {
    margin-bottom: 1rem;
}

.rating-input .fa-star {
    color: #f39c12;
    cursor: pointer;
    font-size: 1.5rem;
    margin-left: 0.3rem;
}

.review-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #444;
    background: #2d2d2d;
    color: #f0f0f0;
    min-height: 100px;
    margin-bottom: 1rem;
}

.btn-review {
    background: #ff425d;
    padding: 0.8rem 2rem;
    font-weight: bold;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    background: #3d3d3d;
    padding: 1.5rem;
    border-radius: 8px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-info i {
    font-size: 2rem;
    color: #8f8f8f;
}

.review-rating {
    color: #f39c12;
    margin-right: auto;
}

.review-text {
    color: #d0d0d0;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.review-date {
    color: #8f8f8f;
    font-size: 0.85rem;
}

/* Ensure body doesn't scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Base page layout for mobile */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    .game-header {
        flex-direction: column;
    }
    .game-poster {
        max-width: 100%;
    }
    .btn-download {
        width: 100%;
    }
}

/* Search Container Styles */
.search-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.search-box {
    display: flex;
    align-items: center;
    background: #2d2d2d;
    border-radius: 30px;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 600px;
}

.search-box i {
    color: #b0b0b0;
    margin-left: 0.5rem;
}

.search-box input,
.search-box select {
    border: none;
    outline: none;
    padding: 0.5rem;
    flex-grow: 1;
    background: transparent;
    color: #f0f0f0;
}

.search-box select {
    border-right: 1px solid #444;
    margin-right: 0.5rem;
}

.btn-clear-filters {
    background: #3d3d3d;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    color: #f0f0f0;
}

.btn-clear-filters:hover {
    background: #4d4d4d;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.site-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0f0f0;
    transition: color 0.3s;
}

@media (max-width: 768px) {
    .site-logo {
        height: 35px;
    }
    .logo-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .site-logo {
        height: 40px;
    }
    .logo-text {
        font-size: 1.1rem;
    }
}

/* Improved Auth Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-card {
    /* Make it slightly see-through */
    background: rgba(45, 45, 45, 0.9);
    /* Keep existing styles below */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    padding: 2.5rem;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    border: 1px solid rgba(255, 66, 93, 0.2); /* Subtle pink border */
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #f0f0f0;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.auth-card h1 i {
    color: #ff425d;
}

.section-label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #f0f0f0;
    font-size: 1.1rem;
}

/* Form Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Input Fields Styling */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.form-group input {
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid #444;
    border-radius: 8px;
    background: #3d3d3d;
    color: #f0f0f0;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: #ff425d;
    outline: none;
}

.input-icon {
    left: 1rem;
    top: 2.5rem;
    color: #8f8f8f;
    font-size: 1rem;
}

/* Password Field Styling */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #8f8f8f;
    z-index: 2;
}

.password-strength {
    display: flex;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

/* Account Type Selection */
.type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.type-option {
    cursor: pointer;
}

.type-option input {
    display: none;
}

.option-card {
    padding: 1.5rem 1rem;
    border: 2px solid #444;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    background: #3d3d3d;
}

/* Developer Fields */
.developer-fields {
    display: none;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(46, 198, 48, 0.05);
    border-radius: 8px;
    border: 1px dashed #ff425d;
}

.section-title {
    color: #f0f0f0;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-title i {
    color: #ff425d;
}

/* Terms Checkbox */
.terms-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 2rem 0;
}

.custom-checkbox {
    position: relative;
    width: 20px;
    height: 20px;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox label {
    position: absolute;
    top: 0;
    right: 0;
    height: 20px;
    width: 20px;
    background: #3d3d3d;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: pointer;
}

.custom-checkbox input:checked ~ label {
    background: #ff425d;
    border-color: #ff425d;
}

.custom-checkbox label:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ label:after {
    display: block;
}

.terms-label {
    color: #b0b0b0;
    font-size: 0.95rem;
}

.terms-label a {
    color: #ff425d;
    text-decoration: none;
}

.terms-label a:hover {
    text-decoration: underline;
}

/* Register Button */
.btn-register {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: #151534;
    border: none;
    transition: all 0.3s;
    border-radius: 12px;
}

.btn-register:hover {
    background: #10103b;
    transform: translateY(-2px);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.auth-footer a {
    color: #ff425d;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.social-login {
    margin-top: 1.5rem;
}

.social-login p {
    margin-bottom: 1rem;
    position: relative;
}

.social-login p:before,
.social-login p:after {
    content: "";
    position: absolute;
    height: 1px;
    width: 30%;
    background: #444;
    top: 50%;
}

.social-login p:before {
    right: 0;
}

.social-login p:after {
    left: 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-btn.google { background: #DB4437; }
.social-btn.twitter { background: #1DA1F2; }
.social-btn.github { background: #333; }

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Game Details Page - Enhanced Styles */
.game-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.game-header-content {
    flex: 1;
    min-width: 300px;
}

.game-title {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.game-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.game-developer {
    color: #b0b0b0;
    font-size: 1.1rem;
}

.game-rating {
    color: #f39c12;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.game-header-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-download-main {
    background: #ff425d;
    color: white;
    padding: 0.8rem 1.5rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
}

.btn-download-secondary {
    background: transparent;
    color: #ff425d;
    padding: 0.8rem 1.5rem;
    font-weight: bold;
    border: 2px solid #ff425d;
    border-radius: 8px;
}

/* Main Content Grid */
.game-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

@media (max-width: 992px) {
    .game-content-grid {
        grid-template-columns: 1fr;
    }
}

/* Left Column Styles */
.game-video-section {
    margin-bottom: 2rem;
}

.video-embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    margin-top: 1rem;
}

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

.game-description-section {
    background: #2d2d2d;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.description-content {
    color: #d0d0d0;
    line-height: 1.8;
    font-size: 1.05rem;
}

.game-features-section {
    background: #2d2d2d;
    padding: 1.5rem;
    border-radius: 10px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.features-list li {
    padding: 0.5rem 0;
    color: #d0d0d0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.features-list li i {
    color: #ff425d;
}

/* Right Column Styles */
.developer-card {
    background: #2d2d2d;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.developer-header {
    padding: 1rem 1.5rem;
    background: #003522;
}

.developer-content {
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.developer-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #444;
}

.developer-info h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.developer-stats {
    display: flex;
    gap: 1.5rem;
    margin: 0.8rem 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b0b0b0;
}

.btn-follow {
    background: #444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.game-specs-card {
    background: #2d2d2d;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2pc;
    margin-bottom: 2rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 480px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

.spec-item {
    margin-bottom: 1rem;
}

.spec-label {
    color: #ff425d;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-value {
    color: #fff;
    font-weight: 500;
}

.screenshots-card {
    background: #2d2d2d;
    border-radius: 10px;
    padding: 1.5rem;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.screenshot-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-overlay i {
    color: white;
    font-size: 1.5rem;
}

/* Reviews Section */
.reviews-section {
    margin-top: 3rem;
}

.section-title-main {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.reviews-container {
    background: #2d2d2d;
    border-radius: 10px;
    padding: 2rem;
}

.review-form-card {
    margin-bottom: 2rem;
}

.review-form-title {
    color: #fff;
    margin-bottom: 1rem;
}

.rating-input {
    margin-bottom: 1rem;
}

.rating-input .fa-star {
    color: #f39c12;
    cursor: pointer;
    font-size: 1.3rem;
    margin-left: 0.3rem;
}

.review-form-card textarea {
    width: 100%;
    padding: 1rem;
    background: #3d3d3d;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    min-height: 120px;
    margin-bottom: 1rem;
}

.btn-submit-review {
    background: #ff425d;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    background: #3d3d3d;
    border-radius: 8px;
    padding: 1.5rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-meta {
    flex: 1;
}

.reviewer-name {
    color: #fff;
    font-weight: 500;
    display: block;
    margin-bottom: 0.3rem;
}

.review-rating {
    color: #f39c12;
}

.review-date {
    color: #8f8f8f;
    font-size: 0.85rem;
}

.review-text {
    color: #d0d0d0;
    line-height: 1.6;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-height: 90vh;
    max-width: 100%;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}


/* Enhanced Developer Box */
.developer-card-enhanced {
    background: #2d2d2d;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #3a3a3a;
}

.section-title {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.developer-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #ff425d;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(46, 198, 48, 0.3);
}

.developer-profile {
    padding: 1.5rem;
    gap: 1.5rem;
    align-items: center;
}

.developer-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.developer-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3a3a3a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.developer-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #2d2d2d;
}

.developer-status.online {
    background: #ff425d;
}

.developer-status.offline {
    background: #8f8f8f;
}

.developer-info {
    flex: 1;
}

.developer-name {
    color: #fff;
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.developer-bio {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.developer-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    color: #ff425d;
    font-weight: bold;
    font-size: 1.1rem;
}

.stat-label {
    color: #8f8f8f;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.developer-actions {
    display: flex;
    padding: 0 1.5rem 1.5rem 1.5rem;
    gap: 1rem;
}

.btn-follow {
    background: #ff425d;
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-view-profile {
    background: #3d3d3d;
    color: #fff;
    border: 1px solid #555;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-follow:hover {
    background: #ff425d;
    transform: translateY(-2px);
}

.btn-view-profile:hover {
    background: #4d4d4d;
    border-color: #666;
    transform: translateY(-2px);
}

.developer-latest {
    border-top: 1px solid #3a3a3a;
    padding: 1.2rem 1.5rem;
}

.latest-title {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.latest-games {
    display: flex;
    gap: 1rem;
}

.game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.game-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.game-name {
    color: #d0d0d0;
    font-size: 0.8rem;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .developer-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .developer-stats {
        justify-content: center;
    }
    
    .developer-actions {
        flex-direction: column;
    }
    
    .latest-games {
        justify-content: center;
    }
}

/* Flash messages */

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
}

.flash-message {
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: between;
    align-items: center;
    animation: slideIn 0.3s ease;
    position: relative;
}

.flash-success {
    background: #2EC630;
    color: white;
    border-right: 5px solid #25a328;
}

.flash-error {
    background: #e74c3c;
    color: white;
    border-right: 5px solid #c0392b;
}

.flash-info {
    background: #3498db;
    color: white;
    border-right: 5px solid #2980b9;
}

.flash-warning {
    background: #f39c12;
    color: white;
    border-right: 5px solid #e67e22;
}

.flash-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin: 0 10px 0 0;
    font-size: 20px;
    display: flex;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Make sure flash messages don't interfere with mobile nav */
@media (max-width: 768px) {
    .flash-messages {
        top: 80px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Flash messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.back-to-login {
    text-align: center;
    margin-top: 1.5rem;
}

.back-link {
    color: #8f8f8f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.back-link:hover {
    color: #ff425d;
}

.email-confirmation {
    background: #3d3d3d;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    border: 1px solid #ff425d;
}

.email-confirmation i {
    color: #ff425d;
    margin-left: 0.5rem;
}
/* Form styling */
#username-form {
    margin-top: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #3d3d3d;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.info-item label {
    font-weight: bold;
    color: #ff425d;
    min-width: 120px;
}

.info-item span {
    color: #f0f0f0;
    flex: 1;
    text-align: left;
}

#username-edit {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid #ff425d;
    border-radius: 4px;
    background: #2d2d2d;
    color: #f0f0f0;
    font-size: 1rem;
}

.edit-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-end;
}

[file name]: account.html (add to the style section)
/* Social Media Form Styles */
.social-media-form {
    background: #3d3d3d;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.social-media-form .form-group {
    margin-bottom: 1.2rem;
}

.social-media-form label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #f0f0f0;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.social-media-form label i {
    width: 20px;
    text-align: center;
    color: #ff425d;
}



.social-media-form input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #444;
    border-radius: 8px;
    background: #2d2d2d;
    color: #f0f0f0;
}

.social-media-form input:focus {
    outline: none;
    border-color: #ff425d;
}

/* Social Links in Profile */
.social-links {
    display: flex;
    gap: 0.8rem;
    margin: 1rem 0;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #3d3d3d;
    color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    background: #ff425d;
    color: white;
}

.beta-banner {
    position: absolute;
    top: 90px;
    right: 100px;
    background-color: #E91E63;
    color: white;
    padding: 4px 8px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 1000;
}

.beta-banner {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #E91E63;
    color: white;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.beta-banner:hover {
    transform: rotate(-1deg) scale(1.05);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .beta-banner {
        font-size: 15px;
        right: 10px;
        top: 95px;
    }
}

/* Page Loader Styles */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loader.active {
    opacity: 1;
    visibility: visible;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    position: relative;
}

.loader-spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #151534;
    animation: spin 1s linear infinite;
}

.loader-spinner:after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: spin 0.5s linear infinite reverse;
    opacity: 0.7;
}

.loader-text {
    font-size: 1.2rem;
    margin-top: 15px;
    color: #f0f0f0;
}

.logobox {
    background-color: #ff425d;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    width: 30%;
    height: 30%;
    margin-bottom: 15px;
    border-radius: 12px;
    animation: pulse 1.5s ease-in-out infinite alternate;
}

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

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* Prevent scrolling when loader is active */
body.loading {
    overflow: hidden;
}

main {
    opacity: 1;
    transition: opacity 0.3s ease;
}

body.loading main {
    opacity: 0.7;
}

@media (prefers-reduced-motion: no-preference) {
  .page-sections > header,
  .page-sections > main,
  .page-sections > section,
  .page-sections > footer {
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 520ms cubic-bezier(.2,.7,.3,1) both;
  }
  .page-sections > header { animation-delay: 60ms; }
  .page-sections > main { animation-delay: 140ms; }
  .page-sections > section { animation-delay: 220ms; }
  .page-sections > footer { animation-delay: 300ms; }
}

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Hero Section Enhanced */
.hero-new {
    background: linear-gradient(rgba(21, 21, 52, 0.8), rgba(21, 21, 52, 0.8)), 
                url('/static/images/hero-bg.jpg'); /* تأكد من وجود صورة خلفية أو لون سادة */
    background-size: cover;
    padding: 100px 0;
    text-align: center;
    border-radius: 20px;
    margin: 2rem 0;
}

.hero-new h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.explore-bar {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 3rem;
    border: 1px solid #333;
    display: flex;
    justify-content: center;
}

.tag-bubble:hover {
    background: #ff425d;
    border-color: #ff425d;
}

.btn-surprise {
    background: linear-gradient(45deg, #ff425d, #ff8091);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Section Titles */
.home-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
}

.home-section-title h2 {
    font-size: 1.8rem;
    border-right: 5px solid #ff425d;
    padding-right: 15px;
}

/* أضف هذا الكود في نهاية style.css */
.btn-surprise {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(1); box-shadow: 0 0 0 0px rgba(255, 66, 93, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 66, 93, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0px rgba(255, 66, 93, 0); }
}

/* WebGL Container Styles */
.game-webgl-section {
    background: #2d2d2d;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.webgl-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

#unity-iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* الحفاظ على أبعاد اللعبة */
    background: #000;
    border-radius: 8px;
    border: 2px solid #3d3d3d;
}

.webgl-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 10px;
    background: #1e1e1e;
    border-radius: 8px;
}

.webgl-hint {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.btn-fullscreen {
    background: #ff425d;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn-fullscreen:hover {
    background: #ff6b81;
    transform: translateY(-2px);
}

/* =========================================
   NEW HOMEPAGE DESIGN (NEO-ARCADE THEME)
   ========================================= */

/* Hero Section with Animated Grid Background */
.neo-hero {
    position: relative;
    background-color: #151534;
    background-image: 
        linear-gradient(rgba(21, 21, 52, 0.9), rgba(21, 21, 52, 0.95)),
        url('/static/images/hero-bg.jpg'); /* Fallback if image exists */
    padding: 6rem 2rem;
    border-radius: 20px;
    margin: 2rem 0;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(255, 66, 93, 0.2);
    box-shadow: 0 0 30px rgba(21, 21, 52, 0.5);
}

/* Animated Retro Grid */
.neo-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: 
        linear-gradient(transparent 50%, rgba(255, 66, 93, 0.05) 50%),
        linear-gradient(90deg, rgba(255, 66, 93, 0.05) 50%, transparent 50%);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg) translateY(50px) scale(2);
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 1000px; }
}

.neo-content {
    position: relative;
    z-index: 1;
}

/* Glitch Title Effect */
.pixel-title {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pixel-subtitle {
    font-size: 1.3rem;
    color: #b0b0d0;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

/* Action Buttons */
.neo-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-arcade-primary {
    background: #ff425d;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    box-shadow: 0 6px 0 #bf1f36, 0 10px 10px rgba(0,0,0,0.3);
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-arcade-primary:hover {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #bf1f36, 0 4px 4px rgba(0,0,0,0.3);
}

.btn-arcade-secondary {
    background: transparent;
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: 2px solid #ff425d;
    border-radius: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-arcade-secondary:hover {
    background: rgba(255, 66, 93, 0.1);
    box-shadow: 0 0 20px rgba(255, 66, 93, 0.4);
}

/* Surprise Box (Pixel Style) */
.surprise-container {
    background: linear-gradient(135deg, #1e1e2e, #151534);
    border: 2px dashed #444;
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.surprise-text h3 {
    color: #ff425d;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.btn-random {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #151534;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 900;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    animation: pulse-gold 2s infinite;
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes pulse-gold {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* Section Headers */
.section-header-pixel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 3rem 0 1.5rem 0;
    border-bottom: 2px solid #2d2d2d;
    padding-bottom: 1rem;
}

.section-header-pixel h2 {
    font-size: 1.8rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header-pixel h2::before {
    content: '';
    display: block;
    width: 8px;
    height: 30px;
    background: #ff425d;
    border-radius: 2px;
}

/* Game Cards (Enhanced) */
.pixel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.card-pixel {
    background: #1e1e24;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    border: 1px solid #2d2d2d;
}

.card-pixel:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: #ff425d;
}

.card-pixel .thumb-wrapper {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.card-pixel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card-pixel:hover img {
    transform: scale(1.1);
}

.card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
}

.card-pixel .details {
    padding: 1.2rem;
}

.card-pixel h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-pixel .author {
    color: #8f8f8f;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #2d2d2d;
    padding-top: 0.8rem;
}

.rating-badge {
    color: #FFD700;
    font-weight: bold;
    font-size: 0.9rem;
}

.play-text {
    color: #ff425d;
    font-size: 0.9rem;
    font-weight: bold;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s;
}

.card-pixel:hover .play-text {
    opacity: 1;
    transform: translateX(0);
}

/* Modern Stats HUD */
.stats-hud {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 5rem;
    background: #1e1e24;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 2px solid #ff425d;
}

.hud-item {
    text-align: center;
    position: relative;
}

.hud-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #2d2d2d;
}

.hud-icon {
    font-size: 2rem;
    color: #ff425d;
    margin-bottom: 1rem;
    background: rgba(255, 66, 93, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
}

.hud-number {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    display: block;
}

.hud-label {
    color: #8f8f8f;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .pixel-title { font-size: 2.5rem; }
    .surprise-container { flex-direction: column; text-align: center; }
    .stats-hud { grid-template-columns: 1fr 1fr; }
    .hud-item:not(:last-child)::after { display: none; }
    .neo-hero { padding: 4rem 1rem; }
}

/* =========================================
   NEO-HEADER STYLES (CYBER-HUD)
   ========================================= */

header {
    /* Semi-transparent Dark Blue Base */
    background: #0a0a12;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

/* Nav Links Styling */
.nav-links {
    align-items: center; /* Center items vertically */
}

.nav-links a {
    color: #e0e0e0;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.6rem 0.2rem;
    border-radius: 6px; /* Slightly rounded corners */
    position: relative;
    /* Remove the old underline logic if present */
    overflow: hidden; 
}

/* Disable the old underline effect from previous CSS */
.nav-links a:after {
    display: none;
}



/* Beta Banner - Pixelated Badge Style */
.beta-banner {
    background: #ff425d;
    color: #fff;
    border: 2px solid #fff;
    /* Pixelated Shadow */
    box-shadow: 
        4px 4px 0 #151534,
        4px 4px 0 2px #fff;
    font-weight: 900;
    padding: 5px 12px;
    border-radius: 0; /* Sharp corners for retro feel */
    transform: rotate(0deg); /* Straighten it out */
    top: 22px;
    right: 20px;
    z-index: 1002;
    transition: transform 0.2s;
}

.beta-banner:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Logo Styling */
.site-logo {
    transition: transform 0.3s;
}

.site-logo:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Mobile Toggle Button */
.mobile-nav-toggle {
    color: #fff;
    background: rgba(255, 66, 93, 0.1);
    border: 2px solid #ff425d;
    border-radius: 8px;
    padding: 0.5rem 0.8rem;
    box-shadow: 0 0 10px rgba(255, 66, 93, 0.2);
    transition: 0.3s;
}

.mobile-nav-toggle:hover {
    background: #ff425d;
    box-shadow: 0 0 20px rgba(255, 66, 93, 0.6);
}

/* Mobile Menu Slide-out Background */
@media (max-width: 768px) {
    .nav-links {
        background-color: #151534; /* Match the new dark theme */
        border-left: 4px solid #ff425d;
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
    }
    
    .nav-links a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        width: 100%;
    }
    
    .nav-links a:hover {
        background: linear-gradient(90deg, rgba(255, 66, 93, 0.2), transparent);
        box-shadow: none;
        transform: translateX(-5px); /* Move left on hover in Arabic RTL */
    }
}

/* CRT Monitor Effect - Subtle Lines */
.scanlines::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        to bottom,
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.1) 50%
    );
    background-size: 100% 4px; /* Size of the lines */
    z-index: -1; /* Behind the text */
    pointer-events: none; /* Let clicks pass through */
    position: fixed; /* Stay on screen */
}
/* --- CUSTOM MODAL STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.pro-modal {
    background: #15151a;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    text-align: center;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-overlay.active .pro-modal {
    transform: translateY(0) scale(1);
}

.pro-modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pro-modal h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.pro-modal p {
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pro-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-modal-primary, .btn-modal-secondary, .btn-modal-danger {
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    font-family: inherit;
}

.btn-modal-primary { background: #ff425d; color: white; flex: 1; }
.btn-modal-primary:hover { background: #ff425ea1; }

.btn-modal-secondary { background: transparent; border: 1px solid #555; color: #ccc; }
.btn-modal-secondary:hover { border-color: #fff; color: #fff; }

.btn-modal-danger { background: #e74c3c; color: white; flex: 1; }
.btn-modal-danger:hover { background: #c0392b; }

/* --- DYNAMIC AVATAR FRAMES --- */

/* 1. Base Avatar Styles (Navbar) */
.user-avatar {
    transition: all 0.3s ease;
    border: 2px solid transparent; /* Default */
}

/* 2. Gold Frame */
.frame-gold, 
.user-avatar.frame-gold {
    border-color: #f1c40f !important;
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}

/* 3. Neon Frame */
.frame-neon, 
.user-avatar.frame-neon {
    border-color: #ff425d !important;
    box-shadow: 0 0 10px rgba(255, 66, 93, 0.5);
}

/* 4. Large Profile Avatar (Account Page) */
.profile-avatar.frame-gold {
    border: 4px solid #f1c40f;
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.4);
}

.profile-avatar.frame-neon {
    border: 4px solid #ff425d;
    box-shadow: 0 0 20px rgba(255, 66, 93, 0.4);
}

/* --- Fix for Fullscreen Game Mode --- */

/* 1. Target the container when it enters fullscreen */
#gameContainer:fullscreen,
#gameContainer:-webkit-full-screen,
#gameContainer:-moz-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    background-color: #000 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Target the iframe INSIDE the fullscreen container */
#gameContainer:fullscreen iframe,
#gameContainer:-webkit-full-screen iframe,
#gameContainer:-moz-full-screen iframe {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: unset !important; /* CRITICAL: Allows it to stretch */
    border: none !important;
    border-radius: 0 !important;
    max-width: none !important;
    max-height: none !important;
}

/* --- FIX: Force Game to Stretch in Fullscreen --- */

/* 1. When the container is fullscreen, make it a flexbox to center content */
#gameContainer:fullscreen {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #000 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 2. Force the iframe (the game window) to fill the screen */
#gameContainer:fullscreen iframe {
    width: 100vw !important;
    height: 100vh !important;
    border: none !important;
    max-width: none !important;
    max-height: none !important;
}

/* Webkit support (Chrome/Safari) */
#gameContainer:-webkit-full-screen {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}
#gameContainer:-webkit-full-screen iframe {
    width: 100vw !important;
    height: 100vh !important;
}
.arcade-footer {
    position: relative;
    /* Clean, solid dark background with a subtle gradient at the top */
    background: linear-gradient(to bottom, #0a0a12 0%, #050508 100%);
    border-top: 2px solid #ff425d; /* Thinner, more elegant border */
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5); /* Soft shadow instead of glow */
}

.footer-grid-cyber {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

.footer-brand-cyber img.footer-logo-banner {
    max-width: 180px; /* Adjust size of the banner */
    height: auto;
    margin-bottom: 1.2rem;
    display: block;
    filter: brightness(1.1); /* Makes it pop slightly on dark bg */
}

.footer-brand-cyber p {
    color: #8f8f9d;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
    margin-top: 10px;
}

/* Links Headers */
.footer-heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    display: block;
}

/* Links List - Clean & Simple */
.footer-links-cyber {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-cyber li {
    margin-bottom: 10px;
}

.footer-links-cyber a {
    color: #b0b0c0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links-cyber a:hover {
    color: #ff425d;
    padding-right: 5px; /* Subtle movement */
}

/* System Status Box - Simplified */
.connect-box {
    background: #0f0f16;
    border: 1px solid #2d2d38;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.connect-text {
    color: #b0b0c0;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

/* Keep the social buttons same as before */
.social-cyber-hub {
    display: flex;
    gap: 10px;
}
.status-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-family: monospace; /* Keeps the tech feel */
    color: #2ecc71;
    font-weight: bold;
}

.server-stats {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.6;
    font-family: monospace;
    margin-bottom: 15px;
}

/* Social Buttons - Minimalist */
.social-cyber-hub {
    display: flex;
    gap: 8px;
}

.btn-social-cyber {
    width: 36px; height: 36px;
    background: #1e1e24;
    color: #b0b0c0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-social-cyber:hover {
    background: #ff425d;
    color: white;
    transform: translateY(-2px);
}

/* Bottom Bar */
.footer-bottom-cyber {
    border-top: 1px solid #1e1e24;
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #555;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .footer-grid-cyber { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
    .footer-grid-cyber { grid-template-columns: 1fr; text-align: center; }
    .footer-brand-cyber p { margin: 0 auto; }
    .footer-brand-cyber h3 { justify-content: center; }
    .footer-links-cyber a { justify-content: center; }
    .footer-bottom-cyber { flex-direction: column; gap: 10px; }
}


::-webkit-scrollbar {
    width: 10px;             
    height: 10px;             
}


::-webkit-scrollbar-track {
    background: rgb(7, 7, 20); 
    border-left: 1px solid #1e1e24;
}

::-webkit-scrollbar-thumb {
    background: #2d2d2d;     
    border-radius: 5px;     
    border: 2px solid rgb(7, 7, 20); 
    transition: background 0.3s ease;
}


::-webkit-scrollbar-thumb:hover {
    background: #ff425d;      
    box-shadow: 0 0 10px rgba(255, 66, 93, 0.5); 
}


::-webkit-scrollbar-corner {
    background: rgb(7, 7, 20);
}


html {
    scrollbar-width: thin;
    scrollbar-color: #2d2d2d rgb(7, 7, 20);
}