/* Legend Link PH Core Styles */
/* All classes prefixed with ve38- */

:root {
    --primary-color: #CD853F;
    --secondary-color: #D2B48C;
    --accent-color: #CCCCCC;
    --dark-bg: #1C2833;
    --light-text: #FFFFFF;
    --gray-text: #888888;
    --border-color: rgba(210, 180, 140, 0.3);
    --gradient-start: #CD853F;
    --gradient-end: #D2B48C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0D1419 0%, #1C2833 100%);
    color: var(--light-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header Styles */
.ve38-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(28, 40, 51, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(205, 133, 63, 0.3);
    transition: all 0.3s ease;
}

.ve38-header.ve38-scrolled {
    background: rgba(28, 40, 51, 0.99);
    box-shadow: 0 6px 30px rgba(205, 133, 63, 0.4);
}

.ve38-header-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 431px) {
    .ve38-header-container {
        max-width: 100%;
        padding: 12px 20px;
    }
}

.ve38-logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ve38-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ve38-site-name {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ve38-header-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ve38-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ve38-btn-register {
    background: linear-gradient(135deg, var(--primary-color), #B8860B);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.4);
}

.ve38-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(205, 133, 63, 0.6);
}

.ve38-btn-login {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.ve38-btn-login:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
}

.ve38-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

@media (min-width: 769px) {
    .ve38-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.ve38-mobile-menu {
    display: block;
    position: fixed;
    top: 64px;
    left: -100%;
    width: 100%;
    max-width: 430px;
    height: calc(100vh - 64px);
    background: rgba(28, 40, 51, 0.98);
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

@media (min-width: 769px) {
    .ve38-mobile-menu {
        display: none;
    }
}

.ve38-mobile-menu.ve38-active {
    left: 0;
}

.ve38-menu-section {
    margin-bottom: 25px;
}

.ve38-menu-title {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--gray-text);
    margin-bottom: 12px;
    letter-spacing: 1.5px;
}

.ve38-menu-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ve38-menu-link {
    padding: 12px 15px;
    background: rgba(205, 133, 63, 0.1);
    border-radius: 8px;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.ve38-menu-link:hover {
    background: rgba(205, 133, 63, 0.2);
    border-left-color: var(--primary-color);
    padding-left: 20px;
}

/* Main Content */
main {
    max-width: 430px;
    margin: 0 auto;
    padding: 80px 15px 80px;
    min-height: 100vh;
}

@media (min-width: 431px) {
    main {
        max-width: 100%;
        padding: 80px 20px 80px;
    }
}

@media (min-width: 769px) {
    main {
        padding-bottom: 40px;
    }
}

/* Carousel */
.ve38-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(205, 133, 63, 0.3);
}

.ve38-carousel-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ve38-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(28, 40, 51, 0.7);
    color: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.ve38-carousel-btn:hover {
    background: var(--primary-color);
    color: #FFFFFF;
}

.ve38-carousel-prev {
    left: 10px;
}

.ve38-carousel-next {
    right: 10px;
}

/* Section Styles */
.ve38-section {
    margin-bottom: 30px;
}

.ve38-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--light-text);
}

.ve38-section-title span {
    color: var(--primary-color);
}

/* Game Grid */
.ve38-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.ve38-game-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(28, 40, 51, 0.5);
    border: 2px solid transparent;
}

.ve38-game-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(205, 133, 63, 0.4);
    z-index: 10;
}

.ve38-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ve38-game-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(28, 40, 51, 0.95), transparent);
    padding: 25px 8px 8px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    color: var(--light-text);
}

/* Mobile Bottom Navigation */
.ve38-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(28, 40, 51, 0.98);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary-color);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 1000;
    max-width: 430px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .ve38-bottom-nav {
        display: none;
    }
}

.ve38-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    border-radius: 8px;
    cursor: pointer;
}

.ve38-nav-item:hover {
    background: rgba(205, 133, 63, 0.15);
    color: var(--primary-color);
}

.ve38-nav-item.ve38-active {
    color: var(--primary-color);
}

.ve38-nav-icon {
    font-size: 22px;
    margin-bottom: 4px;
}

.ve38-nav-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Footer */
.ve38-footer {
    background: rgba(13, 20, 25, 0.95);
    padding: 30px 15px 80px;
    margin-top: 40px;
    border-top: 2px solid var(--primary-color);
}

@media (min-width: 769px) {
    .ve38-footer {
        padding-bottom: 30px;
    }
}

.ve38-footer-content {
    max-width: 430px;
    margin: 0 auto;
}

@media (min-width: 431px) {
    .ve38-footer-content {
        max-width: 100%;
    }
}

.ve38-footer-intro {
    text-align: center;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--secondary-color);
    line-height: 1.8;
}

.ve38-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.ve38-footer-link {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), #B8860B);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ve38-footer-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.5);
}

.ve38-footer-site-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.ve38-footer-site-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.ve38-footer-site-link:hover {
    color: var(--primary-color);
}

.ve38-partners {
    text-align: center;
    margin-bottom: 20px;
}

.ve38-partner-title {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ve38-partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.ve38-partner-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    transition: all 0.3s ease;
}

.ve38-partner-logo:hover {
    transform: scale(1.1);
    background: rgba(205, 133, 63, 0.2);
}

.ve38-copyright {
    text-align: center;
    font-size: 12px;
    color: var(--gray-text);
    padding-top: 20px;
    border-top: 1px solid rgba(205, 133, 63, 0.2);
}

/* Utility Classes */
.ve38-text-center {
    text-align: center;
}

.ve38-mb-15 {
    margin-bottom: 15px;
}

.ve38-mb-20 {
    margin-bottom: 20px;
}

/* Loading Spinner */
.ve38-loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 40, 51, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.ve38-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(205, 133, 63, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: ve38-spin 1s linear infinite;
}

@keyframes ve38-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Notification */
.ve38-notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.ve38-notification.ve38-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.ve38-notification-success {
    border-left-color: #22C55E;
}

.ve38-notification-error {
    border-left-color: #EF4444;
}

/* Content Typography */
.ve38-content p {
    margin-bottom: 15px;
    color: var(--secondary-color);
    line-height: 1.8;
}

.ve38-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 25px 0 15px;
    color: var(--primary-color);
}

.ve38-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 12px;
    color: var(--secondary-color);
}

.ve38-content ul, .ve38-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.ve38-content li {
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.ve38-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.ve38-content a:hover {
    text-decoration: underline;
}
