* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: rgb(18 18 18 / var(--tw-bg-opacity, 1));
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hero Banner Styles */
.hero-banner {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    /* background: linear-gradient(230deg, rgba(236, 28, 37, 0.1) 0%, rgba(168, 85, 247, 0.1) 50%, rgba(30, 86, 245, 0.1) 100%); */
    padding: 0;
    text-align: center;
}

/* Hero Navigation Styles */
.hero-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 10;
}

.hero-nav-logo {
    display: flex;
    align-items: center;
}

/* .nav-logo {
   width: clamp(60px, 11.71875vw, 120px);
    filter: drop-shadow(0 2px 4px rgba(236, 28, 37, 0.3));
} */
.nav-logo {
    width: 170px;
    filter: brightness(30.5);
}

.hero-nav-button {
    display: flex;
    align-items: center;
}

.explore-btn {
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(236, 28, 37, 0.3);
    border-radius: 50px;
    color: white;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.explore-btn:hover {
    background: #c4282f;
    border-color: rgba(236, 28, 37, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 28, 37, 0.3);
}

/* Mobile adjustments for navigation */
@media (max-width: 768px) {
    .hero-nav {
        padding: 1rem 1.5rem;
    }
    
    .explore-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    z-index: 2;
}

.hero-logo-section {
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.hero-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2rem);
    flex-wrap: wrap;
}

.hero-title {
    font-size: clamp(40px, 7.8125vw, 80px);
    font-weight: 800;
    /* background: linear-gradient(135deg, #EC1C25 0%, #f4f4f4 50%, #687be2 100%); */
    background: #c4282f;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin: 0;
}

.hero-logo {
    height: clamp(40px, 8vw, 80px);
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(236, 28, 37, 0.3));
}

.hero-subtitle {
    margin-bottom: clamp(3rem, 6vw, 4rem);
}

.hero-subtitle p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 5vw, 4rem);
    margin-bottom: clamp(3rem, 6vw, 4rem);
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(236, 28, 37, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    min-width: 120px;
}

.hero-stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(236, 28, 37, 0.5);
    box-shadow: 0 10px 25px rgba(236, 28, 37, 0.2);
}

.hero-stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, #EC1C25 0%, #f4f4f4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.hero-stat-label {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.hero-cta {
    margin-bottom: clamp(4rem, 8vw, 6rem);
}

.hero-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: clamp(1rem, 2.5vw, 1.5rem) clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, #EC1C25 0%, #da7ccd 50%, #687be2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(236, 28, 37, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-cta-button::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.6s ease;
}

.hero-cta-button:hover::before {
    left: 100%;
}

.hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(236, 28, 37, 0.4);
}

.hero-cta-arrow {
    transition: transform 0.3s ease;
}

.hero-cta-button:hover .hero-cta-arrow {
    transform: translateX(5px);
}

.scroll-indicator {
    position: absolute;
    bottom: clamp(2rem, 5vw, 3rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(236, 28, 37, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: #EC1C25;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Main Content Section */
.main-content {
    padding: clamp(2rem, 4vw, 3rem);
}

.header {
    text-align: center;
    padding: 0;
    border-radius: clamp(16px, 2vw, 24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 3rem);
}

/* Responsive header layout */
@media (min-width: 768px) {
    .header {
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }
}

@media (min-width: 1440px) {
    .header {
        /* padding: clamp(3rem, 5vw, 6rem) clamp(2rem, 4vw, 5rem); */
    }
}

.header-content {
    flex: 1;
    max-width: 100%;
}

.header-image {
    flex-shrink: 0;
    max-width: 100%;
    width: clamp(200px, 40vw, 500px);
}

@media (min-width: 768px) {
    .header-content {
        max-width: 60%;
    }
    .header-image {
        max-width: 35%;
        width: auto;
    }
}

@media (min-width: 2560px) {
    .header-image {
        max-width: 30%;
        width: clamp(400px, 25vw, 600px);
    }
}

.header h1 {
    font-size: 40px;
    font-weight: 800;
    /* background: linear-gradient(90deg, #fbafa2 -26.2%, #da7ccd 6.61%, #6e44d7 53.31%, #687be2 90.84%); */
    background: #F4F4F4;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
    line-height: 1.1;
}

.header p {
    /* font-size: clamp(1rem, 2.5vw, 1.5rem); */
    font-size: 1rem;
    color: #94a3b8;
    max-width: 100%;
    line-height: 1.6;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

@media (min-width: 2560px) {
    .header p {
        font-size: clamp(1.25rem, 1.5vw, 2rem);
        line-height: 1.7;
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    margin: clamp(1rem, 3vw, 2rem) 0;
    max-width: 100%;
}

@media (min-width: 768px) {
    .stats {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

.stat-item {
    /* text-align: center; */
    /* padding: clamp(0.75rem, 2vw, 1.25rem); */
    /* background: rgba(255, 255, 255, 0.03); */
    /* border-radius: clamp(8px, 1.5vw, 12px); */
    /* border: 1px solid rgba(255, 255, 255, 0.08); */
    background: linear-gradient(90deg, #fbafa2 -26.2%, #da7ccd 6.61%, #6e44d7 53.31%, #687be2 90.84%);
    /* border-color: rgba(168, 85, 247, 0.4); */
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(168, 85, 247, 0.2);
    border: 2px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    outline: 3px solid rgba(168, 85, 247, 0.6);
    outline-offset: 3px;
}

.stat-number {
    font-size: 25px;
    font-weight: 700;
    color: #ffffff;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: clamp(0.75rem, 2vw, 1rem);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: clamp(0.25rem, 1vw, 0.5rem);
}

.search-bar {
    max-width: clamp(300px, 80vw, 600px);
    margin: clamp(1.5rem, 4vw, 3rem) auto;
}

.search-input {
    width: 100%;
    padding:12px;
    padding-left: 25px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 55px;
    color: white;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #c4282f;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.search-input::placeholder {
    color: #64748b;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    margin: clamp(1.5rem, 4vw, 2rem) 0;
    flex-wrap: wrap;
    padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.filter-tab{
    padding: clamp(0.5rem, 1.5vw, 0.875rem) clamp(0.875rem, 2.5vw, 1.5rem);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: clamp(20px, 4vw, 30px);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: clamp(0.8rem, 2vw, 1rem);
    white-space: nowrap;
}
.tag,.preview-indicator{
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    padding: clamp(0.2rem, 1vw, 0.35rem) clamp(0.5rem, 1.5vw, 0.875rem);
    border-radius: clamp(8px, 2vw, 14px);
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    font-weight: 500;
}

.filter-tab.active, .filter-tab:hover {
    /* background: linear-gradient(90deg, #fbafa2 -26.2%, #da7ccd 6.61%, #6e44d7 53.31%, #687be2 90.84%);
    border-color: rgba(168, 85, 247, 0.4);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(168, 85, 247, 0.2); */
    background: #f4f4f4;
    color: #101010;
    border-radius: 55px;
    cursor: pointer;
}

.apps-grid {
    display: grid;
    gap: clamp(1rem, 3vw, 2rem);
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
    /* Responsive grid columns */
    grid-template-columns: 1fr;
}

/* Responsive grid breakpoints */
@media (min-width: 640px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1440px) {
    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 2560px) {
    .apps-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: clamp(2rem, 3vw, 3rem);
    }
}

@media (min-width: 3840px) {
    .apps-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.app-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: clamp(12px, 2.5vw, 20px);
    padding: clamp(1.25rem, 3vw, 2rem);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: clamp(280px, 35vw, 400px);
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #c4282f;
}

.app-icon {
    height: 40px;
    border-radius: clamp(6px, 1.5vw, 12px);
    margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: clamp(4px, 1vw, 6px);
    display: block;
}

.app-icon-container {
    position: relative;
    margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
    flex-shrink: 0;
    display: none;
}

.app-icon-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: clamp(6px, 1.5vw, 12px);
}

.fallback-icon {
    font-size: clamp(20px, 4vw, 28px);
}

.app-title {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
    color: #f1f5f9;
    line-height: 1.3;
}

.app-description {
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
    font-size: clamp(0.85rem, 2vw, 1rem);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.25rem, 1vw, 0.5rem);
    margin-bottom: clamp(1rem, 2.5vw, 2rem);
}

/* .tag {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    padding: clamp(0.2rem, 1vw, 0.35rem) clamp(0.5rem, 1.5vw, 0.875rem);
    border-radius: clamp(8px, 2vw, 14px);
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    border: 1px solid rgba(34, 197, 94, 0.2);
    white-space: nowrap;
    font-weight: 500;
} */

.app-actions {
    margin-top: auto;
    padding-top: clamp(0.75rem, 2vw, 1rem);
}

.btn {
    width: 100%;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.5rem);
    border-radius: clamp(8px, 2vw, 12px);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: clamp(0.85rem, 2vw, 1rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.3rem, 1vw, 0.5rem);
    text-align: center;
}

/* .btn-primary {
    background: linear-gradient(90deg, #fbafa2 -26.2%, #da7ccd 6.61%, #6e44d7 53.31%, #687be2 90.84%);
    color: white;
} */
.btn-primary {
    background: #f4f4f4;
    color: #101010;
    border-radius: 55px;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.preview-indicator {
    color: #f4f4f4;
    margin: 10px 0px 10px 0px;
    display: flex;
    gap: 12px;
    max-width: fit-content;
}

/* Modal Responsive Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: clamp(1%, 2vw, 2%) auto;
    width: clamp(95%, 90vw, 95%);
    height: clamp(90%, 85vh, 95%);
    background: rgba(15, 15, 35, 0.95);
    border-radius: clamp(12px, 2vw, 20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
    max-width: none;
}

@media (min-width: 768px) {
    .modal-content {
        width: 90%;
        height: 85%;
    }
    .container{
        margin: 0px auto;
    }
}

@media (min-width: 2560px) {
    .modal-content {
        width: 85%;
        height: 90%;
    }
}

@keyframes modalSlideIn {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(0.75rem, 2vw, 1.5rem);
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: clamp(0.5rem, 2vw, 1rem);
}

.modal-title {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: white;
    margin: 0;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modal-controls {
    display: flex;
    gap: clamp(0.5rem, 1.5vw, 1rem);
    align-items: center;
    flex-shrink: 0;
}

.fullscreen-btn, .close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: clamp(0.4rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1.25rem);
    border-radius: clamp(4px, 1vw, 8px);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    white-space: nowrap;
}

.fullscreen-btn:hover, .close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.close-btn {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
}

.close-btn:hover {
    background: rgba(239, 68, 68, 0.3);
}

.modal-iframe {
    width: 100%;
    height: calc(100% - clamp(60px, 8vw, 80px));
    border: none;
    background: white;
}

.iframe-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #94a3b8;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1.5vw, 1rem);
    text-align: center;
}

.loading-spinner {
    width: clamp(18px, 4vw, 24px);
    height: clamp(18px, 4vw, 24px);
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer {
    text-align: center;
    margin-top: clamp(2rem, 5vw, 4rem);
    padding: clamp(1.5rem, 4vw, 3rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: #64748b;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

/* High DPI Display Optimizations */
@media (min-width: 3840px) {
    .container {
        max-width: 100% !important;
        padding: 0;
    }
    
    .main-content {
        padding: clamp(3rem, 5vw, 6rem);
    }
    
    .apps-grid {
        gap: clamp(3rem, 4vw, 4rem);
    }
    
    .app-card {
        min-height: clamp(400px, 25vw, 500px);
    }
}

/* Ultra-wide Display Support */
@media (min-aspect-ratio: 21/9) {
    .container {
        max-width: 100% !important;
    }
}

/* Print styles */
@media print {
    .modal,
    .filter-tabs,
    .search-bar {
        display: none;
    }
    
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .app-card {
        break-inside: avoid;
        min-height: auto;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .app-card {
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .app-card:hover {
        border-color: #c4282f;
    }
    
    .tag {
        border-color: rgba(34, 197, 94, 0.6);
    }
}

/* Focus styles for keyboard navigation */
.filter-tab:focus,
.btn:focus,
.search-input:focus {
    outline: 2px solid #c4282f;
    outline-offset: 2px;
}

.app-card:focus {
    outline: 2px solid #c4282f;
    outline-offset: 2px;
}

/* Mobile-first responsive utilities */
@media (max-width: 639px) {
    .hero-banner{
        min-height: 70vh !important;
    }
    .main-content {
        padding: clamp(1rem, 4vw, 3rem);
    }
    .modal-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .fullscreen-btn, .close-btn {
        width: 100%;
        text-align: center;
    }
    
    .stats {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
}