/**
 * Arion Pay - Main Stylesheet
 * Website: arionpay.club
 * CSS Class Prefix: vb47-
 */

/* CSS Variables */
:root {
    --vb47-primary: #B22222;
    --vb47-secondary: #3CB371;
    --vb47-bg-dark: #1C2833;
    --vb47-bg-light: #2C3E50;
    --vb47-text-light: #E5E5E5;
    --vb47-text-muted: #A0A0A0;
    --vb47-accent-green: #7CFC00;
    --vb47-accent-lime: #90EE90;
    --vb47-border-color: #3D5A73;
    --vb47-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --vb47-radius: 8px;
    --vb47-radius-lg: 12px;
    --vb47-transition: all 0.3s ease;
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--vb47-bg-dark);
    color: var(--vb47-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--vb47-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.vb47-container {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

.vb47-wrapper {
    max-width: 430px;
    margin: 0 auto;
}

/* Header */
.vb47-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--vb47-bg-dark) 0%, var(--vb47-bg-light) 100%);
    padding: 10px 15px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--vb47-primary);
    transition: var(--vb47-transition);
}

.vb47-header-scrolled {
    background: rgba(28, 40, 51, 0.98);
    box-shadow: var(--vb47-shadow);
}

.vb47-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vb47-logo img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.vb47-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vb47-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vb47-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vb47-btn {
    padding: 8px 16px;
    border-radius: var(--vb47-radius);
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--vb47-transition);
    border: none;
    text-transform: uppercase;
}

.vb47-btn-primary {
    background: linear-gradient(135deg, var(--vb47-primary) 0%, #8B0000 100%);
    color: var(--vb47-text-light);
}

.vb47-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(178, 34, 34, 0.4);
}

.vb47-btn-secondary {
    background: transparent;
    border: 2px solid var(--vb47-secondary);
    color: var(--vb47-secondary);
}

.vb47-btn-secondary:hover {
    background: var(--vb47-secondary);
    color: var(--vb47-bg-dark);
}

.vb47-menu-toggle {
    background: none;
    border: none;
    color: var(--vb47-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.vb47-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--vb47-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 70px 20px 20px;
    overflow-y: auto;
    border-left: 2px solid var(--vb47-primary);
}

.vb47-menu-active {
    right: 0;
}

.vb47-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: var(--vb47-transition);
}

.vb47-overlay-active {
    opacity: 1;
    visibility: visible;
}

.vb47-nav-list {
    list-style: none;
}

.vb47-nav-item {
    margin-bottom: 5px;
}

.vb47-nav-link {
    display: block;
    padding: 12px 15px;
    color: var(--vb47-text-light);
    border-radius: var(--vb47-radius);
    transition: var(--vb47-transition);
    font-size: 1.4rem;
}

.vb47-nav-link:hover {
    background: var(--vb47-bg-light);
    color: var(--vb47-primary);
    padding-left: 20px;
}

.vb47-nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Main Content */
main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Carousel */
.vb47-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--vb47-radius-lg) var(--vb47-radius-lg);
}

.vb47-carousel-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.vb47-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.vb47-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vb47-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.vb47-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--vb47-transition);
}

.vb47-dot-active {
    background: var(--vb47-primary);
    transform: scale(1.2);
}

/* Section Styles */
.vb47-section {
    padding: 20px 15px;
}

.vb47-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vb47-primary);
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vb47-section-subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--vb47-secondary);
    margin-bottom: 12px;
    border-left: 3px solid var(--vb47-primary);
    padding-left: 10px;
}

/* Game Grid */
.vb47-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.vb47-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--vb47-transition);
    padding: 8px;
    border-radius: var(--vb47-radius);
    background: rgba(44, 62, 80, 0.5);
}

.vb47-game-item:hover {
    transform: translateY(-3px);
    background: var(--vb47-bg-light);
    box-shadow: var(--vb47-shadow);
}

.vb47-game-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 5px;
    border-radius: var(--vb47-radius);
    overflow: hidden;
    border: 2px solid var(--vb47-border-color);
}

.vb47-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vb47-game-name {
    font-size: 1rem;
    color: var(--vb47-text-light);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Section */
.vb47-category {
    margin-bottom: 25px;
}

.vb47-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--vb47-border-color);
}

.vb47-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--vb47-accent-lime);
    display: flex;
    align-items: center;
    gap: 8px;
}

.vb47-category-title i {
    color: var(--vb47-primary);
}

/* Content Cards */
.vb47-card {
    background: linear-gradient(135deg, var(--vb47-bg-light) 0%, var(--vb47-bg-dark) 100%);
    border-radius: var(--vb47-radius-lg);
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid var(--vb47-border-color);
}

.vb47-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--vb47-primary);
    margin-bottom: 10px;
}

.vb47-card-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--vb47-text-muted);
}

.vb47-card-text strong {
    color: var(--vb47-accent-green);
}

/* Promo Link Styles */
.vb47-promo-text {
    color: var(--vb47-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--vb47-transition);
}

.vb47-promo-text:hover {
    color: var(--vb47-accent-green);
    text-decoration: underline;
}

.vb47-promo-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--vb47-primary) 0%, #8B0000 100%);
    color: var(--vb47-text-light);
    border-radius: var(--vb47-radius);
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--vb47-transition);
    text-align: center;
    margin: 10px 0;
}

.vb47-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(178, 34, 34, 0.5);
}

/* Bottom Navigation */
.vb47-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--vb47-bg-light) 0%, var(--vb47-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    z-index: 1000;
    border-top: 2px solid var(--vb47-primary);
    padding: 0 5px;
}

.vb47-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--vb47-transition);
    background: none;
    border: none;
    color: var(--vb47-text-muted);
    padding: 5px;
}

.vb47-nav-btn:hover,
.vb47-nav-btn.active {
    color: var(--vb47-primary);
    transform: scale(1.1);
}

.vb47-nav-btn i {
    font-size: 22px;
    margin-bottom: 2px;
}

.vb47-nav-btn span {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Footer */
.vb47-footer {
    background: var(--vb47-bg-dark);
    padding: 20px 15px;
    border-top: 2px solid var(--vb47-border-color);
}

.vb47-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.vb47-footer-link {
    font-size: 1.2rem;
    color: var(--vb47-text-muted);
    padding: 5px 10px;
    border-radius: var(--vb47-radius);
    transition: var(--vb47-transition);
}

.vb47-footer-link:hover {
    color: var(--vb47-primary);
    background: var(--vb47-bg-light);
}

.vb47-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.vb47-partner-logo {
    width: 40px;
    height: 25px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--vb47-transition);
}

.vb47-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.vb47-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--vb47-text-muted);
    margin-top: 10px;
}

/* Features Grid */
.vb47-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.vb47-feature-item {
    background: var(--vb47-bg-light);
    padding: 12px;
    border-radius: var(--vb47-radius);
    text-align: center;
    transition: var(--vb47-transition);
}

.vb47-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--vb47-shadow);
}

.vb47-feature-icon {
    font-size: 2.4rem;
    color: var(--vb47-primary);
    margin-bottom: 8px;
}

.vb47-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--vb47-text-light);
}

/* FAQ Section */
.vb47-faq-item {
    background: var(--vb47-bg-light);
    border-radius: var(--vb47-radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.vb47-faq-question {
    padding: 12px 15px;
    font-weight: 600;
    color: var(--vb47-text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vb47-faq-question i {
    color: var(--vb47-primary);
}

.vb47-faq-answer {
    padding: 0 15px 12px;
    font-size: 1.3rem;
    color: var(--vb47-text-muted);
    line-height: 1.5;
}

/* RTP Section */
.vb47-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.vb47-rtp-item {
    background: var(--vb47-bg-light);
    padding: 10px;
    border-radius: var(--vb47-radius);
    text-align: center;
}

.vb47-rtp-game {
    font-size: 1.1rem;
    color: var(--vb47-text-light);
    margin-bottom: 5px;
}

.vb47-rtp-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vb47-accent-green);
}

/* Utility Classes */
.vb47-text-center { text-align: center; }
.vb47-text-primary { color: var(--vb47-primary); }
.vb47-text-green { color: var(--vb47-accent-green); }
.vb47-mt-10 { margin-top: 10px; }
.vb47-mb-10 { margin-bottom: 10px; }
.vb47-mb-20 { margin-bottom: 20px; }

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .vb47-bottom-nav {
        display: none;
    }

    main {
        padding-bottom: 20px;
    }
}

/* Responsive adjustments */
@media (max-width: 360px) {
    .vb47-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .vb47-logo-text {
        font-size: 1.5rem;
    }
}
