/* Fonts from SoftReckon Wix site */
@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&display=swap');

:root {
    --dark-bg: #1a1a1a;
    --darker-bg: #121212;
    --sidebar-bg: #161d2a;
    --accent-color: #00C4C4;
    --accent-secondary: #0057C5;
    --text-color: #f0f0f0;
    --text-muted: #aaaaaa;
    --border-color: #444444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bai Jamjuree', sans-serif; /* Default font */
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: var(--sidebar-bg);
    transition: all 0.3s ease;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

    .sidebar.collapsed {
        width: 70px;
    }

.logo-container {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.sidebar.collapsed .logo {
    width: 40px;
}

.toggle-btn {
    position: absolute;
    top: 20px;
    right: -15px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-menu {
    list-style: none;
    padding: 20px 0;
}

.nav-item {
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    border-left: 3px solid transparent;
}

    .nav-item:hover {
        background-color: rgba(0, 196, 196, 0.1);
        border-left: 3px solid var(--accent-color);
    }

    .nav-item.active {
        background-color: rgba(0, 196, 196, 0.2);
        border-left: 3px solid var(--accent-color);
    }

    .nav-item i {
        margin-right: 15px;
        font-size: 1.2rem;
        width: 20px;
        text-align: center;
    }

.sidebar.collapsed .nav-text {
    display: none;
}

.sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 15px 0;
}

    .sidebar.collapsed .nav-item i {
        margin-right: 0;
    }

/* Main Content Styles */
.main-content {
    flex: 1;
    margin-left: 250px;
    transition: all 0.3s ease;
    padding: 20px;
    min-height: 100vh;
    background-color: var(--darker-bg);
}

.sidebar.collapsed ~ .main-content {
    margin-left: 70px;
}

.page {
    display: none;
    animation: fadeIn 0.5s ease;
}

    .page.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.page-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

    .page-header h1 {
        font-size: 2.5rem;
        background: linear-gradient(to right, var(--accent-color), var(--accent-secondary));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        display: inline-block;
    }

/* Home Page Styles */
.video-container {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.video-placeholder {
    text-align: center;
    color: white;
}

    .video-placeholder i {
        font-size: 4rem;
        margin-bottom: 20px;
    }

.content-section {
    margin-bottom: 40px;
}

    .content-section h2 {
        margin-bottom: 15px;
        color: var(--accent-color);
    }

    .content-section p {
        line-height: 1.6;
        margin-bottom: 15px;
        color: var(--text-muted);
    }

/* Software & Games Pages Styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

#games .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.product-card {
    background-color: var(--sidebar-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

.product-card {
    background: var(--sidebar-bg);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeUp 0.6s forwards;
}

    .product-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .product-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .product-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .product-card:nth-child(4) {
        animation-delay: 0.4s;
    }


    .product-card:nth-child(5) {
        animation-delay: 0.5s;
    }




@keyframes cardFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

    .product-image i {
        font-size: 3rem;
    }

.product-info {
    padding: 20px;
}

    .product-info h3 {
        margin-bottom: 10px;
        color: var(--accent-color);
    }

    .product-info p {
        color: var(--text-muted);
        margin-bottom: 15px;
        line-height: 1.5;
    }

/* End-of-Life Badge */
.eol-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: crimson;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.product-card {
    position: relative; /* ensures badge sits inside card */
}



.btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(to right, var(--accent-color), var(--accent-secondary));
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 196, 196, 0.4);
    }

.explore-more {
    text-align: center;
    margin-top: 40px;
}

/* Contact Page Styles */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-card {
    background-color: var(--sidebar-bg);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

    .contact-card i {
        font-size: 2.5rem;
        color: var(--accent-color);
        margin-bottom: 15px;
    }

    .contact-card h3 {
        margin-bottom: 10px;
    }

    .contact-card p {
        color: var(--text-muted);
    }

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--sidebar-bg);
    border-radius: 50%;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-link:hover {
        background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
        transform: translateY(-3px);
    }

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .sidebar {
        width: 70px;
    }

        .sidebar:not(.collapsed) {
            width: 250px;
            z-index: 1001;
        }

    .main-content {
        margin-left: 70px;
    }

    .sidebar:not(.collapsed) ~ .main-content {
        margin-left: 250px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form {
    background-color: var(--sidebar-bg);
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

    .contact-form h2 {
        margin-bottom: 20px;
        color: var(--accent-color);
    }

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        color: var(--text-color);
        font-weight: 500;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid var(--border-color);
        border-radius: 5px;
        background-color: var(--darker-bg);
        color: var(--text-color);
    }


.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .store-btn img {
        height: 40px; /* match play button height */
        width: auto;
    }

    /* Hover effect */
    .store-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 196, 196, 0.4);
    }

.first-store-btn {
    margin-left: 10px; /* Increase this value for more spacing */
}

.play-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* Mobile: stack Play Now on top, store buttons below */
@media (max-width: 768px) {
    .play-buttons {
        flex-direction: column;
        align-items: flex-start; /* keeps Play Now aligned left */
    }

        .play-buttons .store-btn-container {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }
}

#form-status {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}
.video-container {
    width: 100%;
    max-height: 450px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

    .video-container video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }






