/* ==========================================
   PRODUCTS PAGE - Glass Theme
   ========================================== */

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0d121f;
    --bg-tertiary: #161b2b;
    --text-primary: #ffffff;
    --text-secondary: #adb5bd;
    --accent: #4da6ff;
    --accent-hover: #3d86cc;
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --footer-bg: rgba(10, 13, 20, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --transition-speed: 0.3s;
    --glass-border: rgba(255, 255, 255, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 50%, #0a0e1a 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(77, 166, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(77, 166, 255, 0.08) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* ==========================================
   NAVIGATION BAR - Glass Effect
   ========================================== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(16, 21, 34, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-speed);
}

.navbar:hover {
    background: rgba(16, 21, 34, 0.75);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(77, 166, 255, 0.5);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    margin-left: 1.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-speed);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(77, 166, 255, 0.5);
}

.discord-btn {
    background: rgba(88, 101, 242, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(88, 101, 242, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all var(--transition-speed);
    white-space: nowrap;
}

.discord-btn:hover {
    background: rgba(88, 101, 242, 0.6);
    border-color: #5865F2;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
    color: white !important;
    transform: translateY(-2px);
}

.login-btn {
    background: rgba(22, 27, 43, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all var(--transition-speed);
    white-space: nowrap;
}

.login-btn:hover {
    background: rgba(77, 166, 255, 0.3);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(77, 166, 255, 0.4);
    color: white !important;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.close-menu {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* ==========================================
   HERO SECTION - Glass Effect
   ========================================== */

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(https://images4.alphacoders.com/134/thumb-1920-1343608.jpeg);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 50px;
    position: relative;
    animation: fadeIn 1s ease-out;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 0;
}

.hero-section h2,
.hero-section h1,
.hero-section p {
    position: relative;
    z-index: 1;
}

.hero-section h2 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(77, 166, 255, 0.5);
}

.hero-section h1 {
    font-size: 3em;
    color: #0080ff;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(77, 166, 255, 0.8);
}

#changing-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: slideUpAndDown 3s infinite;
    color: rgb(0, 183, 255);
    text-shadow: 0 0 30px rgba(77, 166, 255, 0.8);
}

@keyframes slideUpAndDown {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    10%, 90% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ==========================================
   GAME LIST SECTION
   ========================================== */

.game-list {
    padding: 40px 20px;
    text-align: center;
}

.game-list h2 {
    font-size: 2.5em;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(77, 166, 255, 0.8);
}

.game-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   GAME CARDS - Glass Effect
   ========================================== */

.game-card {
    position: relative;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-speed);
    animation: fadeInUp 0.5s ease-in-out forwards;
    opacity: 0;
    transform: translateY(20px);
    overflow: hidden;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    background: rgba(22, 27, 43, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(77, 166, 255, 0.5);
    border-color: rgba(77, 166, 255, 0.6);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: transform 0.5s ease-out;
}

.game-card:hover img {
    transform: scale(1.1);
}

.game-card .content {
    position: relative;
    z-index: 2;
    padding: 20px;
    color: white;
    text-align: left;
    background: rgba(0, 0, 0, 0.6);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background var(--transition-speed);
}

.game-card:hover .content {
    background: rgba(0, 0, 0, 0.2);
}

.game-card h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.game-card p {
    font-size: 0.9em;
    color: #bbb;
}

.game-card .price {
    font-size: 1em;
    font-weight: bold;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(77, 166, 255, 0.5);
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(244, 67, 54, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.75em;
    font-weight: bold;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
}

/* ==========================================
   FOOTER - Glass Effect
   ========================================== */

footer {
    background: rgba(10, 13, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 2.5rem 5%;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo-section {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 1.5rem;
}

.logo-address-wrapper {
    display: flex;
    align-items: center;
}

.footer-logo {
    width: 80px;
    margin-right: 1rem;
    filter: drop-shadow(0 0 10px rgba(77, 166, 255, 0.5));
}

.footer-address {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
}

.footer-address p {
    margin-bottom: 0.3rem;
}

.footer-columns {
    display: flex;
    gap: 2.5rem;
    text-align: left;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(77, 166, 255, 0.3);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.7rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-speed);
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(77, 166, 255, 0.5);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: all var(--transition-speed);
    padding: 0.5rem;
    background: rgba(77, 166, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--accent);
    background: rgba(77, 166, 255, 0.2);
    box-shadow: 0 0 20px rgba(77, 166, 255, 0.5);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================
   SCROLLBAR - Glass Style
   ========================================== */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 14, 26, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-right: 1px solid var(--glass-border);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        z-index: 999;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        margin: 1.5rem 0;
        font-size: 1.1rem;
    }
        .footer-container {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo-section {
        margin-bottom: 2rem;
        align-items: center;
    }
    
    .logo-address-wrapper {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .footer-address {
        text-align: center;
    }
    
    .footer-columns {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-column {
        margin-bottom: 1rem;
    }
    
}
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(13, 18, 31, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(77, 166, 255, 0.3);
    border-radius: 5px;
    backdrop-filter: blur(10px);
}