/* Play Super Ace Styles with prefix s65b- */

/* 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, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: #E0F2F1;
    background-color: #141414;
    overflow-x: hidden;
}

/* CSS Variables */
:root {
    --s65b-primary: #AFEEEE;
    --s65b-dark: #141414;
    --s65b-light: #E0F2F1;
    --s65b-accent: #00BCD4;
    --s65b-success: #4CAF50;
    --s65b-warning: #FFC107;
    --s65b-danger: #F44336;
    --s65b-gray: #666;
    --s65b-gray-dark: #333;
    --s65b-gray-light: #999;
    --s65b-border: rgba(175, 238, 238, 0.2);
    --s65b-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    --s65b-transition: all 0.3s ease;
}

/* Utility classes */
.s65b-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.s65b-wrapper {
    min-height: 100vh;
    position: relative;
}

.s65b-grid {
    display: grid;
    gap: 2rem;
}

.s65b-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.s65b-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.s65b-text-center {
    text-align: center;
}

.s65b-hidden {
    display: none !important;
}

/* Typography */
.s65b-heading-1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--s65b-primary);
}

.s65b-heading-2 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--s65b-light);
}

.s65b-heading-3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--s65b-light);
}

.s65b-text {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--s65b-light);
    margin-bottom: 1.5rem;
}

.s65b-text-small {
    font-size: 1.4rem;
    color: var(--s65b-gray-light);
}

/* Header */
.s65b-header {
    background: linear-gradient(135deg, var(--s65b-dark) 0%, var(--s65b-gray-dark) 100%);
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--s65b-shadow);
}

.s65b-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.s65b-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--s65b-light);
}

.s65b-logo img {
    width: 3.2rem;
    height: 3.2rem;
}

.s65b-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--s65b-primary);
}

/* Navigation */
.s65b-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.s65b-nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.s65b-nav-link {
    color: var(--s65b-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--s65b-transition);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.s65b-nav-link:hover {
    color: var(--s65b-primary);
    background: rgba(175, 238, 238, 0.1);
}

/* Desktop navigation buttons */
.s65b-nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Mobile menu toggle */
.s65b-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.s65b-menu-toggle span {
    width: 2.5rem;
    height: 0.3rem;
    background: var(--s65b-light);
    transition: var(--s65b-transition);
}

.s65b-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.s65b-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.s65b-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

/* Buttons */
.s65b-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--s65b-transition);
    gap: 0.5rem;
}

.s65b-btn-primary {
    background: linear-gradient(135deg, var(--s65b-primary) 0%, var(--s65b-accent) 100%);
    color: var(--s65b-dark);
    box-shadow: 0 2px 10px rgba(175, 238, 238, 0.3);
}

.s65b-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(175, 238, 238, 0.4);
}

.s65b-btn-secondary {
    background: transparent;
    color: var(--s65b-primary);
    border: 2px solid var(--s65b-primary);
}

.s65b-btn-secondary:hover {
    background: var(--s65b-primary);
    color: var(--s65b-dark);
}

.s65b-btn-small {
    padding: 0.5rem 1rem;
    font-size: 1.4rem;
}

.s65b-btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.8rem;
}

.s65b-btn-block {
    width: 100%;
}

/* Main content */
main {
    padding-top: 8rem;
    min-height: 100vh;
}

/* Hero section */
.s65b-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--s65b-dark) 0%, var(--s65b-gray-dark) 50%, var(--s65b-dark) 100%);
    position: relative;
    overflow: hidden;
}

.s65b-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(175, 238, 238, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.s65b-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.s65b-hero-title {
    font-size: 4.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--s65b-primary) 0%, var(--s65b-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s65b-hero-subtitle {
    font-size: 2rem;
    color: var(--s65b-light);
    margin-bottom: 3rem;
    opacity: 0.9;
}

.s65b-hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Carousel */
.s65b-carousel {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--s65b-shadow);
}

.s65b-carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.s65b-carousel-slide {
    min-width: 100%;
    position: relative;
}

.s65b-carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.s65b-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(20, 20, 20, 0.9) 0%, transparent 100%);
}

.s65b-carousel-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--s65b-primary);
}

.s65b-carousel-text {
    font-size: 1.8rem;
    color: var(--s65b-light);
    margin-bottom: 2rem;
}

.s65b-carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.s65b-carousel-btn {
    background: rgba(20, 20, 20, 0.8);
    color: var(--s65b-primary);
    border: 2px solid var(--s65b-primary);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--s65b-transition);
    pointer-events: all;
}

.s65b-carousel-btn:hover {
    background: var(--s65b-primary);
    color: var(--s65b-dark);
}

.s65b-carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.s65b-carousel-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: rgba(175, 238, 238, 0.3);
    cursor: pointer;
    transition: var(--s65b-transition);
}

.s65b-carousel-dot.active {
    background: var(--s65b-primary);
    transform: scale(1.3);
}

/* Game sections */
.s65b-games {
    padding: 6rem 0;
}

.s65b-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.s65b-section-title {
    font-size: 3.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--s65b-primary);
}

.s65b-section-subtitle {
    font-size: 1.8rem;
    color: var(--s65b-gray-light);
}

/* Game filters */
.s65b-game-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.s65b-filter-btn {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--s65b-light);
    border: 2px solid var(--s65b-border);
    border-radius: 2.5rem;
    cursor: pointer;
    transition: var(--s65b-transition);
    font-weight: 500;
}

.s65b-filter-btn:hover,
.s65b-filter-btn.active {
    background: var(--s65b-primary);
    color: var(--s65b-dark);
    border-color: var(--s65b-primary);
}

/* Game grid */
.s65b-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.s65b-game-card {
    background: var(--s65b-gray-dark);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--s65b-transition);
    cursor: pointer;
    position: relative;
}

.s65b-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.s65b-game-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: var(--s65b-transition);
}

.s65b-game-card:hover .s65b-game-image {
    transform: scale(1.05);
}

.s65b-game-info {
    padding: 1.5rem;
}

.s65b-game-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--s65b-light);
}

.s65b-game-type {
    font-size: 1.2rem;
    color: var(--s65b-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.s65b-game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 188, 212, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--s65b-transition);
}

.s65b-game-card:hover .s65b-game-overlay {
    opacity: 1;
}

.s65b-play-btn {
    background: var(--s65b-dark);
    color: var(--s65b-primary);
    padding: 1rem 2rem;
    border-radius: 2.5rem;
    font-weight: 600;
    text-decoration: none;
    transform: scale(0.8);
    transition: var(--s65b-transition);
}

.s65b-game-card:hover .s65b-play-btn {
    transform: scale(1);
}

/* Content sections */
.s65b-content-section {
    padding: 6rem 0;
    background: var(--s65b-gray-dark);
    margin: 4rem 0;
    border-radius: 2rem;
}

.s65b-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.s65b-content-card {
    background: var(--s65b-dark);
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid var(--s65b-border);
    transition: var(--s65b-transition);
}

.s65b-content-card:hover {
    transform: translateY(-3px);
    border-color: var(--s65b-primary);
    box-shadow: 0 5px 20px rgba(175, 238, 238, 0.1);
}

/* Search */
.s65b-search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.s65b-search-input {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.6rem;
    background: var(--s65b-dark);
    color: var(--s65b-light);
    border: 2px solid var(--s65b-border);
    border-radius: 2.5rem;
    transition: var(--s65b-transition);
}

.s65b-search-input:focus {
    outline: none;
    border-color: var(--s65b-primary);
    box-shadow: 0 0 0 3px rgba(175, 238, 238, 0.2);
}

.s65b-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--s65b-dark);
    border: 1px solid var(--s65b-border);
    border-radius: 1rem;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.s65b-search-result-item {
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: var(--s65b-transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s65b-search-result-item:hover {
    background: var(--s65b-gray-dark);
}

.s65b-no-results {
    padding: 2rem;
    text-align: center;
    color: var(--s65b-gray-light);
}

/* Mobile bottom navigation */
.s65b-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--s65b-dark) 0%, var(--s65b-gray-dark) 100%);
    border-top: 1px solid var(--s65b-border);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
}

.s65b-bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 6rem;
    padding: 0 1rem;
}

.s65b-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 6rem;
    min-height: 6rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--s65b-transition);
    text-decoration: none;
    color: var(--s65b-gray-light);
    border-radius: 1rem;
}

.s65b-bottom-nav-item:hover,
.s65b-bottom-nav-item.active {
    color: var(--s65b-primary);
    background: rgba(175, 238, 238, 0.1);
    transform: translateY(-2px);
}

.s65b-bottom-nav-icon {
    font-size: 2.4rem;
    margin-bottom: 0.2rem;
}

.s65b-bottom-nav-label {
    font-size: 1rem;
    font-weight: 500;
}

/* Footer */
.s65b-footer {
    background: var(--s65b-dark);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    border-top: 1px solid var(--s65b-border);
}

.s65b-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.s65b-footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--s65b-primary);
}

.s65b-footer-links {
    list-style: none;
}

.s65b-footer-links li {
    margin-bottom: 0.8rem;
}

.s65b-footer-links a {
    color: var(--s65b-gray-light);
    text-decoration: none;
    transition: var(--s65b-transition);
}

.s65b-footer-links a:hover {
    color: var(--s65b-primary);
}

.s65b-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--s65b-border);
    border-bottom: 1px solid var(--s65b-border);
}

.s65b-partner-logo {
    height: 4rem;
    opacity: 0.7;
    transition: var(--s65b-transition);
    filter: grayscale(100%);
}

.s65b-partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.s65b-footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--s65b-border);
    color: var(--s65b-gray-light);
}

.s65b-footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Mobile menu */
.s65b-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--s65b-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 2rem;
}

.s65b-mobile-menu.active {
    right: 0;
}

.s65b-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(--s65b-transition);
}

.s65b-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.s65b-mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.s65b-mobile-menu-close {
    background: none;
    border: none;
    color: var(--s65b-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.s65b-mobile-menu-nav {
    list-style: none;
}

.s65b-mobile-menu-nav li {
    margin-bottom: 1rem;
}

.s65b-mobile-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--s65b-light);
    text-decoration: none;
    font-size: 1.8rem;
    transition: var(--s65b-transition);
    border-radius: 0.5rem;
}

.s65b-mobile-menu-nav a:hover {
    background: var(--s65b-gray-dark);
    color: var(--s65b-primary);
}

/* Accordion */
.s65b-accordion-header {
    background: var(--s65b-gray-dark);
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--s65b-transition);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.s65b-accordion-header:hover {
    background: rgba(175, 238, 238, 0.1);
}

.s65b-accordion-header.active {
    background: var(--s65b-primary);
    color: var(--s65b-dark);
}

.s65b-accordion-icon {
    transition: var(--s65b-transition);
}

.s65b-accordion-header.active .s65b-accordion-icon {
    transform: rotate(180deg);
}

.s65b-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--s65b-dark);
    border-radius: 0 0 0.5rem 0.5rem;
}

.s65b-accordion-content-inner {
    padding: 2rem;
}

/* Modal */
.s65b-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--s65b-transition);
}

.s65b-modal.active {
    opacity: 1;
    visibility: visible;
}

.s65b-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
}

.s65b-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--s65b-dark);
    padding: 3rem;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transition: var(--s65b-transition);
}

.s65b-modal.active .s65b-modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.s65b-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.s65b-modal-close {
    background: none;
    border: none;
    color: var(--s65b-light);
    font-size: 2.4rem;
    cursor: pointer;
}

/* Scroll to top */
.s65b-scroll-top {
    position: fixed;
    bottom: 10rem;
    right: 2rem;
    background: var(--s65b-primary);
    color: var(--s65b-dark);
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--s65b-transition);
    z-index: 999;
    box-shadow: var(--s65b-shadow);
}

.s65b-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.s65b-scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(175, 238, 238, 0.4);
}

/* Tooltip */
.s65b-tooltip {
    position: absolute;
    background: var(--s65b-dark);
    color: var(--s65b-light);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.4rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.s65b-tooltip.show {
    opacity: 1;
}

/* Copy button */
.s65b-copy-btn {
    background: var(--s65b-gray-dark);
    color: var(--s65b-light);
    border: 1px solid var(--s65b-border);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--s65b-transition);
    font-size: 1.4rem;
}

.s65b-copy-btn:hover {
    background: var(--s65b-primary);
    color: var(--s65b-dark);
}

.s65b-copy-btn.copied {
    background: var(--s65b-success);
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .s65b-nav-list {
        display: none;
    }

    .s65b-menu-toggle {
        display: flex;
    }

    .s65b-nav-buttons {
        display: none;
    }

    .s65b-hero-title {
        font-size: 3.2rem;
    }

    .s65b-hero-subtitle {
        font-size: 1.6rem;
    }

    .s65b-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .s65b-carousel-slide img {
        height: 250px;
    }

    .s65b-carousel-title {
        font-size: 2rem;
    }

    .s65b-carousel-text {
        font-size: 1.4rem;
    }

    .s65b-game-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .s65b-content-grid {
        grid-template-columns: 1fr;
    }

    .s65b-bottom-nav {
        display: block;
    }

    main {
        padding-bottom: 8rem;
    }

    .s65b-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .s65b-partners {
        gap: 1rem;
    }

    .s65b-partner-logo {
        height: 3rem;
    }

    .s65b-search-container {
        margin: 0 1rem 2rem;
    }

    .s65b-game-filters {
        gap: 0.5rem;
    }

    .s65b-filter-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 55%;
    }

    .s65b-container {
        padding: 0 1.5rem;
    }

    .s65b-hero {
        padding: 3rem 0;
    }

    .s65b-games {
        padding: 4rem 0;
    }

    .s65b-content-section {
        padding: 4rem 0;
        margin: 3rem 0;
    }

    .s65b-carousel {
        margin: 3rem auto;
    }

    .s65b-carousel-content {
        padding: 2rem;
    }

    .s65b-section-header {
        margin-bottom: 3rem;
    }

    .s65b-section-title {
        font-size: 3rem;
    }

    .s65b-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1.4rem;
    }

    .s65b-btn-large {
        padding: 1.2rem 2.5rem;
        font-size: 1.6rem;
    }

    .s65b-bottom-nav-content {
        height: 5.6rem;
    }

    .s65b-bottom-nav-item {
        min-width: 5rem;
        min-height: 5rem;
    }

    .s65b-bottom-nav-icon {
        font-size: 2rem;
    }

    .s65b-bottom-nav-label {
        font-size: 0.9rem;
    }

    main {
        padding-bottom: 7rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .s65b-game-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .s65b-header,
    .s65b-footer,
    .s65b-bottom-nav,
    .s65b-carousel-controls,
    .s65b-carousel-dots,
    .s65b-scroll-top {
        display: none !important;
    }

    main {
        padding-top: 0;
        padding-bottom: 0;
    }

    body {
        color: #000;
        background: #fff;
    }

    .s65b-content-section {
        background: #fff;
        border: 1px solid #ddd;
    }
}

/* Animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

/* Loading states */
.s65b-loading {
    position: relative;
    overflow: hidden;
}

.s65b-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(175, 238, 238, 0.1), transparent);
    animation: shimmer 1.5s infinite;
}

/* Accessibility */
.s65b-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 styles */
.s65b-btn:focus,
.s65b-nav-link:focus,
.s65b-filter-btn:focus,
.s65b-search-input:focus,
.s65b-accordion-header:focus,
.s65b-copy-btn:focus {
    outline: 2px solid var(--s65b-primary);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}