/* Enhanced styles for AviatorInfo website */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {

--primary-color: #3b2f2f;
--secondary-color: #261e1e;
--accent-color: #ffb347; /* янтарный */
--text-color: #fefefe;
--secondary-text: #c0b0a0;
--highlight-color: #ffc870;
--card-bg: rgba(59, 47, 47, 0.75);
--gradient-start: #3b2f2f;
--gradient-end: #261e1e;    --header-height: 70px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
    --transition-normal: all 0.3s ease;
    --border-radius-sm: 6px;
    --border-radius-md: 10px;
    --border-radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 10px base for easy rem calculation */
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-image: url('/fon/3.png');
    background-repeat: repeat;
    background-attachment: fixed;
    background-color: var(--primary-color); /* Возвращаем основной цвет фона */
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjMWExYTJlIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwWk01IDVMMCA1WiIgc3Ryb2tlPSIjMTYyMTNlIiBzdHJva2Utd2lkdGg9IjAuNSI+PC9wYXRoPgo8L3N2Zz4=');
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

h1 {
    font-size: 4.2rem;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, var(--accent-color), var(--highlight-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
	text-align: center;
}

h2 {
    font-size: 3.2rem;
    margin-top: 5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

h3 {
    font-size: 2.4rem;
    margin-top: 3.5rem;
}

h4 {
    font-size: 2rem;
    margin-top: 2.5rem;
}

p {
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: var(--secondary-text);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--highlight-color);
}

ul, ol {
    margin-bottom: 2rem;
    margin-left: 2rem;
}

li {
    margin-bottom: 1rem;
    color: var(--secondary-text);
}

/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 100;
    transition: var(--transition-normal);
}

.header.scrolled {
    height: 60px;
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition-normal);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
}

.logo:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-links li {
    margin: 0 1.5rem;
    margin-bottom: 0;
}

.nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-switcher a {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
    font-size: 1.4rem;
    color: var(--secondary-text);
}

.lang-switcher a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.lang-switcher a.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 500;
}

/* Main content */
.main {
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 5rem;
}

.main-content {
    position: relative;
}

.content-area {
    background: rgba(26, 26, 46, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Table of contents */
.table-of-contents {
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    margin: 3rem 0 4rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.table-of-contents h2 {
    margin-top: 0;
    font-size: 2.4rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-of-contents h2::after {
    display: none;
}

.table-of-contents ul {
    list-style-type: none;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.table-of-contents li {
    margin-bottom: 1rem;
    transition: var(--transition-normal);
    position: relative;
    padding-left: 2rem;
}

.table-of-contents li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    transition: var(--transition-normal);
}

.table-of-contents li:hover::before {
    left: 0.5rem;
}

.table-of-contents a {
    color: var(--secondary-text);
    display: block;
    padding: 0.8rem 0;
    transition: var(--transition-normal);
}

.table-of-contents a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.table-of-contents a.active {
    color: var(--accent-color);
    font-weight: 500;
}

/* Sections */
.keyword-section {
    padding: 5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.keyword-section:last-child {
    border-bottom: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.keyword-section:nth-child(1) { animation-delay: 0.1s; }
.keyword-section:nth-child(2) { animation-delay: 0.2s; }
.keyword-section:nth-child(3) { animation-delay: 0.3s; }
.keyword-section:nth-child(4) { animation-delay: 0.4s; }
.keyword-section:nth-child(5) { animation-delay: 0.5s; }
.keyword-section:nth-child(6) { animation-delay: 0.6s; }
.keyword-section:nth-child(7) { animation-delay: 0.7s; }

.sub-section {
    margin: 4rem 0;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-md);
    border-left: 3px solid var(--accent-color);
}

/* Buttons */
.button {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background: var(--accent-color);
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--highlight-color));
    z-index: -1;
    transition: var(--transition-normal);
    opacity: 0;
}

.button:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(252, 126, 2, 0.3);
    text-decoration: none;
}

.button:hover::before {
    opacity: 1;
}

.button:active {
    transform: translateY(0);
    box-shadow: 0 3px 6px rgba(252, 126, 2, 0.2);
}

.section-cta {
    margin: 4rem 0;
    text-align: center;
}

/* Rating bars */
.rating {
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rating h3 {
    margin-top: 0;
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-bar {
    margin-bottom: 2.5rem;
}

.rating-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: 500;
}

.rating-track {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--highlight-color));
    border-radius: 4px;
    animation: fillAnimation 1.5s ease-out forwards;
    transform-origin: left;
    transform: scaleX(0);
}

@keyframes fillAnimation {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Game cards */
.game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.game-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.game-card-image {
    height: 180px;
    background: linear-gradient(45deg, var(--accent-color), var(--highlight-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.game-card-image::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.05) 20px
    );
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    from { transform: translate(-5%, -5%) rotate(0deg); }
    to { transform: translate(-5%, -5%) rotate(360deg); }
}

.game-card-content {
    padding: 2.5rem;
}

.game-card-title {
    margin-top: 0;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.game-card-description {
    margin-bottom: 2.5rem;
    color: var(--secondary-text);
    font-size: 1.5rem;
    line-height: 1.6;
}

.game-card-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(252, 126, 2, 0.2);
    color: var(--accent-color);
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-normal);
    text-transform: uppercase;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.game-card-button:hover {
    background: var(--accent-color);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(252, 126, 2, 0.2);
}

/* FAQ section */
.faq-mini {
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-mini h3 {
    margin-top: 0;
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h4 {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
    color: var(--text-color);
}

.faq-item h4::after {
    content: '+';
    font-size: 2.4rem;
    color: var(--accent-color);
    transition: var(--transition-normal);
}

.faq-item h4:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-item.active h4 {
    background: rgba(252, 126, 2, 0.1);
}

.faq-item.active h4::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-item p {
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0 1.5rem;
    transition: all 0.4s ease;
    opacity: 0;
}

.faq-item.active p {
    max-height: 1000px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    opacity: 1;
}

/* Statistics */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-box {
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.stat-box h4 {
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--text-color);
}

.stat-number {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.stat-box p {
    margin-bottom: 0;
    font-size: 1.4rem;
    color: var(--secondary-text);
}

/* Footer */
.footer {
    background: rgba(22, 22, 38, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5rem 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(252, 126, 2, 0), 
        rgba(252, 126, 2, 0.5) 50%, 
        rgba(252, 126, 2, 0)
    );
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 3rem;
    align-items: center;
}

.footer-info p {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--secondary-text);
}

.footer-info p:last-child {
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--secondary-text);
    font-size: 1.4rem;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-cta .button {
    font-size: 1.4rem;
    padding: 1rem 2rem;
}

/* Responsive styles */
@media (max-width: 1024px) {
    html {
        font-size: 60%;
    }
    
    .content-area {
        padding: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 58%;
    }
    
    .header {
        height: auto;
        padding: 1rem 0;
    }
    
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo {
        margin-bottom: 1.5rem;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .nav-links li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links a {
        padding: 1rem 0;
    }
    
    .lang-switcher {
        margin-top: 1rem;
        width: 100%;
        justify-content: space-between;
    }
    
    .lang-switcher a {
        margin: 0;
        text-align: center;
        flex: 1;
    }
    
    .main {
        padding-top: 12rem;
    }
    
    .content-area {
        padding: 2rem;
    }
    
    .table-of-contents ul {
        grid-template-columns: 1fr;
    }
    
    .game-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .sub-section {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 55%;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .content-area {
        padding: 1.5rem;
    }
    
    .rating, .faq-mini {
        padding: 2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
}

/* Dark mode specific overrides */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #16353e;
        --secondary-color: #12282f;
    }
    
    body {
        background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    }
}

/* Animation delays for staggered appearance */
.rating-bar:nth-child(1) .rating-fill { animation-delay: 0.2s; }
.rating-bar:nth-child(2) .rating-fill { animation-delay: 0.4s; }
.rating-bar:nth-child(3) .rating-fill { animation-delay: 0.6s; }
.rating-bar:nth-child(4) .rating-fill { animation-delay: 0.8s; }

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.3s; }
.game-card:nth-child(3) { animation-delay: 0.5s; }

/* Gradient text effects */
.accent-text {
    background: linear-gradient(90deg, var(--accent-color), var(--highlight-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Language selector on homepage */
.language-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.language-selector a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.language-selector a:before {
    content: attr(data-emoji);
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.language-selector a:hover {
    transform: translateY(-7px);
    background: rgba(252, 126, 2, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(252, 126, 2, 0.2);
}
.lang-switcher a {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}
.promo-table {
    margin: 20px 0;
    width: 100%;
}

.promo-table table {
    width: 100%;
    border-collapse: collapse;
}

.image-cell {
    width: 300px;
    vertical-align: middle;
}

.button-cell {
    vertical-align: middle;
    text-align: center;
    padding-left: 30px;
}

.promo-button {
    display: inline-block;
    background-color: #ff6600;
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.promo-button:hover {
    background-color: #ff3300;
}
.main-heading, 
.table-of-contents h2 {
    text-align: center;
}
body {
    background-image: url('/fon/6.png');
    background-repeat: repeat;
    background-attachment: fixed;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0.85; /* Регулируйте прозрачность по необходимости */
    z-index: -1;
    pointer-events: none;
}
@keyframes slowDrift {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

body {
   
    animation: slowDrift 60s linear infinite;
}
/* Side banners */
.main-content {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 30px;
}

.side-banners {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative; /* Изменено с sticky на relative */
    height: fit-content;
}

.side-banners.sticky {
    position: fixed;
    top: calc(var(--header-height) + 30px);
    width: 250px; /* Фиксированная ширина для sticky режима */
}

.side-banners.bottom {
    position: absolute;
    bottom: 0;
    top: auto;
}

.side-banner {
    display: block;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
}

.side-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1;
}

.side-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-normal);
}

.side-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.side-banner:hover::before {
    opacity: 0.3;
}

.side-banner:hover img {
    transform: scale(1.05);
}

/* Adjustments for responsive layout */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr 200px;
    }
    
    .side-banners.sticky {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .side-banners {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 20px;
        margin-top: 30px;
    }
    
    .side-banners.sticky,
    .side-banners.bottom {
        position: static;
        width: 100%;
    }
    
    .side-banner {
        min-width: 200px;
    }
