* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 520px) {
    .checkout-page .features-container {
        padding: 0 1rem;
    }

    .checkout-grid {
        gap: 1rem;
    }

    .checkout-card {
        padding: 1.25rem !important;
    }

    .payment-method-option {
        padding: 1rem;
        gap: 0.75rem;
    }

    .payment-method-icon {
        font-size: 1.6rem;
    }

    .checkout-submit-btn {
        width: 100%;
    }

    .bank-details-box {
        padding: 1rem;
    }

    .bank-details-grid {
        gap: 0.75rem;
    }

    .bank-transfer-content-grid,
    .checkout-grid {
        max-width: 100%;
    }

    .categories-container {
        margin: 1.5rem -1rem 0 -1rem;
        padding: 0 1rem;
    }

    .product-page .about-container {
        padding: 0 1rem;
    }

    .product-page .hero-btn,
    .checkout-page .hero-btn,
    .payment-result-page .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }

    .payment-result-page .container > div[style*="display: flex"] {
        flex-direction: column;
        align-items: stretch;
    }
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --accent: #ffffff;
    --border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    background: var(--bg-primary);
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-left: 1px solid var(--border);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--bg-tertiary) var(--bg-primary);
}

body.infumia-page {
    padding-top: 0;
    background: var(--bg-primary) !important;
    background-image: none !important;
}

body.infumia-page::before,
body.infumia-page::after {
    content: none !important;
    display: none !important;
    background: none !important;
    opacity: 0 !important;
}

body.infumia-page main {
    padding-top: 0;
    background: var(--bg-primary) !important;
    background-image: none !important;
}

.infumia-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.infumia-navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 1rem 0;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    margin-right: 1rem;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.navbar-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-primary);
    transition: width 0.3s ease;
}

.navbar-links a:hover {
    color: var(--text-primary);
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-login {
    padding: 0.6rem 1.5rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar-login:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.navbar-discord-login {
    padding: 0.6rem 1.2rem;
    background: #5865F2;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-discord-login:hover {
    background: #4752C4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

.navbar-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.navbar-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
    backdrop-filter: blur(6px);
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(360px, calc(100vw - 2.5rem));
    background: rgba(12, 12, 12, 0.92);
    border-left: 1px solid var(--border);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

body.mobile-nav-open .mobile-nav-overlay {
    display: block;
}

body.mobile-nav-open .mobile-nav-drawer {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.mobile-nav-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.mobile-nav-close {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    padding: 0.6rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    overflow: auto;
}

.mobile-nav-links a {
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    border: 1px solid transparent;
    background: rgba(255,255,255,0.02);
    transition: all 0.2s ease;
    font-weight: 600;
}

.mobile-nav-links a:hover {
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
}

.mobile-nav-actions {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
    border-top: 1px solid var(--border);
}

.mobile-nav-action-btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: var(--text-primary);
    color: var(--bg-primary);
    text-decoration: none;
    font-weight: 800;
}

.language-selector {
    position: relative;
}

.language-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.language-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.language-selector.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.language-option.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.language-option span:first-child {
    font-size: 1.2rem;
}

.infumia-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
    padding-top: 80px;
}

.infumia-hero > .hero-content {
    flex: 0 0 auto;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-video-container video,
.hero-video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0.95) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    height: auto;
    line-height: 1.4;
}

.hero-btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.hero-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.hero-btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.hero-stats-soft {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats-top-row,
.hero-stats-bottom-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.hero-stats-top-row {
    margin-bottom: 0;
}

.hero-stats-bottom-row {
    margin-top: 0;
}

.hero-stat-container {
    background: transparent;
    backdrop-filter: none;
    border: none;
    outline: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    min-width: auto;
    max-width: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    box-shadow: none;
    animation: floatAnimation 3s ease-in-out infinite;
    transform-origin: center center;
}

.hero-stats-top-row .hero-stat-container:nth-child(1) {
    animation-delay: 0s;
}

.hero-stats-top-row .hero-stat-container:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-stats-top-row .hero-stat-container:nth-child(3) {
    animation-delay: 0.4s;
}

.hero-stats-bottom-row .hero-stat-container:nth-child(1) {
    animation-delay: 0.6s;
}

.hero-stats-bottom-row .hero-stat-container:nth-child(2) {
    animation-delay: 0.8s;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-8px) translateX(0px);
    }
}

.hero-stat-container::before {
    display: none;
}

.hero-stat-container:hover {
    background: transparent;
    transform: translateY(-12px) translateX(0px) scale(1.05);
    box-shadow: none;
    animation-play-state: paused;
}

.hero-stat-icon {
    font-size: 1.8rem;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    animation: iconPulse 2s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1) translateX(0px);
    }
    50% {
        transform: scale(1.05) translateX(0px);
    }
}

.hero-stat-container:hover .hero-stat-icon {
    background: transparent;
    transform: scale(1.2) translateX(0px);
    animation-play-state: paused;
}

.hero-stat-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}

.hero-stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.2;
}

.hero-stat-number {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.hero-stat-badge {
    display: none !important;
}

.timeline-section {
    padding: 10rem 0;
    background: var(--bg-secondary);
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 768px) {
    .timeline-section {
        padding: 6rem 0;
    }
    
    .timeline-container {
        padding: 0 2rem;
    }
}

.timeline-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 5rem;
    letter-spacing: -0.02em;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4rem;
    align-items: start;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-date {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.timeline-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.timeline-accordion {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.timeline-accordion-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.timeline-accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.timeline-accordion-header:hover {
    padding-left: 1rem;
}

.timeline-accordion-header .timeline-date {
    min-width: 100px;
    font-size: 1rem;
    color: var(--text-muted);
}

.timeline-accordion-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    flex: 1;
    margin: 0;
    letter-spacing: -0.02em;
}

.accordion-icon {
    transition: transform 0.3s ease;
    margin-left: auto;
}

.timeline-accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.timeline-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease, opacity 0.3s ease;
    padding: 0 0 0 120px;
    opacity: 0;
}

.timeline-accordion-item.active .timeline-accordion-content {
    max-height: 10000px !important;
    padding: 2rem 0 3rem 120px;
    overflow: visible !important;
    opacity: 1;
}

.timeline-accordion-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.changelog-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.changelog-section {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.changelog-section:hover {
    background: rgba(255, 255, 255, 0.04);
    border-left-color: rgba(255, 255, 255, 0.3);
}

.changelog-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.changelog-section p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.changelog-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.changelog-section ul li {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 1.8rem;
    position: relative;
    transition: color 0.3s ease;
}

.changelog-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    font-weight: bold;
    font-size: 1.2rem;
}

.changelog-section ul li:hover {
    color: var(--text-primary);
}

.changelog-section ul li:hover::before {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .timeline-accordion-header {
        padding: 1.5rem 0;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .timeline-accordion-header .timeline-date {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .timeline-accordion-header h3 {
        font-size: 1.4rem;
    }
    
    .timeline-accordion-content {
        padding: 0;
    }
    
    .timeline-accordion-item.active .timeline-accordion-content {
        padding: 1.5rem 0 2rem 0;
    }
    
    .changelog-content {
        gap: 2rem;
    }
    
    .changelog-section {
        padding: 1.2rem 1.5rem;
    }
    
    .changelog-section h4 {
        font-size: 1.15rem;
    }
    
    .changelog-section ul li {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
}

.gallery-section {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.gallery-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.gallery-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-item-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.gallery-featured {
    grid-column: span 2;
}

.gallery-new-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: stretch;
}

.gallery-main {
    grid-column: 1;
    display: flex;
    height: 100%;
}

.gallery-side {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.gallery-large {
    width: 100%;
    aspect-ratio: 16/9;
    height: 100%;
    min-height: 0;
}

.gallery-main .gallery-item {
    height: 100%;
    aspect-ratio: auto;
}

.gallery-side .gallery-small {
    width: 100%;
    flex: 1 1 0;
    min-height: 0;
    aspect-ratio: auto;
    height: auto;
}

.gallery-side .gallery-item {
    height: 100%;
    aspect-ratio: auto;
}

.gallery-side .gallery-small img,
.gallery-side .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    z-index: 10;
}

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 2rem;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.gallery-modal-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.gallery-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.gallery-modal-nav,
.gallery-modal-prev,
.gallery-modal-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.gallery-modal-prev {
    left: 2rem;
}

.gallery-modal-next {
    right: 2rem;
}

.gallery-modal-nav:hover,
.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal-content {
    max-width: calc(100vw - 12rem);
    max-height: calc(100vh - 12rem);
    width: 100%;
    height: 100%;
    margin: 0;
    position: relative;
    animation: modalFadeIn 0.4s ease;
    padding: 0;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-modal-image {
    width: 100%;
    height: 100%;
    max-height: 100%;
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 2rem;
    border: none;
}

.gallery-modal-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .gallery-modal {
        padding: 1rem;
    }
    
    .gallery-modal-content {
        max-width: 100%;
        padding: 0;
    }
    
    .gallery-modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .gallery-modal-nav,
    .gallery-modal-prev,
    .gallery-modal-next {
        width: 44px;
        height: 44px;
    }
    
    .gallery-modal-prev {
        left: 1rem;
    }
    
    .gallery-modal-next {
        right: 1rem;
    }
    
    .gallery-modal-prev:hover,
    .gallery-modal-next:hover {
        transform: translateY(-50%) scale(1.1);
    }
    
    .gallery-modal-image {
        max-height: 70vh;
    }
    
    .gallery-modal-image img {
        max-height: 70vh;
    }
}

.social-media-section {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.social-media-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

.social-media-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    padding: 4rem 2rem;
    border-radius: 12px;
    background: var(--bg-tertiary);
}

.social-media-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.02) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

.social-media-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.social-media-icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    margin: 0 auto 2rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-media-icon-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.social-media-icon {
    width: 32px;
    height: 32px;
}

.social-media-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.social-media-desc {
    max-width: 500px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.social-media-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-media-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-media-btn:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.social-media-btn svg {
    transition: transform 0.3s ease;
}

.social-media-btn:hover svg {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .social-media-section {
        padding: 6rem 0;
    }
    
    .social-media-container {
        padding: 0 2rem;
    }
    
    .social-media-card {
        padding: 3rem 1.5rem;
    }
    
    .social-media-title {
        font-size: 1.5rem;
    }
    
    .social-media-desc {
        font-size: 1rem;
    }
    
    .social-media-icon-wrapper {
        width: 56px;
        height: 56px;
        margin-bottom: 1.5rem;
    }
    
    .social-media-icon {
        width: 28px;
        height: 28px;
    }
    
    .social-media-btn {
        width: 44px;
        height: 44px;
    }
}

.stats-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.features-section {
    padding: 8rem 0;
    background: var(--bg-primary);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter></defs><rect width="100" height="100" filter="url(%23noise)" opacity="0.03"/></svg>') repeat,
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
    backdrop-filter: blur(1px);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 1;
}

.features-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 0;
    align-items: stretch;
}

.feature-card {
    padding: 2.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    z-index: 1;
    overflow: visible;
    text-align: left;
    display: flex;
    flex-direction: column;
}

#productsGrid .feature-card,
.features-grid .product-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: transparent;
    border-radius: 10px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
}

.feature-card:hover::after,
.feature-card.feature-hidden:hover::after,
.features-grid.expanded .feature-hidden:hover::after {
    opacity: 1 !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.25) !important;
}

.feature-card.feature-hidden::after {
    content: '' !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    right: -2px !important;
    bottom: -2px !important;
    border-radius: 10px !important;
    border: 2px solid rgba(255, 255, 255, 0) !important;
    opacity: 0 !important;
    z-index: -1 !important;
    transition: opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    pointer-events: none !important;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0) !important;
}

.feature-card:hover,
.feature-card.feature-hidden:hover,
.features-grid.expanded .feature-hidden:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-6px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    box-shadow: 
        0 8px 35px rgba(0, 0, 0, 0.25),
        0 0 15px rgba(255, 255, 255, 0.08);
}

.feature-card .feature-icon,
.features-grid .feature-icon {
    font-size: 3rem !important;
    margin-bottom: 1.5rem !important;
    display: block !important;
    text-align: left !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    transform: none !important;
    align-items: unset !important;
    justify-content: unset !important;
    flex: none !important;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-align: left;
    color: var(--text-primary);
    margin-left: 0;
}

.feature-text {
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: left;
    margin-left: 0;
}

.feature-hidden {
    display: none;
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    height: 0;
    overflow: hidden;
    visibility: hidden;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    transition: 
        opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0s 0.25s,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    pointer-events: none;
    will-change: opacity, transform;
}

.features-grid.expanded .feature-hidden {
    display: block;
    height: auto;
    visibility: visible;
    margin: 0;
    padding: 2.5rem;
    pointer-events: auto;
    position: relative !important;
    overflow: visible !important;
    transition: 
        opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0s 0s,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    will-change: opacity, transform;
}

.features-grid.expanded .feature-hidden::after {
    content: '' !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    right: -2px !important;
    bottom: -2px !important;
    border-radius: 10px !important;
    border: 2px solid rgba(255, 255, 255, 0) !important;
    opacity: 0 !important;
    z-index: -1 !important;
    transition: opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    pointer-events: none !important;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0) !important;
}

.features-grid.expanded .feature-hidden.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.features-expand-wrapper {
    text-align: center;
    margin-top: 3rem;
    transition: margin-top 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.features-grid.expanded ~ .features-expand-wrapper {
    margin-top: 3rem;
}

.features-expand-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.features-expand-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.expand-icon {
    transition: transform 0.3s ease;
}

.features-grid.expanded ~ .features-expand-wrapper .expand-icon {
    transform: rotate(180deg);
}

.infumia-footer {
    padding: 4rem 0 2rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.footer-main-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-brand {
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 0.8rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.8rem 0;
    letter-spacing: -0.01em;
}

.footer-intro {
    margin: 0;
}

.footer-intro p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9rem;
    margin: 0;
}


.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-left,
.footer-bottom-right {
    flex: 1;
}

.footer-bottom-right {
    text-align: right;
}

@media (max-width: 968px) {
    .navbar-container {
        padding: 0 2rem;
    }
    
    .navbar-links {
        gap: 2rem;
        font-size: 0.9rem;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline-date {
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-featured {
        grid-column: span 1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .hero-stats-soft {
        gap: 1.2rem;
    }
    
    .hero-stats-top-row,
    .hero-stats-bottom-row {
        gap: 1rem;
    }
    
    .hero-stat-container {
        padding: 0;
        flex: 1 1 auto;
        min-width: auto;
    }
    
    .hero-stat-icon {
        font-size: 1.5rem;
    }
    
    .hero-stat-number {
        font-size: 0.95rem;
    }
    
    .hero-stat-label {
        font-size: 0.95rem;
    }
    
    .gallery-new-layout {
        grid-template-columns: 1fr;
    }
    
    .gallery-side {
        grid-column: 1;
        flex-direction: row;
    }
    
    .gallery-bottom {
        grid-template-columns: 1fr;
    }
    
    .footer-main-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-social-compact {
        justify-content: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-right {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .navbar-container {
        padding: 0 1.5rem;
    }
    
    .navbar-links {
        display: none;
    }

    .navbar-mobile-toggle {
        display: inline-flex;
    }

    .infumia-navbar {
        padding: 0.9rem 0;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .infumia-hero {
        padding-top: 92px;
    }
    
    .timeline-container,
    .gallery-container,
    .stats-container,
    .features-container,
    .footer-container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats-soft {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .hero-stats-top-row,
    .hero-stats-bottom-row {
        gap: 0.8rem;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stat-container {
        padding: 0;
        min-width: auto;
        max-width: none;
        width: 100%;
        max-width: 250px;
    }

    .hero-stat-info {
        justify-content: center;
    }

    .hero-stat-label,
    .hero-stat-number {
        text-align: center;
    }
    
    .hero-stat-icon {
        width: auto;
        height: auto;
        font-size: 1.4rem;
    }
    
    .hero-stat-number {
        font-size: 0.95rem;
    }
    
    .hero-stat-label {
        font-size: 0.95rem;
    }
    
    .navbar-discord-login span {
        display: none;
    }
    
    .navbar-discord-login {
        padding: 0.6rem;
    }
    
    .timeline-accordion-header {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .timeline-accordion-content {
        padding-left: 0 !important;
    }
    
    .gallery-side {
        flex-direction: column;
    }

    .gallery-item {
        opacity: 1;
        transform: none;
    }

    .dashboard-page .features-container {
        padding: 0 1.5rem;
    }

    .dashboard-page {
        overflow-x: hidden;
    }

    .dashboard-page .dashboard-actions-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-bottom: 1.75rem !important;
    }

    .dashboard-page .dashboard-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-page .dashboard-actions > a,
    .dashboard-page .dashboard-actions > button {
        width: 100%;
        justify-content: center;
    }

    .dashboard-page .dashboard-profile-card {
        padding: 1.25rem !important;
    }

    .dashboard-page .dashboard-logout {
        position: static !important;
        margin-top: 1rem;
        display: flex;
    }

    .dashboard-page .dashboard-logout a {
        width: 100%;
        justify-content: center;
    }

    .dashboard-page .features-grid {
        grid-template-columns: 1fr !important;
    }

    .dashboard-page .dashboard-applications-grid {
        grid-template-columns: 1fr !important;
    }

    .dashboard-page .dashboard-applications-grid > div {
        padding: 1.1rem !important;
    }

    .dashboard-page .dashboard-applications-grid > div > div > div {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-page .dashboard-applications-grid > div > div > div > span {
        align-self: flex-start;
    }

    .dashboard-page .feature-card {
        min-width: 0;
    }

    .dashboard-page .feature-card code {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .forum-page .forum-category-card {
        padding: 1.25rem !important;
    }

    .forum-page .forum-category-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        align-items: start !important;
    }

    .forum-page .forum-category-stats {
        min-width: 0 !important;
        width: 100%;
        text-align: left !important;
    }

    .forum-page .forum-category-stats-inner {
        justify-content: flex-start !important;
        gap: 1rem !important;
    }

    .forum-category-page .forum-category-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .forum-category-page .forum-category-actions > div {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .forum-category-page .forum-category-actions > div > a,
    .forum-category-page .forum-category-actions > div > span {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .forum-category-page .forum-topic-row {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .forum-category-page .forum-topic-stat,
    .forum-category-page .forum-topic-last {
        min-width: 0 !important;
        width: 100%;
        text-align: left !important;
    }

    .product-page .about-container {
        padding: 0 1.5rem;
    }

    .product-page .about-container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .product-page h1 {
        font-size: 2rem !important;
    }

    .checkout-page .features-container {
        padding: 0 1.5rem;
    }

    .checkout-page .checkout-price-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-page .checkout-price-label,
    .checkout-page .checkout-price-value {
        white-space: normal;
        text-align: left;
    }

    .checkout-page .checkout-total-value {
        min-width: 0;
    }

    .checkout-page .checkout-total-label,
    .checkout-page .checkout-total-value {
        white-space: normal;
    }

    .checkout-page .bank-details-box {
        padding: 1.25rem;
    }

    .checkout-page .bank-detail-value,
    .checkout-page .bank-iban-value {
        overflow-wrap: anywhere;
        word-break: break-word;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .checkout-page .bank-iban-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-page .bank-iban-value {
        letter-spacing: 0.02em;
    }

    .checkout-page .bank-iban-wrapper .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .dashboard-ticket-page .features-container,
    .dashboard-application-page .features-container,
    .dashboard-order-page .features-container {
        padding: 0 1.5rem;
    }

    .dashboard-order-page .checkout-grid {
        grid-template-columns: 1fr !important;
    }

    .dashboard-order-page .checkout-price-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-order-page .checkout-price-label,
    .dashboard-order-page .checkout-price-value {
        white-space: normal;
        text-align: left;
    }

    .dashboard-order-page .checkout-total-label,
    .dashboard-order-page .checkout-total-value {
        white-space: normal;
        min-width: 0;
    }

    .dashboard-ticket-page a,
    .dashboard-application-page a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .dashboard-ticket-page .feature-card,
    .dashboard-application-page .feature-card {
        min-width: 0;
    }

    .forum-topic-page .features-container,
    .forum-new-topic-page .features-container {
        padding: 0 1.5rem;
    }

    .forum-topic-page .feature-card {
        padding: 1.25rem !important;
    }

    .forum-topic-page .feature-card > div[style*="grid-template-columns: 200px 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .forum-topic-page .feature-card > div[style*="border-right"] {
        border-right: none !important;
        padding-right: 0 !important;
    }

    .forum-topic-page .feature-card > div[style*="justify-content: space-between"] {
        flex-direction: column;
        align-items: stretch;
    }

    .forum-topic-page .feature-card > div[style*="justify-content: space-between"] a,
    .forum-topic-page .feature-card > div[style*="justify-content: space-between"] button {
        width: 100%;
        justify-content: center;
    }

    .forum-new-topic-page .feature-card {
        padding: 1.25rem !important;
    }

    .forum-new-topic-page form > div[style*="display: flex"] {
        flex-direction: column;
    }

    .forum-new-topic-page form > div[style*="display: flex"] > a,
    .forum-new-topic-page form > div[style*="display: flex"] > button {
        width: 100%;
        justify-content: center;
    }

    .bank-transfer-page .features-container {
        padding: 0 1.5rem;
    }

    .bank-transfer-page .checkout-price-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .bank-transfer-page .checkout-price-label,
    .bank-transfer-page .checkout-price-value {
        white-space: normal;
        text-align: left;
    }

    .manual-payment-page .features-container {
        padding: 0 1.5rem;
    }

    .manual-payment-page .bank-transfer-content-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .manual-payment-page .checkout-total-label,
    .manual-payment-page .checkout-total-value {
        white-space: normal;
        min-width: 0;
    }

    .manual-payment-page .bank-detail-value,
    .manual-payment-page .bank-iban-value {
        overflow-wrap: anywhere;
        word-break: break-word;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .manual-payment-page .bank-iban-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .manual-payment-page .bank-iban-wrapper .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .checkout-page,
    .dashboard-order-page,
    .manual-payment-page {
        overflow-x: hidden;
    }

    .manual-payment-page div[style*="display: flex"][style*="gap"] {
        flex-direction: column;
    }

    .manual-payment-page div[style*="display: flex"][style*="gap"] > a,
    .manual-payment-page div[style*="display: flex"][style*="gap"] > button {
        width: 100%;
        justify-content: center;
    }

    .payment-result-page .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .payment-result-page div[style*="display: flex"][style*="gap"] {
        flex-direction: column;
        align-items: stretch;
    }

    .payment-result-page div[style*="display: flex"][style*="gap"] > a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .forum-edit-post-page .features-container {
        padding: 0 1.5rem;
    }

    .forum-edit-post-page .feature-card {
        padding: 1.25rem !important;
    }

    .forum-edit-post-page form > div[style*="display: flex"] {
        flex-direction: column;
    }

    .forum-edit-post-page form > div[style*="display: flex"] > a,
    .forum-edit-post-page form > div[style*="display: flex"] > button {
        width: 100%;
        justify-content: center;
    }
}

.about-hero {
    min-height: 60vh;
}

.about-hero .hero-content {
    text-align: center;
}

.about-section {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.feature-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.feature-card .feature-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.rules-hero {
    min-height: 60vh;
}

.rules-hero .hero-content {
    text-align: center;
}

.rule-icon {
    font-size: 1.8rem;
    display: inline-block;
}

.timeline-accordion-header .timeline-date {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card[style*="rgba(255, 0, 0"] {
    background: rgba(255, 0, 0, 0.05) !important;
    border-color: rgba(255, 0, 0, 0.3) !important;
}

.feature-card[style*="rgba(255, 0, 0"]:hover {
    border-color: rgba(255, 0, 0, 0.5) !important;
    background: rgba(255, 0, 0, 0.08) !important;
}

.categories-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.category-nav-btn {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.category-nav-btn:hover {
    background: var(--bg-tertiary);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.category-nav-btn:active {
    transform: scale(0.95);
}

.category-nav-btn svg {
    width: 20px;
    height: 20px;
}

.categories-scroll-wrapper {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.categories-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.categories-scroll {
    display: flex !important;
    flex-direction: row !important;
    gap: 1.5rem !important;
    min-width: max-content !important;
    padding-bottom: 0.5rem !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
}

.category-card {
    flex: 0 0 auto !important;
    min-width: 180px !important;
    max-width: 220px !important;
    width: 180px !important;
    padding: 2rem 1.5rem !important;
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    text-align: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.category-card:hover {
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-4px) !important;
    background: var(--bg-tertiary) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

.category-card.category-active {
    border-color: rgba(255, 255, 255, 0.8) !important;
    border-width: 2px !important;
    background: var(--bg-tertiary) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1) !important;
}

.category-icon {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    display: block !important;
    line-height: 1 !important;
    color: var(--text-primary) !important;
}

.category-title {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.product-card {
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img,
.product-main-image:hover img {
    transform: scale(1.05);
}

.product-thumbnail {
    transition: all 0.3s ease;
}

.product-thumbnail:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.apply-hero {
    min-height: 60vh;
}

.apply-hero .hero-content {
    text-align: center;
}

.application-type-card {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.application-type-card:hover {
    transform: translateY(-6px);
}

.application-requirements {
    flex: 1;
    margin-bottom: 2rem;
}

.application-btn {
    margin-top: auto;
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.application-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.application-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.application-modal.active {
    opacity: 1;
    visibility: visible;
}

.application-modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3rem;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.application-modal.active .application-modal-content {
    transform: scale(1);
}

.application-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.application-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.application-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.application-alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.application-alert-error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6666;
}

.application-alert-success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #66ff66;
}

.application-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.application-form-group {
    margin-bottom: 1.5rem;
}

.application-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.application-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.application-form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.application-form-control::placeholder {
    color: var(--text-muted);
}

.application-form-group textarea.application-form-control {
    resize: vertical;
    min-height: 100px;
}

.application-form-group select.application-form-control {
    cursor: pointer;
}

.feature-card img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 1rem auto !important;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .application-modal-content {
        padding: 2rem 1.5rem;
        max-height: 95vh;
    }
    
    .application-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .application-modal-title {
        font-size: 1.5rem;
    }
}

.checkout-hero {
    min-height: 50vh;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

.checkout-alert {
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.checkout-order-content {
    margin-top: 1.5rem;
}

.checkout-product-info {
    margin-bottom: 1.5rem;
}

.checkout-label {
    color: var(--text-muted);
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.checkout-product-name {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-price-breakdown {
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.checkout-price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.checkout-price-label {
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

.checkout-price-value {
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
}

.checkout-price-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 2px solid var(--border);
    margin-top: 1rem;
}

.checkout-total-label {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
}

.checkout-total-value {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
    text-align: right;
    flex-shrink: 0;
    min-width: 150px;
}

.checkout-payment-content {
    margin-top: 1.5rem;
}

.checkout-submit-btn {
    width: 100%;
    margin-top: 2rem;
    padding: 1rem;
    font-size: 1.1rem;
    justify-content: center;
}

.payment-method-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.payment-method-option:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.payment-method-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--text-primary);
}

.payment-method-option input[type="radio"]:checked + .payment-method-content {
    color: var(--text-primary);
}

.payment-method-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.payment-method-icon {
    font-size: 2rem;
    line-height: 1;
}

.payment-method-info {
    flex: 1;
}

.payment-method-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.payment-method-badge {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-top: 0.25rem;
}

.bank-details-box {
    margin-top: 1.5rem;
    padding: 2rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    border-radius: 8px;
}

.bank-details-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.bank-details-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.bank-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bank-detail-item label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.bank-detail-value {
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.bank-detail-item-full {
    grid-column: 1 / -1;
}

.bank-iban-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bank-iban-value {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border-radius: 6px;
    border: 1px solid var(--border);
    flex: 1;
    letter-spacing: 0.1em;
}

.bank-info-box {
    padding: 1rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

.bank-info-box p {
    color: var(--text-primary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.bank-transfer-hero {
    min-height: 50vh;
}

.bank-transfer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.bank-transfer-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bank-details-box-full {
    margin-top: 1.5rem;
    padding: 2rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    border-radius: 8px;
}

.bank-info-warning {
    margin-top: 1.5rem;
    background: rgba(255, 193, 7, 0.1) !important;
    border: 1px solid rgba(255, 193, 7, 0.3) !important;
}

.bank-transfer-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.manual-payment-hero {
    min-height: 50vh;
}

.manual-payment-discord {
    text-align: center;
}

.manual-payment-discord-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

.discord-icon-wrapper {
    margin-bottom: 1.5rem;
}

.discord-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.discord-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.discord-join-btn {
    background: #5865F2 !important;
    color: #fff !important;
    border: none !important;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.discord-join-btn:hover {
    background: #4752C4 !important;
    transform: translateY(-2px);
    color: #fff !important;
}

.discord-join-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.manual-payment-order-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: left;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.receipt-upload-section {
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.receipt-upload-info {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.receipt-upload-requirements {
    margin-top: 1rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.receipt-upload-requirements li {
    margin-bottom: 0.5rem;
}

.receipt-file-input-wrapper {
    position: relative;
    margin-top: 1rem;
}

.receipt-file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.receipt-file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2.5rem 1.5rem;
    background: var(--bg-tertiary);
    border: 2px dashed var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-weight: 600;
    width: 100%;
    text-align: center;
}

.receipt-file-label:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.receipt-file-label svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.receipt-upload-form {
    margin-top: 1.5rem;
}

.receipt-uploaded {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
}

.receipt-uploaded-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.receipt-uploaded-text {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.receipt-thank-you {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.thank-you-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.thank-you-message {
    color: var(--text-primary);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 500;
}

.thank-you-info {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.manual-payment-order-info h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.order-info-box {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.bank-transfer-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bank-transfer-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .checkout-card {
        padding: 2rem;
    }
    
    .bank-details-box {
        padding: 1.5rem;
    }
    
    .bank-details-box-full {
        padding: 1.5rem;
    }
    
    .bank-details-grid {
        gap: 1rem;
    }
    
    .bank-transfer-actions {
        flex-direction: column;
    }
    
    .bank-transfer-actions .hero-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 968px) {
    .categories-container {
        margin: 2rem -1.5rem 0 -1.5rem;
        padding: 0 1.5rem;
    }
    
    .category-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .category-nav-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 768px) {
    .categories-container {
        margin: 2rem -1rem 0 -1rem;
        padding: 0 1rem;
        gap: 0.5rem;
    }
    
    .category-nav-btn {
        width: 36px;
        height: 36px;
    }
    
    .category-nav-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .category-card {
        min-width: 150px !important;
        max-width: 180px !important;
        width: 150px !important;
        padding: 1.5rem 1rem !important;
    }
    
    .category-icon {
        font-size: 2.5rem !important;
    }
    
    .category-title {
        font-size: 1rem !important;
    }
}

.error-hero {
    min-height: auto;
    padding: 8rem 0 4rem;
}

.error-hero .hero-content {
    text-align: center;
}

.error-code {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-hero .error-code[data-code="403"] {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-hero .hero-title[data-error="403"] {
    color: #f59e0b;
}

.error-hero .error-code[data-code="500"] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-hero .hero-title[data-error="500"] {
    color: #ef4444;
}

.error-info-box {
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.error-info-box p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.error-info-box strong {
    color: var(--text-primary);
}

.error-info-box-red {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.error-info-box-orange {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.error-quick-links {
    max-width: 600px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.quick-links-title {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.quick-links-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-links-grid a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.quick-links-grid a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 6rem;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: calc(100vw - 12rem);
    max-height: calc(100vh - 12rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.gallery-modal-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.gallery-modal-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.gallery-modal-close,
.gallery-modal-prev,
.gallery-modal-next,
.gallery-modal-download {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.gallery-modal-close:hover,
.gallery-modal-prev:hover,
.gallery-modal-next:hover,
.gallery-modal-download:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.gallery-modal-close {
    top: 2rem;
    right: 2rem;
}

.gallery-modal-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1) !important;
}

.gallery-modal-prev::after,
.gallery-modal-prev::before {
    display: none !important;
    content: none !important;
}

.gallery-modal-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-modal-download {
    bottom: 2rem;
    right: 2rem;
}

.gallery-modal-close svg,
.gallery-modal-prev svg,
.gallery-modal-next svg,
.gallery-modal-download svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.gallery-bottom {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.gallery-bottom::-webkit-scrollbar {
    height: 8px;
}

.gallery-bottom::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-bottom::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.gallery-bottom::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.gallery-bottom .gallery-item {
    flex: 0 0 auto;
    min-width: 300px;
    max-width: 300px;
}
