/* DeskGame PH CSS Stylesheet */
/* Dynamic prefix: wf27d- */

/* CSS Variables for Theme Colors */
:root {
    --wf27d-primary: #FFEBCD; /* Blanched Almond */
    --wf27d-secondary: #9400D3; /* Dark Violet */
    --wf27d-accent: #D8BFD8; /* Thistle */
    --wf27d-dark: #0C0C0C; /* Very Dark Gray */
    --wf27d-light: #FFFACD; /* Lemon Chiffon */
    --wf27d-gradient: linear-gradient(135deg, #9400D3 0%, #FFEBCD 50%, #D8BFD8 100%);
    --wf27d-text: #333333;
    --wf27d-text-light: #ffffff;
    --wf27d-success: #4CAF50;
    --wf27d-warning: #FF9800;
    --wf27d-error: #F44336;
    --wf27d-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    --wf27d-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.25);
    --wf27d-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--wf27d-text);
    background: linear-gradient(135deg, var(--wf27d-light) 0%, var(--wf27d-primary) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
.wf27d-h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--wf27d-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.wf27d-h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--wf27d-secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.wf27d-h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--wf27d-dark);
    margin-bottom: 0.8rem;
}

.wf27d-p {
    font-size: 1rem;
    color: var(--wf27d-text);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.wf27d-text-center { text-align: center; }
.wf27d-text-left { text-align: left; }
.wf27d-text-right { text-align: right; }

/* Layout Containers */
.wf27d-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.wf27d-main {
    min-height: calc(100vh - 120px);
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Header */
.wf27d-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 235, 205, 0.2);
    z-index: 1000;
    padding: 0.5rem 0;
}

.wf27d-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.wf27d-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--wf27d-primary);
    transition: var(--wf27d-transition);
}

.wf27d-logo:hover {
    transform: scale(1.05);
    color: var(--wf27d-light);
}

.wf27d-logo-icon {
    width: 32px;
    height: 32px;
    background: var(--wf27d-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Navigation */
.wf27d-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.wf27d-nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.wf27d-nav-link {
    color: var(--wf27d-text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--wf27d-transition);
    position: relative;
}

.wf27d-nav-link:hover {
    background: rgba(255, 235, 205, 0.1);
    color: var(--wf27d-primary);
    transform: translateY(-2px);
}

.wf27d-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--wf27d-primary);
    transition: var(--wf27d-transition);
    transform: translateX(-50%);
}

.wf27d-nav-link:hover::after {
    width: 80%;
}

/* Buttons */
.wf27d-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--wf27d-transition);
    position: relative;
    overflow: hidden;
}

.wf27d-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.wf27d-btn:hover::before {
    left: 100%;
}

.wf27d-btn-primary {
    background: var(--wf27d-gradient);
    color: var(--wf27d-text-light);
    box-shadow: var(--wf27d-shadow);
}

.wf27d-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--wf27d-shadow-hover);
}

.wf27d-btn-secondary {
    background: transparent;
    color: var(--wf27d-primary);
    border: 2px solid var(--wf27d-primary);
}

.wf27d-btn-secondary:hover {
    background: var(--wf27d-primary);
    color: var(--wf27d-dark);
    transform: translateY(-3px);
}

.wf27d-btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.wf27d-btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.wf27d-hero {
    background: linear-gradient(135deg, var(--wf27d-secondary) 0%, var(--wf27d-dark) 50%, var(--wf27d-secondary) 100%);
    color: var(--wf27d-text-light);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wf27d-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,235,205,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    pointer-events: none;
}

.wf27d-hero-content {
    position: relative;
    z-index: 2;
}

.wf27d-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--wf27d-primary), var(--wf27d-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wf27d-hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wf27d-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Carousel */
.wf27d-carousel {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--wf27d-shadow-hover);
}

.wf27d-carousel-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.wf27d-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    cursor: pointer;
}

.wf27d-carousel-slide.wf27d-active {
    opacity: 1;
}

.wf27d-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wf27d-carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(148, 0, 211, 0.7), rgba(255, 235, 205, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wf27d-text-light);
    text-align: center;
    padding: 2rem;
}

.wf27d-carousel-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.wf27d-carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.wf27d-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--wf27d-transition);
}

.wf27d-carousel-dot.wf27d-active {
    background: var(--wf27d-primary);
    transform: scale(1.2);
}

.wf27d-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--wf27d-text-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--wf27d-transition);
}

.wf27d-carousel-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.wf27d-carousel-prev {
    left: 20px;
}

.wf27d-carousel-next {
    right: 20px;
}

/* Game Grid */
.wf27d-games-section {
    padding: 4rem 0;
    background: var(--wf27d-light);
}

.wf27d-games-header {
    text-align: center;
    margin-bottom: 3rem;
}

.wf27d-category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.wf27d-category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--wf27d-accent);
    background: transparent;
    color: var(--wf27d-secondary);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--wf27d-transition);
    font-weight: 600;
}

.wf27d-category-btn.wf27d-active,
.wf27d-category-btn:hover {
    background: var(--wf27d-secondary);
    color: var(--wf27d-text-light);
    border-color: var(--wf27d-secondary);
    transform: translateY(-2px);
}

.wf27d-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.wf27d-game-card {
    background: var(--wf27d-text-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--wf27d-shadow);
    transition: var(--wf27d-transition);
    cursor: pointer;
    position: relative;
}

.wf27d-game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--wf27d-shadow-hover);
}

.wf27d-game-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: var(--wf27d-transition);
}

.wf27d-game-card:hover .wf27d-game-image {
    transform: scale(1.1);
}

.wf27d-game-info {
    padding: 1rem;
    text-align: center;
}

.wf27d-game-name {
    font-weight: 600;
    color: var(--wf27d-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.wf27d-game-type {
    color: var(--wf27d-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wf27d-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(148, 0, 211, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--wf27d-transition);
}

.wf27d-game-card:hover .wf27d-play-overlay {
    opacity: 1;
}

.wf27d-play-btn {
    background: var(--wf27d-primary);
    color: var(--wf27d-dark);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--wf27d-transition);
}

.wf27d-play-btn:hover {
    background: var(--wf27d-light);
    transform: scale(1.05);
}

/* Features Section */
.wf27d-features {
    padding: 4rem 0;
    background: var(--wf27d-primary);
}

.wf27d-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.wf27d-feature-card {
    background: var(--wf27d-text-light);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--wf27d-shadow);
    transition: var(--wf27d-transition);
}

.wf27d-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--wf27d-shadow-hover);
}

.wf27d-feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--wf27d-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--wf27d-text-light);
}

/* Bottom Navigation */
.wf27d-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--wf27d-dark);
    border-top: 1px solid rgba(255, 235, 205, 0.2);
    z-index: 1000;
    padding: 0.5rem 0;
    display: none;
}

.wf27d-bottom-nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    max-width: 430px;
    margin: 0 auto;
}

.wf27d-bottom-nav-item {
    flex: 1;
    text-align: center;
}

.wf27d-bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    color: rgba(255, 235, 205, 0.7);
    text-decoration: none;
    transition: var(--wf27d-transition);
    border-radius: 8px;
    min-height: 60px;
    justify-content: center;
}

.wf27d-bottom-nav-link:hover,
.wf27d-bottom-nav-link.wf27d-active {
    color: var(--wf27d-primary);
    background: rgba(255, 235, 205, 0.1);
    transform: translateY(-2px);
}

.wf27d-bottom-nav-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.wf27d-bottom-nav-text {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Footer */
.wf27d-footer {
    background: var(--wf27d-dark);
    color: var(--wf27d-text-light);
    padding: 3rem 0 1rem;
    margin-bottom: 70px;
}

.wf27d-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.wf27d-footer-section h4 {
    color: var(--wf27d-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.wf27d-footer-links {
    list-style: none;
}

.wf27d-footer-links li {
    margin-bottom: 0.5rem;
}

.wf27d-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--wf27d-transition);
}

.wf27d-footer-links a:hover {
    color: var(--wf27d-primary);
}

.wf27d-partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.wf27d-partner-logo {
    width: 80px;
    height: 40px;
    background: var(--wf27d-text-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--wf27d-dark);
    font-weight: 600;
    transition: var(--wf27d-transition);
}

.wf27d-partner-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--wf27d-shadow);
}

.wf27d-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Mobile Menu */
.wf27d-hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.wf27d-hamburger span {
    width: 25px;
    height: 3px;
    background: var(--wf27d-primary);
    transition: var(--wf27d-transition);
    border-radius: 2px;
}

.wf27d-hamburger.wf27d-active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.wf27d-hamburger.wf27d-active span:nth-child(2) {
    opacity: 0;
}

.wf27d-hamburger.wf27d-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.wf27d-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--wf27d-dark);
    z-index: 9999;
    transition: right 0.3s ease-in-out;
    padding: 4rem 1.5rem 2rem;
    overflow-y: auto;
}

.wf27d-mobile-menu.wf27d-active {
    right: 0;
}

.wf27d-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--wf27d-transition);
}

.wf27d-menu-overlay.wf27d-active {
    opacity: 1;
    visibility: visible;
}

.wf27d-mobile-nav-list {
    list-style: none;
    margin-bottom: 2rem;
}

.wf27d-mobile-nav-item {
    margin-bottom: 1rem;
}

.wf27d-mobile-nav-link {
    color: var(--wf27d-text-light);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    display: block;
    transition: var(--wf27d-transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wf27d-mobile-nav-link:hover {
    color: var(--wf27d-primary);
    padding-left: 1rem;
}

/* Forms */
.wf27d-form-group {
    margin-bottom: 1.5rem;
}

.wf27d-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--wf27d-dark);
}

.wf27d-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--wf27d-accent);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--wf27d-transition);
    background: var(--wf27d-text-light);
}

.wf27d-form-input:focus {
    outline: none;
    border-color: var(--wf27d-secondary);
    box-shadow: 0 0 0 3px rgba(148, 0, 211, 0.1);
}

.wf27d-form-input.wf27d-error {
    border-color: var(--wf27d-error);
}

/* Cards */
.wf27d-card {
    background: var(--wf27d-text-light);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--wf27d-shadow);
    transition: var(--wf27d-transition);
    margin-bottom: 2rem;
}

.wf27d-card:hover {
    box-shadow: var(--wf27d-shadow-hover);
}

/* Utility Classes */
.wf27d-mb-1 { margin-bottom: 0.5rem; }
.wf27d-mb-2 { margin-bottom: 1rem; }
.wf27d-mb-3 { margin-bottom: 1.5rem; }
.wf27d-mb-4 { margin-bottom: 2rem; }

.wf27d-mt-1 { margin-top: 0.5rem; }
.wf27d-mt-2 { margin-top: 1rem; }
.wf27d-mt-3 { margin-top: 1.5rem; }
.wf27d-mt-4 { margin-top: 2rem; }

.wf27d-py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.wf27d-py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.wf27d-py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.wf27d-py-4 { padding-top: 2rem; padding-bottom: 2rem; }

.wf27d-px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.wf27d-px-2 { padding-left: 1rem; padding-right: 1rem; }
.wf27d-px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.wf27d-px-4 { padding-left: 2rem; padding-right: 2rem; }

.wf27d-hidden { display: none; }
.wf27d-visible { display: block; }

/* Animations */
@keyframes appf27fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes appf27slideInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes appf27pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes appf27bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.wf27d-fade-in {
    animation: appf27fadeIn 0.6s ease-out;
}

.wf27d-slide-in-up {
    animation: appf27slideInUp 0.8s ease-out;
}

.wf27d-pulse {
    animation: appf27pulse 2s infinite;
}

.wf27d-bounce {
    animation: appf27bounce 1s infinite;
}

/* Loading States */
.wf27d-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.wf27d-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 235, 205, 0.3);
    border-top: 4px solid var(--wf27d-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .wf27d-main {
        padding-bottom: 80px;
    }

    .wf27d-bottom-nav {
        display: block;
    }

    .wf27d-hamburger {
        display: flex;
    }

    .wf27d-nav {
        display: none;
    }

    .wf27d-hero {
        padding: 3rem 0;
    }

    .wf27d-hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .wf27d-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .wf27d-carousel-container {
        height: 250px;
    }

    .wf27d-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .wf27d-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .wf27d-partners {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    }

    .wf27d-partner-logo {
        width: 60px;
        height: 30px;
        font-size: 0.7rem;
    }

    .wf27d-container {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .wf27d-hero-title {
        font-size: 2rem;
    }

    .wf27d-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wf27d-carousel-container {
        height: 200px;
    }

    .wf27d-bottom-nav-list {
        padding: 0 0.5rem;
    }

    .wf27d-bottom-nav-icon {
        font-size: 1.2rem;
    }

    .wf27d-bottom-nav-text {
        font-size: 0.6rem;
    }
}

/* Print Styles */
@media print {
    .wf27d-header,
    .wf27d-bottom-nav,
    .wf27d-mobile-menu,
    .wf27d-menu-overlay {
        display: none !important;
    }

    .wf27d-main {
        padding-top: 0;
        padding-bottom: 0;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --wf27d-primary: #000000;
        --wf27d-secondary: #FFFFFF;
        --wf27d-accent: #808080;
        --wf27d-dark: #000000;
        --wf27d-light: #FFFFFF;
        --wf27d-text: #000000;
        --wf27d-text-light: #FFFFFF;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .wf27d-carousel-slide {
        transition: none;
    }
}