/**
 * PHP777 Login - Theme Stylesheet
 * Prefix: s84e-
 * Colors: #B03060 | #CD853F | #2D2D2D
 */

:root {
    --s84e-primary: #B03060;
    --s84e-secondary: #CD853F;
    --s84e-bg-dark: #2D2D2D;
    --s84e-bg-darker: #1A1A1A;
    --s84e-text-light: #FFFFFF;
    --s84e-text-muted: #CCCCCC;
    --s84e-accent: #E8A87C;
    --s84e-success: #4CAF50;
    --s84e-warning: #FFC107;
    --s84e-border-radius: 12px;
    --s84e-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, var(--s84e-bg-darker) 0%, var(--s84e-bg-dark) 100%);
    color: var(--s84e-text-light);
    line-height: 1.5;
    min-height: 100vh;
    padding-bottom: 70px;
}

/* Header */
.s84e-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(45, 45, 45, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 2px solid var(--s84e-primary);
}

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

.s84e-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.s84e-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--s84e-primary), var(--s84e-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s84e-header-actions {
    display: flex;
    gap: 10px;
}

.s84e-menu-btn {
    background: transparent;
    border: none;
    color: var(--s84e-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 8px;
}

/* Buttons */
.s84e-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.s84e-btn-primary {
    background: linear-gradient(135deg, var(--s84e-primary), var(--s84e-secondary));
    color: var(--s84e-text-light);
    box-shadow: 0 4px 15px rgba(176, 48, 96, 0.4);
}

.s84e-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(176, 48, 96, 0.6);
}

.s84e-btn-outline {
    background: transparent;
    color: var(--s84e-secondary);
    border: 2px solid var(--s84e-secondary);
}

.s84e-btn-outline:hover {
    background: var(--s84e-secondary);
    color: var(--s84e-bg-dark);
}

/* Mobile Menu */
.s84e-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s84e-bg-dark);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 60px 20px 20px;
    border-left: 2px solid var(--s84e-primary);
}

.s84e-mobile-menu.s84e-open {
    right: 0;
}

.s84e-mobile-menu a {
    display: block;
    padding: 15px 0;
    color: var(--s84e-text-light);
    text-decoration: none;
    font-size: 1.6rem;
    border-bottom: 1px solid rgba(176, 48, 96, 0.3);
    transition: color 0.3s ease;
}

.s84e-mobile-menu a:hover {
    color: var(--s84e-secondary);
}

.s84e-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.s84e-menu-overlay.s84e-visible {
    opacity: 1;
    visibility: visible;
}

.s84e-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--s84e-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

/* Main Content */
.s84e-main {
    padding-top: 70px;
    padding-bottom: 20px;
    max-width: 430px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* Carousel */
.s84e-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--s84e-border-radius);
    margin-bottom: 16px;
    box-shadow: var(--s84e-shadow);
}

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

.s84e-slide.s84e-active {
    opacity: 1;
    position: relative;
}

.s84e-slide img {
    width: 100%;
    border-radius: var(--s84e-border-radius);
    display: block;
}

.s84e-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.s84e-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.s84e-dot.s84e-active {
    background: var(--s84e-secondary);
    width: 24px;
    border-radius: 4px;
}

/* Section Title */
.s84e-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 24px 0 16px;
    text-align: center;
    background: linear-gradient(90deg, var(--s84e-primary), var(--s84e-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s84e-section-title i {
    margin-right: 8px;
}

/* CTA Banner */
.s84e-cta-banner {
    background: linear-gradient(135deg, var(--s84e-primary), var(--s84e-secondary));
    border-radius: var(--s84e-border-radius);
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: var(--s84e-shadow);
}

.s84e-cta-banner h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.s84e-cta-banner p {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 12px;
}

/* Content Section */
.s84e-content-section {
    background: rgba(45, 45, 45, 0.6);
    border-radius: var(--s84e-border-radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(176, 48, 96, 0.3);
}

.s84e-content-section h2 {
    font-size: 1.8rem;
    color: var(--s84e-secondary);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--s84e-primary);
    padding-bottom: 8px;
}

.s84e-content-section h3 {
    font-size: 1.6rem;
    color: var(--s84e-accent);
    margin: 16px 0 8px;
}

.s84e-content-section p {
    font-size: 1.4rem;
    color: var(--s84e-text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.s84e-content-section ul {
    list-style: none;
    padding-left: 0;
}

.s84e-content-section li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 1.4rem;
    color: var(--s84e-text-muted);
}

.s84e-content-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--s84e-success);
    font-weight: bold;
}

/* Features Grid */
.s84e-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.s84e-feature-item {
    background: rgba(45, 45, 45, 0.6);
    border-radius: var(--s84e-border-radius);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(176, 48, 96, 0.2);
}

.s84e-feature-item:hover {
    transform: translateY(-3px);
    border-color: var(--s84e-primary);
    box-shadow: 0 6px 20px rgba(176, 48, 96, 0.3);
}

.s84e-feature-item i {
    font-size: 2.8rem;
    color: var(--s84e-secondary);
    margin-bottom: 8px;
    display: block;
}

.s84e-feature-item h3 {
    font-size: 1.4rem;
    color: var(--s84e-text-light);
    margin-bottom: 4px;
}

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

/* Game Grid */
.s84e-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.s84e-game-card {
    background: rgba(45, 45, 45, 0.6);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(176, 48, 96, 0.2);
}

.s84e-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(176, 48, 96, 0.3);
    border-color: var(--s84e-primary);
}

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

.s84e-game-name {
    padding: 6px 4px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: var(--s84e-text-light);
    background: rgba(45, 45, 45, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Game Category Title */
.s84e-category-title {
    font-size: 1.6rem;
    color: var(--s84e-secondary);
    margin: 20px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--s84e-primary);
}

/* Footer */
.s84e-footer {
    background: rgba(26, 26, 26, 0.95);
    padding: 30px 16px;
    text-align: center;
    border-top: 2px solid var(--s84e-primary);
}

.s84e-footer-content {
    max-width: 430px;
    margin: 0 auto;
}

.s84e-footer-brand {
    margin-bottom: 16px;
}

.s84e-footer-brand img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.s84e-footer-brand p {
    font-size: 1.4rem;
    color: var(--s84e-secondary);
}

.s84e-footer-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.s84e-footer-links a {
    color: var(--s84e-text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    padding: 4px 8px;
}

.s84e-footer-links a:hover {
    color: var(--s84e-secondary);
}

.s84e-footer-copyright {
    font-size: 1.2rem;
    color: var(--s84e-text-muted);
    opacity: 0.7;
}

/* Bottom Navigation */
.s84e-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    border-top: 2px solid var(--s84e-primary);
    z-index: 1000;
}

.s84e-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 12px;
    color: var(--s84e-text-muted);
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.s84e-nav-item i {
    font-size: 2rem;
    margin-bottom: 4px;
}

.s84e-nav-item:hover,
.s84e-nav-item.s84e-active {
    color: var(--s84e-secondary);
}

.s84e-nav-item.s84e-active i {
    color: var(--s84e-primary);
}

/* Testimonials */
.s84e-testimonial {
    background: rgba(45, 45, 45, 0.6);
    border-radius: var(--s84e-border-radius);
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid var(--s84e-primary);
}

.s84e-testimonial p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--s84e-text-light);
    margin-bottom: 8px;
}

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

/* Payment Methods */
.s84e-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.s84e-payment-item {
    background: rgba(45, 45, 45, 0.6);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    border: 1px solid rgba(176, 48, 96, 0.2);
}

.s84e-payment-item i {
    font-size: 2.4rem;
    color: var(--s84e-secondary);
    margin-bottom: 6px;
    display: block;
}

.s84e-payment-item span {
    font-size: 1.1rem;
    color: var(--s84e-text-muted);
}

/* Winners Section */
.s84e-winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(176, 48, 96, 0.2);
}

.s84e-winner-name {
    font-size: 1.3rem;
    color: var(--s84e-text-light);
}

.s84e-winner-amount {
    font-size: 1.4rem;
    color: var(--s84e-success);
    font-weight: 700;
}

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

.s84e-pulse {
    animation: s84e-pulse 2s infinite;
}

@keyframes s84e-glow {
    0%, 100% { box-shadow: 0 0 5px var(--s84e-primary); }
    50% { box-shadow: 0 0 20px var(--s84e-primary), 0 0 30px var(--s84e-secondary); }
}

.s84e-glow {
    animation: s84e-glow 2s infinite;
}

/* Responsive */
@media (max-width: 430px) {
    .s84e-main {
        padding-left: 12px;
        padding-right: 12px;
    }

    .s84e-game-grid {
        gap: 6px;
    }

    .s84e-game-name {
        font-size: 0.9rem;
    }
}

/* Text Link Style */
.s84e-text-link {
    color: var(--s84e-secondary);
    text-decoration: none;
    border-bottom: 1px dashed var(--s84e-secondary);
    transition: all 0.3s ease;
}

.s84e-text-link:hover {
    color: var(--s84e-primary);
    border-bottom-color: var(--s84e-primary);
}
