@media (pointer: coarse) {
    .rfx-cursor-dot,
    .rfx-cursor-ring {
        display: none !important;
    }
}

.rfx-cursor-dot, .rfx-cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.rfx-cursor-dot {
    width: 6px; height: 6px;
    background-color: var(--rfx-primary);
}
.rfx-cursor-ring {
    width: 40px; height: 40px;
    border: 1px solid rgba(255, 59, 0, 0.4);
    box-sizing: border-box;
}


.rfx-logo-svg path {
    stroke: var(--rfx-primary);
    stroke-width: 2;
    fill: transparent;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 0.6s ease-in-out, fill 0.6s ease-in-out;
}
.rfx-logo:hover .rfx-logo-svg path {
    stroke-dashoffset: 0;
    fill: var(--rfx-primary);
}

.rfx-logo-text {
    fill: var(--rfx-secondary);
    transition: fill 0.3s;
}
.rfx-header.scrolled .rfx-logo-text {
    fill: var(--rfx-secondary);
}
.rfx-header.scrolled .rfx-logo-svg path {
    stroke: var(--rfx-secondary);
}
.rfx-header.scrolled .rfx-logo:hover .rfx-logo-svg path {
    fill: var(--rfx-secondary);
}
.rfx-header.scrolled .rfx-nav-link {
    color: var(--rfx-secondary) !important;
}
.rfx-header.scrolled .rfx-burger span {
    background: var(--rfx-secondary) !important;
}


.rfx-spotlight-card { display: flex; }
.rfx-grid-sidebar, .rfx-grid-sports, .rfx-grid-2col, .rfx-grid-3col {
    
}


.rfx-grid-sidebar > div,
.rfx-grid-sports > div,
.rfx-grid-2col > div,
.rfx-grid-3col > div {
    min-width: 0;
}

.rfx-grid-sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}
.rfx-grid-sports {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}
.rfx-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.rfx-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.rfx-catalog-layout {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.rfx-catalog-aside {
    width: 100%;
    max-width: 300px;
}
.rfx-catalog-content {
    flex: 1;
    min-width: 300px;
}


.rfx-faq-item h4 {
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    transition: 0.3s;
}
.rfx-faq-item p {
    margin: 0;
    padding: 0 20px 20px 20px;
    color: #555;
    line-height: 1.6;
    display: none;
}
.rfx-faq-item.active h4 {
    color: var(--rfx-primary);
}
.rfx-faq-item.active p {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}


@media (max-width: 991px) {
    .rfx-grid-sidebar, .rfx-grid-sports, .rfx-grid-2col, .rfx-grid-3col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .rfx-catalog-aside {
        max-width: 100%;
    }
    .rfx-spotlight-card {
        display: block !important;
    }
    .rfx-catalog-layout {
        flex-direction: column;
    }
    .rfx-hero-content {
        grid-template-columns: 1fr;
    }
    .rfx-header-actions .rfx-btn {
        display: none;
    }
    .rfx-burger {
        display: flex;
    }
}

@media (max-width: 480px) { 
    * {
        overflow-wrap: break-word !important;
    }
    img, video, iframe {
        max-width: 100% !important;
        height: auto;
    }
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }
    h3 { font-size: 1.4rem !important; }
    .rfx-section { padding: 40px 0 !important; }
    .rfx-container { padding: 0 15px; }
    .rfx-glass-card { padding: 20px; }
    .rfx-btn { padding: 12px 20px; font-size: 1rem; width: 100%; box-sizing: border-box; text-align: center; justify-content: center; }
    .rfx-hero { min-height: 80vh; }
    p, span, a, input, select, textarea { font-size: 0.95rem; }
    .rfx-hero-content { margin-top: 40px; }
    
    
    aside > div { padding: 20px !important; }
    div[style*="padding: 60px"], div[style*="padding:60px"],
    div[style*="padding: 40px"], div[style*="padding:40px"],
    div[style*="padding: 30px"], div[style*="padding:30px"],
    div[style*="padding: 25px"], div[style*="padding:25px"] { 
        padding: 20px !important; 
    }
    
    .rfx-catalog-content { min-width: 0 !important; }
    table { width: 100% !important; min-width: 0 !important; display: block; overflow-x: auto; white-space: nowrap; }
    .rfx-cat-card { height: 260px; }
}


.rfx-premium-card {
    border: none !important;
    border-radius: 16px !important;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}
.rfx-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 59, 0, 0.1);
}


.rfx-masonry {
    column-count: 2;
    column-gap: 20px;
}
.rfx-masonry > div {
    break-inside: avoid;
    margin-bottom: 20px;
}
.rfx-masonry img {
    border-radius: 8px;
    width: 100%;
    display: block;
}
@media (max-width: 768px) {
    .rfx-masonry { column-count: 1; }
}
