/**
 * SlotVIP PH - Layout Stylesheet
 * All classes use sed5- prefix for namespace isolation
 * Color palette: #F08080 | #FF6347 | #EE82EE | #1A1A2E | #4B0082
 */

/* CSS Variables */
:root {
    --sed5-primary: #F08080;
    --sed5-accent: #FF6347;
    --sed5-secondary: #EE82EE;
    --sed5-bg-dark: #1A1A2E;
    --sed5-bg-deep: #4B0082;
    --sed5-text-light: #F5F5F5;
    --sed5-text-muted: #C0B8D0;
    --sed5-bg-card: #252545;
    --sed5-bg-card-hover: #2E2E55;
    --sed5-border: #3A3A5C;
    --sed5-gradient: linear-gradient(135deg, #4B0082, #1A1A2E);
    --sed5-glow: 0 0 20px rgba(240, 128, 128, 0.3);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--sed5-bg-dark);
    color: var(--sed5-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
}
a { color: var(--sed5-primary); text-decoration: none; }
a:hover { color: var(--sed5-accent); }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.sed5-header {
    position: fixed; top: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 430px;
    background: linear-gradient(180deg, #1A1A2E 0%, #252545 100%);
    border-bottom: 1px solid var(--sed5-border);
    z-index: 1000; padding: 0.8rem 1rem;
    display: flex; align-items: center; justify-content: space-between;
}
.sed5-header-left {
    display: flex; align-items: center; gap: 0.6rem;
}
.sed5-logo { width: 28px; height: 28px; border-radius: 6px; }
.sed5-site-name {
    font-size: 1.6rem; font-weight: 700; color: var(--sed5-primary);
    letter-spacing: 0.5px;
}
.sed5-header-right {
    display: flex; align-items: center; gap: 0.6rem;
}
.sed5-btn-reg {
    background: linear-gradient(135deg, #FF6347, #F08080);
    color: #fff; border: none; padding: 0.5rem 1.2rem;
    border-radius: 20px; font-size: 1.2rem; font-weight: 600;
    cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
    min-height: 36px;
}
.sed5-btn-reg:hover { transform: scale(1.05); box-shadow: var(--sed5-glow); }
.sed5-btn-login {
    background: transparent; color: var(--sed5-secondary);
    border: 1.5px solid var(--sed5-secondary);
    padding: 0.5rem 1.2rem; border-radius: 20px;
    font-size: 1.2rem; font-weight: 600; cursor: pointer;
    transition: all 0.2s; min-height: 36px;
}
.sed5-btn-login:hover { background: var(--sed5-secondary); color: #fff; }
.sed5-menu-toggle {
    background: none; border: none; color: var(--sed5-text-light);
    font-size: 2rem; cursor: pointer; padding: 4px;
    display: flex; align-items: center; justify-content: center;
}

/* Mobile Menu Overlay */
.sed5-menu-overlay {
    display: none; position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; background: rgba(0,0,0,0.6);
    z-index: 9998;
}
.sed5-overlay-active { display: block; }

/* Mobile Menu Panel */
.sed5-mobile-menu {
    position: fixed; top: 0; right: -280px;
    width: 260px; height: 100%;
    background: var(--sed5-bg-dark);
    border-left: 1px solid var(--sed5-border);
    z-index: 9999; transition: right 0.3s ease;
    padding: 2rem 1.5rem; overflow-y: auto;
}
.sed5-menu-active { right: 0; }
.sed5-mobile-menu .sed5-menu-close {
    background: none; border: none; color: var(--sed5-text-light);
    font-size: 2.2rem; cursor: pointer; position: absolute;
    top: 1rem; right: 1rem;
}
.sed5-mobile-menu nav { margin-top: 3rem; }
.sed5-mobile-menu nav a {
    display: block; padding: 1.2rem 0; color: var(--sed5-text-light);
    border-bottom: 1px solid var(--sed5-border); font-size: 1.4rem;
    transition: color 0.2s, padding-left 0.2s;
}
.sed5-mobile-menu nav a:hover {
    color: var(--sed5-primary); padding-left: 0.8rem;
}

/* Carousel */
.sed5-carousel {
    position: relative; width: 100%; overflow: hidden;
    margin-top: 5rem; aspect-ratio: 16/9;
    background: var(--sed5-bg-card);
}
.sed5-carousel-slide {
    display: none; width: 100%; height: 100%;
    cursor: pointer;
}
.sed5-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.sed5-slide-active { display: block; }
.sed5-carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.5); color: #fff; border: none;
    padding: 0.8rem; cursor: pointer; font-size: 1.6rem;
    border-radius: 50%; z-index: 5; transition: background 0.2s;
}
.sed5-carousel-btn:hover { background: rgba(240,128,128,0.6); }
.sed5-carousel-prev { left: 8px; }
.sed5-carousel-next { right: 8px; }
.sed5-carousel-dots {
    position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px;
}
.sed5-carousel-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.4); cursor: pointer;
    border: none; transition: background 0.3s;
}
.sed5-dot-active { background: var(--sed5-primary); }

/* Container & Wrapper */
.sed5-container {
    padding: 0 1.2rem;
}
.sed5-wrapper {
    padding: 1.5rem 0;
}

/* Section Headings */
.sed5-section-title {
    font-size: 2rem; font-weight: 700; color: var(--sed5-primary);
    margin-bottom: 1.2rem; padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--sed5-accent);
}
.sed5-section-subtitle {
    font-size: 1.5rem; font-weight: 600; color: var(--sed5-secondary);
    margin: 1.5rem 0 0.8rem;
}

/* Game Grid */
.sed5-game-section { margin: 1.5rem 0; }
.sed5-cat-title {
    font-size: 1.5rem; font-weight: 700; color: var(--sed5-secondary);
    margin-bottom: 0.8rem; padding-left: 0.5rem;
    border-left: 3px solid var(--sed5-accent);
}
.sed5-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}
.sed5-game-item {
    text-align: center; cursor: pointer;
    transition: transform 0.2s;
}
.sed5-game-item:hover { transform: scale(1.05); }
.sed5-game-item img {
    width: 100%; aspect-ratio: 1; border-radius: 10px;
    border: 2px solid var(--sed5-border);
    transition: border-color 0.2s;
}
.sed5-game-item:hover img { border-color: var(--sed5-primary); }
.sed5-game-item span {
    display: block; font-size: 1.1rem; color: var(--sed5-text-muted);
    margin-top: 0.3rem; overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content Cards */
.sed5-card {
    background: var(--sed5-bg-card); border-radius: 12px;
    padding: 1.5rem; margin-bottom: 1.2rem;
    border: 1px solid var(--sed5-border);
    transition: border-color 0.2s;
}
.sed5-card:hover { border-color: var(--sed5-accent); }
.sed5-card h3 {
    font-size: 1.5rem; color: var(--sed5-primary); margin-bottom: 0.6rem;
}
.sed5-card p {
    font-size: 1.3rem; color: var(--sed5-text-muted); line-height: 1.6;
}
.sed5-card-icon {
    font-size: 2.4rem; margin-bottom: 0.6rem; display: block;
}

/* Promo Button */
.sed5-promo-btn {
    display: inline-block;
    background: linear-gradient(135deg, #FF6347, #EE82EE);
    color: #fff; padding: 1rem 2.4rem;
    border-radius: 25px; font-size: 1.4rem; font-weight: 700;
    cursor: pointer; border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center; margin: 0.8rem 0;
}
.sed5-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(240,128,128,0.4);
}
.sed5-text-link {
    color: var(--sed5-primary); font-weight: 600;
    text-decoration: underline; cursor: pointer;
}
.sed5-text-link:hover { color: var(--sed5-accent); }

/* Footer */
.sed5-footer {
    background: linear-gradient(180deg, #1A1A2E 0%, #0E0E1A 100%);
    padding: 2rem 1.2rem 8rem; margin-top: 2rem;
    border-top: 1px solid var(--sed5-border);
}
.sed5-footer-brand {
    font-size: 1.3rem; color: var(--sed5-text-muted);
    line-height: 1.7; margin-bottom: 1.5rem;
}
.sed5-footer-links {
    display: flex; flex-wrap: wrap; gap: 0.8rem;
    margin-bottom: 1.5rem;
}
.sed5-footer-links a {
    background: var(--sed5-bg-card); color: var(--sed5-text-light);
    padding: 0.5rem 1rem; border-radius: 15px;
    font-size: 1.2rem; border: 1px solid var(--sed5-border);
    transition: all 0.2s;
}
.sed5-footer-links a:hover {
    background: var(--sed5-primary); color: #fff;
    border-color: var(--sed5-primary);
}
.sed5-footer-copy {
    font-size: 1.1rem; color: var(--sed5-text-muted);
    text-align: center; padding-top: 1rem;
    border-top: 1px solid var(--sed5-border);
}

/* Bottom Navigation */
.sed5-bottom-nav {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 430px;
    background: linear-gradient(180deg, #252545, #1A1A2E);
    border-top: 1px solid var(--sed5-border);
    z-index: 1000; height: 60px;
    display: flex; justify-content: space-around; align-items: center;
    padding: 0 0.3rem;
}
.sed5-nav-btn {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; min-width: 60px; min-height: 56px;
    background: none; border: none; cursor: pointer;
    color: var(--sed5-text-muted); transition: all 0.2s;
    border-radius: 8px; padding: 0.3rem;
}
.sed5-nav-btn:hover, .sed5-nav-btn:focus { color: var(--sed5-primary); }
.sed5-nav-btn .sed5-nav-icon { font-size: 22px; margin-bottom: 2px; }
.sed5-nav-btn .sed5-nav-label { font-size: 1rem; }
.sed5-nav-btn.sed5-nav-active { color: var(--sed5-accent); }
.sed5-nav-btn:active { transform: scale(0.92); }

/* Utility Classes */
.sed5-text-center { text-align: center; }
.sed5-mt-1 { margin-top: 0.8rem; }
.sed5-mt-2 { margin-top: 1.6rem; }
.sed5-mb-1 { margin-bottom: 0.8rem; }
.sed5-mb-2 { margin-bottom: 1.6rem; }
.sed5-py-1 { padding-top: 0.8rem; padding-bottom: 0.8rem; }
.sed5-py-2 { padding-top: 1.6rem; padding-bottom: 1.6rem; }
.sed5-highlight { color: var(--sed5-primary); font-weight: 700; }
.sed5-tag {
    display: inline-block; background: var(--sed5-bg-deep);
    color: var(--sed5-secondary); padding: 0.3rem 0.8rem;
    border-radius: 10px; font-size: 1.1rem; margin: 0.2rem;
}

/* Content Text */
.sed5-content p {
    margin-bottom: 1rem; line-height: 1.7;
    color: var(--sed5-text-muted);
}
.sed5-content h2 {
    font-size: 1.7rem; color: var(--sed5-primary);
    margin: 2rem 0 0.8rem;
}
.sed5-content h3 {
    font-size: 1.5rem; color: var(--sed5-secondary);
    margin: 1.5rem 0 0.6rem;
}
.sed5-content ul {
    padding-left: 1.5rem; margin-bottom: 1rem;
    color: var(--sed5-text-muted);
}
.sed5-content li { margin-bottom: 0.4rem; }

/* Payment icons row */
.sed5-payment-row {
    display: flex; justify-content: center; gap: 1rem;
    flex-wrap: wrap; margin: 1rem 0;
}
.sed5-payment-item {
    background: var(--sed5-bg-card); border-radius: 8px;
    padding: 0.6rem 1rem; border: 1px solid var(--sed5-border);
    font-size: 1.2rem; color: var(--sed5-text-muted);
}

/* Winner ticker */
.sed5-winner-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.6rem 0; border-bottom: 1px solid var(--sed5-border);
    font-size: 1.2rem;
}
.sed5-winner-name { color: var(--sed5-primary); font-weight: 600; }
.sed5-winner-amount { color: var(--sed5-secondary); font-weight: 700; }

/* Testimonial */
.sed5-testimonial {
    background: var(--sed5-bg-card); border-radius: 12px;
    padding: 1.2rem; margin-bottom: 1rem;
    border-left: 3px solid var(--sed5-accent);
}
.sed5-testimonial p { font-size: 1.3rem; font-style: italic; }
.sed5-testimonial-author {
    font-size: 1.1rem; color: var(--sed5-primary);
    margin-top: 0.5rem; font-style: normal;
}

/* Mobile responsive bottom padding */
@media (max-width: 768px) {
    body, .sed5-main-content { padding-bottom: 80px; }
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .sed5-bottom-nav { display: none; }
}
