/**
 * Block Code - Main Stylesheet
 * Prefix: w13a0-
 * Website: blockcode.click
 */

/* CSS Variables */
:root {
    --w13a0-primary: #FF8000;
    --w13a0-secondary: #FFCC02;
    --w13a0-bg: #0C0C0C;
    --w13a0-bg-light: #1a1a1a;
    --w13a0-text: #F5F5F5;
    --w13a0-text-muted: #a0a0a0;
    --w13a0-border: #2a2a2a;
    --w13a0-gradient: linear-gradient(135deg, #FF8000, #FFCC02);
    --w13a0-shadow: 0 4px 20px rgba(255, 128, 0, 0.3);
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--w13a0-bg);
    color: var(--w13a0-text);
    line-height: 1.5;
    font-size: 1.4rem;
    min-height: 100vh;
}

/* Container */
.w13a0-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.w13a0-wrapper {
    padding: 1.5rem 0;
}

/* Header */
.w13a0-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--w13a0-bg);
    border-bottom: 1px solid var(--w13a0-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.w13a0-header-scrolled {
    background: rgba(12, 12, 12, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.w13a0-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    max-width: 430px;
    margin: 0 auto;
}

.w13a0-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

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

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

.w13a0-header-actions {
    display: flex;
    gap: 0.8rem;
}

.w13a0-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.w13a0-btn-primary {
    background: var(--w13a0-gradient);
    color: var(--w13a0-bg);
}

.w13a0-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--w13a0-shadow);
}

.w13a0-btn-outline {
    background: transparent;
    color: var(--w13a0-primary);
    border: 1px solid var(--w13a0-primary);
}

.w13a0-btn-outline:hover {
    background: var(--w13a0-primary);
    color: var(--w13a0-bg);
}

.w13a0-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--w13a0-text);
    font-size: 2rem;
    cursor: pointer;
}

/* Mobile Menu */
.w13a0-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--w13a0-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 2rem 2rem;
    overflow-y: auto;
}

.w13a0-menu-active {
    right: 0;
}

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

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

.w13a0-nav-list {
    list-style: none;
}

.w13a0-nav-item {
    margin-bottom: 0.5rem;
}

.w13a0-nav-link {
    display: block;
    padding: 1rem;
    color: var(--w13a0-text);
    text-decoration: none;
    font-size: 1.4rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.w13a0-nav-link:hover {
    background: var(--w13a0-primary);
    color: var(--w13a0-bg);
}

/* Main Content */
main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Hero Carousel */
.w13a0-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.w13a0-slide {
    display: none;
    width: 100%;
    cursor: pointer;
}

.w13a0-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.w13a0-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.w13a0-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--w13a0-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.w13a0-dot-active {
    background: var(--w13a0-primary);
    transform: scale(1.2);
}

/* Section Title */
.w13a0-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--w13a0-text);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.w13a0-section-title i {
    color: var(--w13a0-primary);
}

/* Game Grid */
.w13a0-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.w13a0-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.w13a0-game-item:hover {
    transform: scale(1.05);
}

.w13a0-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.4rem;
}

.w13a0-game-name {
    font-size: 1.1rem;
    color: var(--w13a0-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Cards */
.w13a0-card {
    background: var(--w13a0-bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--w13a0-border);
}

.w13a0-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--w13a0-primary);
}

.w13a0-card-text {
    color: var(--w13a0-text-muted);
    line-height: 1.6;
}

/* Feature List */
.w13a0-feature-list {
    list-style: none;
}

.w13a0-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--w13a0-border);
}

.w13a0-feature-item:last-child {
    border-bottom: none;
}

.w13a0-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--w13a0-gradient);
    border-radius: 8px;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.w13a0-feature-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
    color: var(--w13a0-text);
}

.w13a0-feature-content p {
    font-size: 1.2rem;
    color: var(--w13a0-text-muted);
}

/* Stats Grid */
.w13a0-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.w13a0-stat-item {
    background: var(--w13a0-bg-light);
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid var(--w13a0-border);
}

.w13a0-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--w13a0-primary);
    margin-bottom: 0.4rem;
}

.w13a0-stat-label {
    font-size: 1.1rem;
    color: var(--w13a0-text-muted);
}

/* Bottom Navigation */
.w13a0-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--w13a0-bg);
    border-top: 1px solid var(--w13a0-border);
    z-index: 1000;
    display: none;
}

@media (max-width: 768px) {
    .w13a0-bottom-nav {
        display: flex;
        justify-content: space-around;
        height: 60px;
    }
}

.w13a0-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: var(--w13a0-text-muted);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.w13a0-nav-btn:hover,
.w13a0-nav-btn-active {
    color: var(--w13a0-primary);
}

.w13a0-nav-btn i,
.w13a0-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.w13a0-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Footer */
.w13a0-footer {
    background: var(--w13a0-bg-light);
    border-top: 1px solid var(--w13a0-border);
    padding: 2rem 1.2rem;
    margin-top: 2rem;
}

.w13a0-footer-desc {
    font-size: 1.2rem;
    color: var(--w13a0-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.w13a0-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.w13a0-footer-link {
    padding: 0.5rem 1rem;
    background: var(--w13a0-gradient);
    color: var(--w13a0-bg);
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
}

.w13a0-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.w13a0-footer-nav a {
    color: var(--w13a0-text-muted);
    text-decoration: none;
    font-size: 1.2rem;
}

.w13a0-footer-nav a:hover {
    color: var(--w13a0-primary);
}

.w13a0-copyright {
    font-size: 1.1rem;
    color: var(--w13a0-text-muted);
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--w13a0-border);
}

/* Promo Link Styles */
.w13a0-promo-text {
    color: var(--w13a0-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.w13a0-promo-text:hover {
    color: var(--w13a0-secondary);
}

/* Responsive Utilities */
@media (min-width: 769px) {
    .w13a0-mobile-only {
        display: none;
    }
}

@media (max-width: 768px) {
    .w13a0-desktop-only {
        display: none;
    }
}

/* Animation */
@keyframes w13a0-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.w13a0-animate-pulse {
    animation: w13a0-pulse 2s infinite;
}

/* Testimonial */
.w13a0-testimonial {
    background: var(--w13a0-bg-light);
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--w13a0-primary);
}

.w13a0-testimonial-text {
    font-style: italic;
    color: var(--w13a0-text);
    margin-bottom: 0.8rem;
}

.w13a0-testimonial-author {
    font-size: 1.2rem;
    color: var(--w13a0-primary);
    font-weight: 600;
}

/* Payment Methods */
.w13a0-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.w13a0-payment-item {
    background: var(--w13a0-bg-light);
    border: 1px solid var(--w13a0-border);
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    font-size: 1.2rem;
    color: var(--w13a0-text);
}

/* Winner Showcase */
.w13a0-winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: var(--w13a0-bg-light);
    border-radius: 8px;
    margin-bottom: 0.6rem;
}

.w13a0-winner-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--w13a0-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--w13a0-bg);
}

.w13a0-winner-info {
    flex: 1;
}

.w13a0-winner-game {
    font-size: 1.2rem;
    color: var(--w13a0-text);
}

.w13a0-winner-amount {
    font-size: 1.1rem;
    color: var(--w13a0-primary);
    font-weight: 600;
}

/* H Tags */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    color: var(--w13a0-text);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.4rem; }

/* Paragraph */
p {
    margin-bottom: 1rem;
    color: var(--w13a0-text-muted);
}

/* Link */
a {
    color: var(--w13a0-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--w13a0-secondary);
}
