/**
 * Legend Link - Core Stylesheet
 * Website: legend-link.club
 * Prefix: v7ff-
 * Version: 1.0.0
 */

/* CSS Variables */
:root {
    --v7ff-primary: #FF8000;
    --v7ff-secondary: #FFB74D;
    --v7ff-accent: #FF7F50;
    --v7ff-light: #FFDEAD;
    --v7ff-dark: #3A3A3A;
    --v7ff-bg: #1a1a1a;
    --v7ff-card-bg: #2a2a2a;
    --v7ff-text: #ffffff;
    --v7ff-text-muted: #b0b0b0;
    --v7ff-border: #404040;
    --v7ff-success: #4CAF50;
    --v7ff-gradient: linear-gradient(135deg, #FF8000, #FF7F50);
    --v7ff-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --v7ff-radius: 12px;
    --v7ff-radius-sm: 8px;
}

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

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

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--v7ff-bg);
    color: var(--v7ff-text);
    line-height: 1.5;
    font-size: 1.6rem;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Header */
.v7ff-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--v7ff-dark);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--v7ff-shadow);
    transition: all 0.3s ease;
}

.v7ff-header-scrolled {
    background: rgba(58, 58, 58, 0.98);
    padding: 0.8rem 1.5rem;
}

.v7ff-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

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

.v7ff-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v7ff-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--v7ff-radius-sm);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
}

.v7ff-btn-primary {
    background: var(--v7ff-gradient);
    color: var(--v7ff-text);
}

.v7ff-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 128, 0, 0.4);
}

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

.v7ff-btn-outline:hover {
    background: var(--v7ff-primary);
    color: var(--v7ff-dark);
}

.v7ff-menu-toggle {
    background: none;
    border: none;
    color: var(--v7ff-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.v7ff-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--v7ff-dark);
    z-index: 9999;
    padding: 8rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

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

.v7ff-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

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

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

.v7ff-nav-link {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--v7ff-text);
    font-size: 1.5rem;
    border-radius: var(--v7ff-radius-sm);
    transition: all 0.3s ease;
}

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

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

/* Carousel */
.v7ff-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--v7ff-radius) var(--v7ff-radius);
}

.v7ff-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.v7ff-slide {
    min-width: 100%;
    position: relative;
    cursor: pointer;
    display: none;
}

.v7ff-slide-active {
    display: block;
}

.v7ff-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.v7ff-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

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

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

/* Sections */
.v7ff-section {
    padding: 2.5rem 0;
}

.v7ff-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--v7ff-text);
    position: relative;
    padding-bottom: 1rem;
}

.v7ff-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--v7ff-gradient);
    border-radius: 2px;
}

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

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

.v7ff-game-item:hover {
    transform: translateY(-5px);
}

.v7ff-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--v7ff-radius-sm);
    object-fit: cover;
    margin-bottom: 0.5rem;
    box-shadow: var(--v7ff-shadow);
}

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

/* Cards */
.v7ff-card {
    background: var(--v7ff-card-bg);
    border-radius: var(--v7ff-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--v7ff-shadow);
}

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

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

/* Features Grid */
.v7ff-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.v7ff-feature {
    background: var(--v7ff-card-bg);
    border-radius: var(--v7ff-radius);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.v7ff-feature:hover {
    transform: translateY(-3px);
}

.v7ff-feature-icon {
    font-size: 3rem;
    color: var(--v7ff-primary);
    margin-bottom: 1rem;
}

.v7ff-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

/* FAQ */
.v7ff-faq-item {
    background: var(--v7ff-card-bg);
    border-radius: var(--v7ff-radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
}

.v7ff-faq-question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v7ff-faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--v7ff-text-muted);
    font-size: 1.4rem;
}

/* Footer */
.v7ff-footer {
    background: var(--v7ff-dark);
    padding: 3rem 1.5rem 2rem;
    margin-top: 3rem;
}

.v7ff-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.v7ff-footer-desc {
    color: var(--v7ff-text-muted);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.v7ff-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.v7ff-footer-link {
    color: var(--v7ff-light);
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.v7ff-footer-link:hover {
    color: var(--v7ff-primary);
}

.v7ff-footer-promo {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.v7ff-promo-btn {
    background: var(--v7ff-gradient);
    color: var(--v7ff-text);
    padding: 1rem 2rem;
    border-radius: var(--v7ff-radius-sm);
    font-weight: 600;
    font-size: 1.3rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    min-height: 44px;
}

.v7ff-promo-btn:hover {
    transform: scale(1.05);
}

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

/* Bottom Navigation */
.v7ff-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--v7ff-dark);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--v7ff-border);
}

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

.v7ff-nav-btn:hover,
.v7ff-nav-btn-active {
    color: var(--v7ff-primary);
    transform: translateY(-2px);
}

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

.v7ff-nav-btn span {
    font-size: 11px;
    font-weight: 500;
}

/* Promotional Text Link */
.v7ff-text-link {
    color: var(--v7ff-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.v7ff-text-link:hover {
    color: var(--v7ff-accent);
    text-decoration: underline;
}

/* Utility Classes */
.v7ff-text-center { text-align: center; }
.v7ff-text-primary { color: var(--v7ff-primary); }
.v7ff-text-muted { color: var(--v7ff-text-muted); }
.v7ff-mb-1 { margin-bottom: 1rem; }
.v7ff-mb-2 { margin-bottom: 2rem; }
.v7ff-mt-2 { margin-top: 2rem; }

/* Desktop Hidden */
@media (min-width: 769px) {
    .v7ff-bottom-nav {
        display: none;
    }

    .v7ff-menu-toggle {
        display: none;
    }
}

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

    .v7ff-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .v7ff-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.v7ff-animate {
    animation: fadeIn 0.5s ease forwards;
}

/* Testimonials */
.v7ff-testimonial {
    background: var(--v7ff-card-bg);
    border-radius: var(--v7ff-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.v7ff-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.v7ff-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--v7ff-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--v7ff-dark);
}

.v7ff-testimonial-name {
    font-weight: 600;
    font-size: 1.4rem;
}

.v7ff-testimonial-text {
    color: var(--v7ff-text-muted);
    font-size: 1.3rem;
    line-height: 1.5;
}

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

.v7ff-payment-item {
    background: var(--v7ff-card-bg);
    padding: 1rem 1.5rem;
    border-radius: var(--v7ff-radius-sm);
    font-size: 1.3rem;
    font-weight: 500;
}

/* Winner Showcase */
.v7ff-winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--v7ff-card-bg);
    padding: 1rem;
    border-radius: var(--v7ff-radius-sm);
    margin-bottom: 0.8rem;
}

.v7ff-winner-game {
    flex: 1;
    font-weight: 500;
}

.v7ff-winner-amount {
    color: var(--v7ff-primary);
    font-weight: 700;
}
