/**
 * 95Ph Layout Stylesheet
 * Website: 95ph.club
 * Prefix: vb78-
 * Colors: #FF7F50 (coral) | #1B263B (dark navy)
 */

/* CSS Variables */
:root {
    --vb78-primary: #FF7F50;
    --vb78-secondary: #FF6B3D;
    --vb78-bg: #1B263B;
    --vb78-bg-light: #2A3A52;
    --vb78-bg-card: #232F45;
    --vb78-text: #FFFFFF;
    --vb78-text-muted: #A8B5C7;
    --vb78-accent: #FFD700;
    --vb78-success: #4CAF50;
    --vb78-border: #3D4F6A;
    --vb78-shadow: rgba(0, 0, 0, 0.3);
    --vb78-gradient: linear-gradient(135deg, #FF7F50 0%, #FF6B3D 100%);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--vb78-bg);
    color: var(--vb78-text);
    line-height: 1.5;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
}

a {
    color: var(--vb78-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--vb78-accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.vb78-container {
    width: 100%;
    padding: 0 1.5rem;
}

.vb78-wrapper {
    max-width: 430px;
    margin: 0 auto;
}

/* Header */
.vb78-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--vb78-bg);
    border-bottom: 1px solid var(--vb78-border);
    z-index: 1000;
    max-width: 430px;
    margin: 0 auto;
}

.vb78-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.vb78-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vb78-logo img {
    width: 28px;
    height: 28px;
}

.vb78-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vb78-primary);
}

.vb78-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vb78-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 2.4rem;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.vb78-btn-primary {
    background: var(--vb78-gradient);
    color: var(--vb78-text);
}

.vb78-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 127, 80, 0.4);
}

.vb78-btn-outline {
    background: transparent;
    border: 2px solid var(--vb78-primary);
    color: var(--vb78-primary);
}

.vb78-btn-outline:hover {
    background: var(--vb78-primary);
    color: var(--vb78-text);
}

/* Hamburger Menu */
.vb78-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.vb78-hamburger span {
    width: 24px;
    height: 3px;
    background: var(--vb78-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.vb78-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.vb78-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.vb78-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.vb78-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--vb78-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 2rem;
}

.vb78-menu-active {
    right: 0;
}

.vb78-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;
}

.vb78-overlay-active {
    opacity: 1;
    visibility: visible;
}

.vb78-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--vb78-border);
}

.vb78-menu-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vb78-primary);
}

.vb78-menu-close {
    font-size: 2.4rem;
    color: var(--vb78-text);
    cursor: pointer;
    background: none;
    border: none;
}

.vb78-menu-nav {
    list-style: none;
}

.vb78-menu-nav li {
    margin-bottom: 1rem;
}

.vb78-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--vb78-text);
    font-size: 1.5rem;
    border-radius: 0.8rem;
    transition: background 0.3s ease;
}

.vb78-menu-nav a:hover {
    background: var(--vb78-bg-card);
    color: var(--vb78-primary);
}

/* Main Content */
.vb78-main {
    padding-top: 60px;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .vb78-main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.vb78-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.vb78-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.vb78-slide-active {
    opacity: 1;
}

.vb78-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Titles */
.vb78-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--vb78-text);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vb78-section-title i {
    color: var(--vb78-primary);
}

/* Game Grid */
.vb78-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.vb78-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.vb78-game-item:hover {
    transform: scale(1.05);
}

.vb78-game-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid var(--vb78-border);
}

.vb78-game-name {
    font-size: 1.1rem;
    color: var(--vb78-text);
    text-align: center;
    line-height: 1.2;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content Sections */
.vb78-section {
    background: var(--vb78-bg-card);
    border-radius: 1.2rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.vb78-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--vb78-primary);
}

.vb78-section p {
    font-size: 1.3rem;
    color: var(--vb78-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.vb78-section ul {
    list-style: none;
    padding-left: 0;
}

.vb78-section li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--vb78-border);
    font-size: 1.3rem;
    color: var(--vb78-text-muted);
}

.vb78-section li:last-child {
    border-bottom: none;
}

.vb78-section li i {
    color: var(--vb78-primary);
    margin-right: 0.8rem;
}

/* Promo Link Styles */
.vb78-promo-link {
    color: var(--vb78-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.vb78-promo-link:hover {
    color: var(--vb78-accent);
    text-decoration: underline;
}

.vb78-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--vb78-gradient);
    color: var(--vb78-text);
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 2.4rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.vb78-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 127, 80, 0.4);
}

/* Footer */
.vb78-footer {
    background: var(--vb78-bg-light);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.vb78-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vb78-footer-links a {
    color: var(--vb78-text-muted);
    font-size: 1.2rem;
}

.vb78-footer-links a:hover {
    color: var(--vb78-primary);
}

.vb78-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.vb78-partners img {
    width: 40px;
    height: 20px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.vb78-partners img:hover {
    opacity: 1;
}

.vb78-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--vb78-text-muted);
}

/* Bottom Navigation */
.vb78-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--vb78-bg);
    border-top: 1px solid var(--vb78-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    z-index: 1000;
    max-width: 430px;
    margin: 0 auto;
}

.vb78-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;
    color: var(--vb78-text-muted);
    text-decoration: none;
}

.vb78-nav-item:hover,
.vb78-nav-item.active {
    color: var(--vb78-primary);
    transform: scale(1.1);
}

.vb78-nav-item i {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

.vb78-nav-item span {
    font-size: 1rem;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .vb78-bottom-nav {
        display: none;
    }
}

/* Utilities */
.vb78-text-center {
    text-align: center;
}

.vb78-mb-1 {
    margin-bottom: 1rem;
}

.vb78-mb-2 {
    margin-bottom: 2rem;
}

.vb78-mt-2 {
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 380px) {
    .vb78-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .vb78-game-icon {
        width: 50px;
        height: 50px;
    }
}

/* H1 Title */
.vb78-h1-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--vb78-text);
    line-height: 1.3;
}

/* RTP Table */
.vb78-rtp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.2rem;
}

.vb78-rtp-table th,
.vb78-rtp-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--vb78-border);
}

.vb78-rtp-table th {
    background: var(--vb78-bg-light);
    color: var(--vb78-primary);
}

.vb78-rtp-table td {
    color: var(--vb78-text-muted);
}

/* Feature List */
.vb78-feature-list {
    display: grid;
    gap: 1rem;
}

.vb78-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--vb78-bg-card);
    border-radius: 0.8rem;
}

.vb78-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vb78-gradient);
    border-radius: 50%;
    flex-shrink: 0;
}

.vb78-feature-icon i {
    font-size: 1.8rem;
    color: var(--vb78-text);
}

.vb78-feature-content h3 {
    font-size: 1.4rem;
    color: var(--vb78-text);
    margin-bottom: 0.5rem;
}

.vb78-feature-content p {
    font-size: 1.2rem;
    color: var(--vb78-text-muted);
    margin: 0;
}

/* FAQ Accordion */
.vb78-faq-item {
    background: var(--vb78-bg-card);
    border-radius: 0.8rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.vb78-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--vb78-text);
}

.vb78-faq-question i {
    color: var(--vb78-primary);
    transition: transform 0.3s ease;
}

.vb78-faq-answer {
    padding: 0 1.2rem 1.2rem;
    font-size: 1.3rem;
    color: var(--vb78-text-muted);
    line-height: 1.6;
}
