/* Variables */
:root {
    --primary: #ff0000;
    --dark: #000000;
    --light: #ffffff;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Header Styles */
header {
    background: var(--dark);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.language-select {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light);
    margin-left: 1rem;
}

.language-select img {
    width: 24px;
    height: 16px;
}

/* Main Content */
.main-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
    gap: 2rem;
}

/* Banner Section */
.banner {
    background: linear-gradient(45deg, rgb(0, 0, 0), rgb(3, 3, 3));
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--light);
    max-width: 60%;
    z-index: 1;
}

.banner p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.banner-image {
    position: absolute;
    right: -50px;
    bottom: -20px;
    height: 80%;
    opacity: 0.9;
}

.banner-character {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
    transform: translateX(0);
    opacity: 0.9;
    pointer-events: none;
}

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.game-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.game-card h3 {
    font-size: 1rem;
    color: var(--light);
    margin: 0.5rem 0;
}

.download-btn {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    border-color: #ff0000;
}

.download-btn i {
    font-size: 1.1rem;
}

/* Footer */
footer {
    color: #fff;
    padding: 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.footer-logo {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    position: relative;
    z-index: 1;
}

.trademark {
    font-size: 0.7rem;
    vertical-align: super;
}

/* Announcement Bar */
.announcement-bar {
    background: #1a1a1a;
    padding: 8px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.announcement-content {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
    color: #fff;
    padding-left: 100%;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: auto;
}

.modal-content {
    background: #1a1a1a;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    position: relative;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
}

.close-modal:hover {
    opacity: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-title {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.error-message {
    color: #ff0000;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.success-message {
    color: #00ff00;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
        overflow-y: auto;
    }

    .banner {
        min-height: 100%;
        padding: 1rem;
    }

    .banner-character {
        max-width: 100%;
        height: 100%;
        position: relative;
        margin: 0 auto;
        display: block;
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-card {
        padding: 1rem;
    }

    .game-icon {
        font-size: 1.5rem;
    }

    .game-card h3 {
        font-size: 0.8rem;
    }

    header {
        padding: 0.5rem 1rem;
    }

    .logo {
        height: 30px;
    }

    .btn {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }

    .nav-buttons {
        gap: 0.5rem;
    }

    .announcement-bar {
        padding: 6px 0;
    }

    .announcement-content {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .game-card {
        padding: 0.75rem;
    }

    .game-icon {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }

    .game-card h3 {
        font-size: 0.7rem;
    }

    .btn {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }

    .download-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
} 