/**
 * 7game APK - Main Stylesheet
 * Prefix: v427-
 * Website: 7gameapk.cfd
 * Color Palette: #C0C0C0 | #D3D3D3 | #A0522D | #141414 | #B0E0E6
 */

/* CSS Variables */
:root {
    --v427-primary: #A0522D;
    --v427-secondary: #C0C0C0;
    --v427-bg: #141414;
    --v427-text: #D3D3D3;
    --v427-accent: #B0E0E6;
    --v427-light: #C0C0C0;
    --v427-dark: #141414;
    --v427-border: #A0522D;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--v427-bg);
    color: var(--v427-text);
    line-height: 1.5rem;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    padding-bottom: 70px;
}

a {
    color: var(--v427-accent);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.v427-container {
    width: 100%;
    padding: 0 1rem;
}

/* Header */
.v427-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--v427-dark) 0%, #2a2a2a 100%);
    padding: 0.8rem 1rem;
    z-index: 1000;
    border-bottom: 2px solid var(--v427-primary);
}

.v427-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v427-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v427-logo img {
    width: 28px;
    height: 28px;
}

.v427-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--v427-accent);
}

.v427-header-btns {
    display: flex;
    gap: 0.6rem;
}

.v427-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.v427-btn-primary {
    background: linear-gradient(135deg, var(--v427-primary) 0%, #8B4513 100%);
    color: #fff;
}

.v427-btn-secondary {
    background: transparent;
    border: 1px solid var(--v427-accent);
    color: var(--v427-accent);
}

.v427-btn:hover {
    transform: scale(1.05);
}

/* Menu Toggle */
.v427-menu-toggle {
    background: transparent;
    border: none;
    color: var(--v427-text);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.v427-mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: var(--v427-dark);
    border-bottom: 2px solid var(--v427-primary);
    z-index: 999;
}

.v427-menu-open {
    display: block !important;
}

.v427-mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--v427-text);
    border-bottom: 1px solid #333;
    font-size: 1.3rem;
}

.v427-mobile-menu a:hover {
    background: rgba(160, 82, 45, 0.2);
    color: var(--v427-accent);
}

/* Hero Carousel */
.v427-hero {
    position: relative;
    height: 200px;
    overflow: hidden;
    margin-top: 56px;
}

.v427-slides {
    position: relative;
    height: 100%;
}

.v427-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.v427-slide.v427-active {
    opacity: 1;
}

.v427-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Content */
.v427-main {
    padding: 1.5rem 1rem;
}

/* Section Titles */
.v427-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v427-accent);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--v427-primary);
}

/* Game Grid */
.v427-game-section {
    margin-bottom: 2rem;
}

.v427-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.v427-game-card {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 1px solid #333;
}

.v427-game-card:hover {
    transform: scale(1.05);
    border-color: var(--v427-primary);
}

.v427-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.v427-game-card .v427-game-name {
    padding: 0.5rem;
    font-size: 1rem;
    color: var(--v427-text);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Info Section */
.v427-info-section {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #333;
}

.v427-info-section h2 {
    color: var(--v427-accent);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.v427-info-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.v427-info-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.v427-info-section li {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Promo Links */
.v427-promo-link {
    display: inline-block;
    color: var(--v427-primary);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.v427-promo-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--v427-primary) 0%, #8B4513 100%);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    margin: 0.5rem 0;
}

/* Footer */
.v427-footer {
    background: linear-gradient(180deg, #1a1a1a 0%, var(--v427-dark) 100%);
    padding: 1.5rem 1rem;
    border-top: 2px solid var(--v427-primary);
}

.v427-footer-brand {
    margin-bottom: 1rem;
}

.v427-footer-brand p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.v427-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.v427-footer-link {
    font-size: 1.1rem;
    color: var(--v427-accent);
    padding: 0.4rem 0.8rem;
    background: rgba(176, 224, 230, 0.1);
    border-radius: 4px;
}

.v427-footer-copyright {
    font-size: 1rem;
    color: var(--v427-secondary);
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

/* Bottom Navigation */
.v427-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    background: linear-gradient(180deg, #2a2a2a 0%, var(--v427-dark) 100%);
    border-top: 2px solid var(--v427-primary);
    padding: 0.5rem 0;
    z-index: 1000;
}

.v427-bottom-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    background: none;
    border: none;
    color: var(--v427-text);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 60px;
    transition: all 0.2s ease;
}

.v427-bottom-nav-btn i {
    font-size: 2rem;
}

.v427-bottom-nav-btn.v427-active {
    color: var(--v427-primary);
}

.v427-bottom-nav-btn:hover {
    color: var(--v427-accent);
}

/* Utility Classes */
.v427-text-center { text-align: center; }
.v427-mb-1 { margin-bottom: 1rem; }
.v427-mb-2 { margin-bottom: 2rem; }
.v427-mt-1 { margin-top: 1rem; }
.v427-mt-2 { margin-top: 2rem; }

/* Responsive adjustments */
@media screen and (max-width: 360px) {
    .v427-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .v427-section-title {
        font-size: 1.6rem;
    }
}
