/**
 * GNet Login - Layout Stylesheet
 * Website: gnetlogin.click
 * Prefix: wa2e4-
 * Colors: #2C2C2C (bg), #8B008B (accent), #D3D3D3 (text)
 */

/* CSS Variables */
:root {
    --wa2e4-bg-primary: #2C2C2C;
    --wa2e4-bg-secondary: #1a1a1a;
    --wa2e4-bg-tertiary: #3d3d3d;
    --wa2e4-accent: #8B008B;
    --wa2e4-accent-light: #a020a0;
    --wa2e4-accent-dark: #6b006b;
    --wa2e4-text-primary: #D3D3D3;
    --wa2e4-text-secondary: #a0a0a0;
    --wa2e4-text-light: #ffffff;
    --wa2e4-border: #4a4a4a;
    --wa2e4-shadow: rgba(0, 0, 0, 0.3);
    --wa2e4-gradient: linear-gradient(135deg, var(--wa2e4-accent) 0%, var(--wa2e4-accent-dark) 100%);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--wa2e4-bg-primary);
    color: var(--wa2e4-text-primary);
    line-height: 1.5;
    font-size: 1.6rem;
    min-height: 100vh;
}

a {
    color: var(--wa2e4-accent-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--wa2e4-text-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.wa2e4-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.wa2e4-wrapper {
    padding: 2rem 0;
}

/* Header */
.wa2e4-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--wa2e4-bg-secondary);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--wa2e4-shadow);
    transition: box-shadow 0.3s ease;
}

.wa2e4-header.wa2e4-scrolled {
    box-shadow: 0 4px 20px var(--wa2e4-shadow);
}

.wa2e4-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.wa2e4-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wa2e4-logo img {
    width: 32px;
    height: 32px;
}

.wa2e4-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--wa2e4-text-light);
    background: var(--wa2e4-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wa2e4-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.wa2e4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.wa2e4-btn-primary {
    background: var(--wa2e4-gradient);
    color: var(--wa2e4-text-light);
}

.wa2e4-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 0, 139, 0.4);
}

.wa2e4-btn-secondary {
    background: transparent;
    color: var(--wa2e4-text-primary);
    border: 2px solid var(--wa2e4-accent);
}

.wa2e4-btn-secondary:hover {
    background: var(--wa2e4-accent);
    color: var(--wa2e4-text-light);
}

.wa2e4-menu-toggle {
    background: none;
    border: none;
    color: var(--wa2e4-text-primary);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.wa2e4-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background-color: var(--wa2e4-bg-secondary);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 2rem;
}

.wa2e4-mobile-menu.wa2e4-active {
    right: 0;
}

.wa2e4-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wa2e4-menu-overlay.wa2e4-active {
    opacity: 1;
    visibility: visible;
}

.wa2e4-mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--wa2e4-text-primary);
    font-size: 2.4rem;
    cursor: pointer;
}

.wa2e4-mobile-menu-nav {
    margin-top: 4rem;
}

.wa2e4-mobile-menu-nav a {
    display: block;
    padding: 1.2rem 0;
    color: var(--wa2e4-text-primary);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--wa2e4-border);
    transition: all 0.3s ease;
}

.wa2e4-mobile-menu-nav a:hover {
    color: var(--wa2e4-accent-light);
    padding-left: 1rem;
}

/* Slider */
.wa2e4-slider {
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    aspect-ratio: 16/9;
}

.wa2e4-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.wa2e4-slide.wa2e4-active {
    opacity: 1;
}

.wa2e4-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wa2e4-slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.wa2e4-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--wa2e4-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wa2e4-slider-dot.wa2e4-active {
    background: var(--wa2e4-accent);
    transform: scale(1.2);
}

/* Main Content */
.wa2e4-main {
    padding-bottom: 80px;
}

.wa2e4-section {
    padding: 2rem 0;
}

.wa2e4-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wa2e4-text-light);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.wa2e4-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--wa2e4-gradient);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* Game Grid */
.wa2e4-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.wa2e4-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wa2e4-game-item:hover {
    transform: scale(1.05);
}

.wa2e4-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px var(--wa2e4-shadow);
}

.wa2e4-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wa2e4-game-name {
    font-size: 1.1rem;
    color: var(--wa2e4-text-primary);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.wa2e4-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--wa2e4-accent-light);
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--wa2e4-accent);
}

/* Cards */
.wa2e4-card {
    background: var(--wa2e4-bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px var(--wa2e4-shadow);
}

.wa2e4-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--wa2e4-text-light);
    margin-bottom: 1rem;
}

.wa2e4-card-text {
    font-size: 1.4rem;
    color: var(--wa2e4-text-secondary);
    line-height: 1.6;
}

/* Features List */
.wa2e4-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.wa2e4-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--wa2e4-bg-tertiary);
    border-radius: 10px;
}

.wa2e4-feature-icon {
    font-size: 2.4rem;
    color: var(--wa2e4-accent);
}

.wa2e4-feature-text h4 {
    font-size: 1.4rem;
    color: var(--wa2e4-text-light);
    margin-bottom: 0.3rem;
}

.wa2e4-feature-text p {
    font-size: 1.2rem;
    color: var(--wa2e4-text-secondary);
}

/* FAQ Section */
.wa2e4-faq-item {
    background: var(--wa2e4-bg-secondary);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.wa2e4-faq-question {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--wa2e4-accent-light);
    margin-bottom: 0.5rem;
}

.wa2e4-faq-answer {
    font-size: 1.3rem;
    color: var(--wa2e4-text-secondary);
    line-height: 1.5;
}

/* CTA Section */
.wa2e4-cta {
    background: var(--wa2e4-gradient);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 16px;
    margin: 2rem 0;
}

.wa2e4-cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--wa2e4-text-light);
    margin-bottom: 1rem;
}

.wa2e4-cta-text {
    font-size: 1.4rem;
    color: var(--wa2e4-text-light);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.wa2e4-cta .wa2e4-btn {
    font-size: 1.6rem;
    padding: 1rem 3rem;
    background: var(--wa2e4-text-light);
    color: var(--wa2e4-accent);
}

.wa2e4-cta .wa2e4-btn:hover {
    transform: scale(1.05);
}

/* Footer */
.wa2e4-footer {
    background: var(--wa2e4-bg-secondary);
    padding: 2rem 1.5rem 3rem;
    border-top: 1px solid var(--wa2e4-border);
}

.wa2e4-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.wa2e4-footer-links a {
    font-size: 1.3rem;
    color: var(--wa2e4-text-secondary);
}

.wa2e4-footer-links a:hover {
    color: var(--wa2e4-accent-light);
}

.wa2e4-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.wa2e4-partners img {
    width: 40px;
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.wa2e4-partners img:hover {
    opacity: 1;
}

.wa2e4-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--wa2e4-text-secondary);
}

/* Bottom Navigation */
.wa2e4-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--wa2e4-bg-secondary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px var(--wa2e4-shadow);
    border-top: 1px solid var(--wa2e4-border);
}

.wa2e4-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--wa2e4-text-secondary);
    text-decoration: none;
}

.wa2e4-bottom-nav-item:hover,
.wa2e4-bottom-nav-item.wa2e4-active {
    color: var(--wa2e4-accent);
    transform: scale(1.1);
}

.wa2e4-bottom-nav-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.wa2e4-bottom-nav-text {
    font-size: 10px;
    font-weight: 500;
}

/* Desktop: Hide bottom nav */
@media (min-width: 769px) {
    .wa2e4-bottom-nav {
        display: none;
    }

    .wa2e4-main {
        padding-bottom: 2rem;
    }
}

/* Mobile: Add padding for bottom nav */
@media (max-width: 768px) {
    .wa2e4-main {
        padding-bottom: 80px;
    }
}

/* Promo Link Styles */
.wa2e4-promo-link {
    color: var(--wa2e4-accent-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wa2e4-promo-link:hover {
    color: var(--wa2e4-text-light);
    text-decoration: underline;
}

.wa2e4-promo-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--wa2e4-gradient);
    color: var(--wa2e4-text-light);
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wa2e4-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 0, 139, 0.4);
}

/* List Styles */
.wa2e4-list {
    list-style: none;
    padding: 0;
}

.wa2e4-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.4rem;
    color: var(--wa2e4-text-secondary);
    border-bottom: 1px solid var(--wa2e4-border);
}

.wa2e4-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--wa2e4-accent);
}

/* RTP Stats */
.wa2e4-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.wa2e4-rtp-item {
    background: var(--wa2e4-bg-tertiary);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.wa2e4-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wa2e4-accent);
}

.wa2e4-rtp-label {
    font-size: 1.2rem;
    color: var(--wa2e4-text-secondary);
}

/* Achievements */
.wa2e4-achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--wa2e4-bg-tertiary);
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

.wa2e4-achievement-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--wa2e4-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--wa2e4-text-light);
}

.wa2e4-achievement-text h4 {
    font-size: 1.4rem;
    color: var(--wa2e4-text-light);
}

.wa2e4-achievement-text p {
    font-size: 1.2rem;
    color: var(--wa2e4-text-secondary);
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .wa2e4-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .wa2e4-features {
        grid-template-columns: 1fr;
    }
}
