/* Philwin Link CSS Styles */
/* All classes use prefix: ve23- */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --primary-dark: #B03060;
    --primary-light: #FA8072;
    --secondary-dark: #2C3E50;
    --secondary-light: #BAE1FF;
    --accent: #880E4F;
    --gray-light: #CED4DA;
    --gray-dark: #6c757d;
    --white: #ffffff;
    --black: #000000;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
}

/* Utility Classes */
.ve23-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ve23-text-center {
    text-align: center;
}

.ve23-text-left {
    text-align: left;
}

.ve23-text-right {
    text-align: right;
}

.ve23-d-none {
    display: none;
}

.ve23-d-block {
    display: block;
}

.ve23-d-flex {
    display: flex;
}

.ve23-flex-column {
    flex-direction: column;
}

.ve23-justify-center {
    justify-content: center;
}

.ve23-justify-between {
    justify-content: space-between;
}

.ve23-align-center {
    align-items: center;
}

.ve23-mb-1 {
    margin-bottom: 1rem;
}

.ve23-mb-2 {
    margin-bottom: 2rem;
}

.ve23-mb-3 {
    margin-bottom: 3rem;
}

.ve23-mt-1 {
    margin-top: 1rem;
}

.ve23-mt-2 {
    margin-top: 2rem;
}

.ve23-p-1 {
    padding: 1rem;
}

.ve23-p-2 {
    padding: 2rem;
}

/* Header Styles */
.ve23-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ve23-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ve23-logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
}

.ve23-logo img {
    width: 4rem;
    height: 4rem;
    margin-right: 1rem;
    border-radius: 50%;
}

.ve23-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.ve23-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ve23-btn-primary {
    background: var(--secondary-light);
    color: var(--secondary-dark);
}

.ve23-btn-primary:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.ve23-btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.ve23-btn-secondary:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.ve23-menu-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    display: none;
}

/* Navigation */
.ve23-nav {
    background: var(--secondary-dark);
    padding: 1rem 0;
    position: sticky;
    top: 6rem;
    z-index: 999;
}

.ve23-nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    overflow-x: auto;
}

.ve23-nav-item {
    white-space: nowrap;
}

.ve23-nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    font-weight: 500;
}

.ve23-nav-link:hover,
.ve23-nav-link.active {
    background: var(--primary-dark);
    color: var(--white);
}

/* Mobile Menu */
.ve23-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--secondary-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.ve23-mobile-menu.active {
    right: 0;
}

.ve23-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ve23-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ve23-mobile-menu-header {
    background: var(--primary-dark);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ve23-mobile-menu-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.4rem;
    cursor: pointer;
}

.ve23-mobile-menu-list {
    list-style: none;
    padding: 2rem 0;
}

.ve23-mobile-menu-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ve23-mobile-menu-link {
    display: block;
    padding: 1.5rem 2rem;
    color: var(--white);
    text-decoration: none;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.ve23-mobile-menu-link:hover {
    background: rgba(255,255,255,0.1);
}

/* Main Content */
.ve23-main {
    margin-top: 6rem;
    padding-bottom: 8rem;
}

/* Carousel */
.ve23-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.ve23-carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.ve23-carousel-slide {
    min-width: 100%;
    position: relative;
}

.ve23-carousel-slide img {
    width: 100%;
    height: 25rem;
    object-fit: cover;
}

.ve23-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 3rem 2rem 2rem;
}

.ve23-carousel-title {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.ve23-carousel-description {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.ve23-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.ve23-carousel-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ve23-carousel-dot.active {
    background: var(--primary-dark);
    transform: scale(1.2);
}

/* Hero Section */
.ve23-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    border-radius: 1rem;
    margin-bottom: 3rem;
}

.ve23-hero-title {
    font-size: 3.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.ve23-hero-description {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Game Categories */
.ve23-game-categories {
    margin-bottom: 3rem;
}

.ve23-category-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.ve23-category-btn {
    padding: 1rem 2rem;
    border: 2px solid var(--gray-light);
    background: var(--white);
    color: var(--secondary-dark);
    border-radius: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    font-weight: 600;
    white-space: nowrap;
}

.ve23-category-btn.active,
.ve23-category-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}

/* Game Grid */
.ve23-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ve23-game-item {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.ve23-game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ve23-game-image {
    width: 100%;
    height: 10rem;
    object-fit: cover;
}

.ve23-game-info {
    padding: 1rem;
    text-align: center;
}

.ve23-game-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-dark);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ve23-game-category {
    font-size: 1rem;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Search Bar */
.ve23-search-container {
    margin-bottom: 2rem;
}

.ve23-search-input {
    width: 100%;
    padding: 1.5rem;
    border: 2px solid var(--gray-light);
    border-radius: 2.5rem;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.ve23-search-input:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(176, 48, 96, 0.1);
}

/* Content Sections */
.ve23-section {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ve23-section-title {
    font-size: 2.4rem;
    font-weight: bold;
    color: var(--secondary-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.ve23-section-content {
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--gray-dark);
}

.ve23-section-content p {
    margin-bottom: 1.5rem;
}

.ve23-section-content h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin: 2rem 0 1rem;
}

.ve23-section-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.ve23-section-content li {
    margin-bottom: 0.8rem;
}

/* Features Grid */
.ve23-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.ve23-feature-card {
    background: linear-gradient(135deg, var(--secondary-light), var(--white));
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.ve23-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.ve23-feature-icon {
    font-size: 4rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.ve23-feature-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-dark);
    margin-bottom: 1rem;
}

.ve23-feature-description {
    font-size: 1.4rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Partners Section */
.ve23-partners {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.ve23-partners-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-dark);
    margin-bottom: 2rem;
}

.ve23-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.ve23-partner-logo {
    width: 8rem;
    height: 4rem;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.ve23-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer */
.ve23-footer {
    background: var(--secondary-dark);
    color: var(--white);
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

.ve23-footer-content {
    text-align: center;
}

.ve23-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.ve23-footer-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.ve23-footer-link:hover {
    color: var(--primary-light);
}

.ve23-footer-text {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-top: 2rem;
}

/* Mobile Bottom Navigation */
.ve23-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
    padding: 1rem 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}

.ve23-mobile-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.ve23-mobile-nav-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    min-width: 6rem;
    min-height: 6rem;
}

.ve23-mobile-nav-btn:hover,
.ve23-mobile-nav-btn.active {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.ve23-mobile-nav-icon {
    font-size: 2.4rem;
}

.ve23-mobile-nav-text {
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ve23-main {
        padding-bottom: 8rem;
    }

    .ve23-mobile-nav {
        display: block;
    }

    .ve23-menu-toggle {
        display: block;
    }

    .ve23-nav {
        display: none;
    }

    .ve23-header-actions {
        display: none;
    }

    .ve23-hero-title {
        font-size: 2.8rem;
    }

    .ve23-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
        gap: 1rem;
    }

    .ve23-game-image {
        height: 8rem;
    }

    .ve23-category-tabs {
        gap: 0.8rem;
    }

    .ve23-category-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1.2rem;
    }

    .ve23-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .ve23-container {
        max-width: 1200px;
    }

    .ve23-main {
        padding-bottom: 0;
    }

    .ve23-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    }

    .ve23-game-image {
        height: 12rem;
    }
}

/* Loading States */
.ve23-loading {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--gray-light);
    border-top: 2px solid var(--primary-dark);
    border-radius: 50%;
    animation: ve23-spin 1s linear infinite;
}

@keyframes ve23-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility */
.ve23-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Focus states */
.ve23-btn:focus,
.ve23-nav-link:focus,
.ve23-category-btn:focus,
.ve23-mobile-nav-btn:focus {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .ve23-header,
    .ve23-nav,
    .ve23-footer,
    .ve23-mobile-nav {
        display: none;
    }

    .ve23-main {
        margin-top: 0;
        padding-bottom: 0;
    }
}