/**
 * PHPlay SuperAce - Main Stylesheet
 * Website: phplay-superace.click
 * Prefix: v60b-
 */

/* ===== CSS Variables ===== */
:root {
    --v60b-primary: #1a1a2e;
    --v60b-secondary: #16213e;
    --v60b-accent: #e94560;
    --v60b-gold: #ffd700;
    --v60b-text-light: #ffffff;
    --v60b-text-muted: #b0b0b0;
    --v60b-bg-dark: #0f0f1a;
    --v60b-bg-card: #1e1e3f;
    --v60b-gradient-1: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    --v60b-gradient-2: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    --v60b-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --v60b-radius: 12px;
    --v60b-radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--v60b-bg-dark);
    color: var(--v60b-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== Header ===== */
.v60b-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.v60b-header-scrolled {
    background: rgba(15, 15, 26, 0.98);
    box-shadow: var(--v60b-shadow);
}

.v60b-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v60b-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v60b-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--v60b-gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v60b-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--v60b-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v60b-header-actions {
    display: flex;
    gap: 12px;
}

.v60b-btn {
    padding: 10px 24px;
    border-radius: var(--v60b-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}

.v60b-btn-login {
    background: transparent;
    border: 2px solid var(--v60b-accent);
    color: var(--v60b-text-light);
}

.v60b-btn-login:hover {
    background: var(--v60b-accent);
}

.v60b-btn-register {
    background: var(--v60b-gradient-1);
    color: var(--v60b-text-light);
}

.v60b-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

.v60b-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--v60b-text-light);
    font-size: 24px;
    cursor: pointer;
}

/* ===== Mobile Menu ===== */
.v60b-mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v60b-secondary);
    z-index: 9999;
    transition: left 0.3s ease;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.v60b-menu-active {
    left: 0;
}

.v60b-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;
}

.v60b-overlay-active {
    opacity: 1;
    visibility: visible;
}

.v60b-mobile-menu-list {
    list-style: none;
}

.v60b-mobile-menu-list li {
    margin-bottom: 15px;
}

.v60b-mobile-menu-list a {
    display: block;
    padding: 12px 16px;
    color: var(--v60b-text-light);
    border-radius: var(--v60b-radius-sm);
    transition: all 0.3s ease;
}

.v60b-mobile-menu-list a:hover {
    background: var(--v60b-bg-card);
    color: var(--v60b-gold);
}

.v60b-no-scroll {
    overflow: hidden;
}

/* ===== Hero Section ===== */
.v60b-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--v60b-primary) 0%, var(--v60b-secondary) 100%);
    padding: 100px 20px 120px;
    position: relative;
    overflow: hidden;
}

.v60b-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
}

.v60b-hero-content {
    text-align: center;
    max-width: 600px;
    z-index: 1;
}

.v60b-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.v60b-hero-title span {
    background: var(--v60b-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v60b-hero-subtitle {
    font-size: 1.1rem;
    color: var(--v60b-text-muted);
    margin-bottom: 30px;
}

.v60b-hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.v60b-btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* ===== Games Section ===== */
.v60b-games-section {
    padding: 60px 20px;
    background: var(--v60b-bg-dark);
}

.v60b-section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.v60b-section-title span {
    color: var(--v60b-gold);
}

.v60b-category-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.v60b-category-btn {
    padding: 10px 20px;
    background: var(--v60b-bg-card);
    border: none;
    border-radius: 25px;
    color: var(--v60b-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.v60b-category-btn:hover,
.v60b-category-active {
    background: var(--v60b-gradient-1);
}

.v60b-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.v60b-game-card {
    background: var(--v60b-bg-card);
    border-radius: var(--v60b-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v60b-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--v60b-shadow);
}

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

.v60b-game-name {
    padding: 12px;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== Features Section ===== */
.v60b-features {
    padding: 60px 20px;
    background: var(--v60b-secondary);
}

.v60b-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.v60b-feature-card {
    background: var(--v60b-bg-card);
    padding: 30px;
    border-radius: var(--v60b-radius);
    text-align: center;
    transition: all 0.3s ease;
}

.v60b-feature-card:hover {
    transform: translateY(-5px);
}

.v60b-feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--v60b-gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.v60b-feature-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.v60b-feature-desc {
    color: var(--v60b-text-muted);
    font-size: 0.95rem;
}

/* ===== Bonus Section ===== */
.v60b-bonus-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--v60b-primary) 0%, #2a1a4a 100%);
}

.v60b-bonus-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--v60b-bg-card);
    border-radius: var(--v60b-radius);
    padding: 40px;
    text-align: center;
    border: 2px solid var(--v60b-gold);
}

.v60b-bonus-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--v60b-gold);
    margin-bottom: 10px;
}

.v60b-bonus-desc {
    color: var(--v60b-text-muted);
    margin-bottom: 25px;
}

/* ===== FAQ Section ===== */
.v60b-faq-section {
    padding: 60px 20px;
    background: var(--v60b-bg-dark);
}

.v60b-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.v60b-faq-item {
    margin-bottom: 15px;
    background: var(--v60b-bg-card);
    border-radius: var(--v60b-radius-sm);
}

.v60b-faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.v60b-faq-icon {
    transition: transform 0.3s ease;
}

.v60b-faq-icon-rotated {
    transform: rotate(180deg);
}

.v60b-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    color: var(--v60b-text-muted);
}

/* ===== Footer ===== */
.v60b-footer {
    background: var(--v60b-secondary);
    padding: 50px 20px 30px;
}

.v60b-footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.v60b-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.v60b-footer-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--v60b-gold);
}

.v60b-footer-links {
    list-style: none;
}

.v60b-footer-links li {
    margin-bottom: 10px;
}

.v60b-footer-links a {
    color: var(--v60b-text-muted);
    transition: color 0.3s ease;
}

.v60b-footer-links a:hover {
    color: var(--v60b-text-light);
}

.v60b-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--v60b-text-muted);
    font-size: 0.9rem;
}

/* ===== Mobile Bottom Navigation ===== */
.v60b-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--v60b-secondary) 0%, var(--v60b-primary) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(233, 69, 96, 0.3);
}

.v60b-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;
    border-radius: 12px;
}

.v60b-nav-item:hover {
    background: rgba(233, 69, 96, 0.2);
}

.v60b-nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
    color: var(--v60b-text-muted);
    transition: color 0.3s ease;
}

.v60b-nav-item:hover .v60b-nav-icon,
.v60b-nav-active .v60b-nav-icon {
    color: var(--v60b-gold);
}

.v60b-nav-text {
    font-size: 11px;
    color: var(--v60b-text-muted);
    transition: color 0.3s ease;
}

.v60b-nav-item:hover .v60b-nav-text,
.v60b-nav-active .v60b-nav-text {
    color: var(--v60b-text-light);
}

/* ===== Utilities ===== */
.v60b-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.v60b-text-center {
    text-align: center;
}

.v60b-mb-20 {
    margin-bottom: 20px;
}

.v60b-fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.v60b-animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.v60b-animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .v60b-header-actions .v60b-btn {
        display: none;
    }

    .v60b-menu-toggle {
        display: block;
    }

    .v60b-hero-title {
        font-size: 1.8rem;
    }

    .v60b-hero-subtitle {
        font-size: 1rem;
    }

    .v60b-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .v60b-game-name {
        font-size: 0.8rem;
        padding: 8px;
    }

    .v60b-bonus-amount {
        font-size: 2rem;
    }

    main {
        padding-bottom: 80px;
    }
}

@media (max-width: 430px) {
    .v60b-hero {
        padding: 80px 15px 100px;
    }

    .v60b-hero-title {
        font-size: 1.5rem;
    }

    .v60b-section-title {
        font-size: 1.5rem;
    }

    .v60b-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .v60b-category-nav {
        gap: 8px;
    }

    .v60b-category-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .v60b-feature-card {
        padding: 20px;
    }

    .v60b-bonus-card {
        padding: 25px;
    }
}

@media (min-width: 769px) {
    .v60b-bottom-nav {
        display: none;
    }
}
