@import url('new_sections.css');

/* ==========================================
   RESET & BASE STYLES
   ========================================== */

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

:root {
    /* Color Palette */
    --electric-blue: #6AF6FF;
    --cornflower-blue: #6992FD;
    --fuchsia: #FD19FF;
    --electric-ultramarine: #4D00FF;
    --midnight-shift: #0D0D36;
    --bubble-white: #EAFBFF;
    
    /* Gradients */
    --gradient-main: linear-gradient(135deg, #1a1a4a 0%, #0D0D36 50%, #2d1b4e 100%);
    --gradient-blue-purple: linear-gradient(90deg, #6AF6FF 0%, #6992FD 50%, #FD19FF 100%);
    --gradient-purple-ultra: linear-gradient(90deg, #FD19FF 0%, #4D00FF 100%);
    --gradient-card: linear-gradient(135deg, rgba(109, 146, 253, 0.1) 0%, rgba(77, 0, 255, 0.1) 100%);
    
    /* Spacing */
    --sidebar-width: 280px;
    --sidebar-collapsed: 0px;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Shadows */
    --shadow-glow: 0 0 30px rgba(106, 246, 255, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body {
    font-family: var(--font-main);
    background: var(--gradient-main);
    color: var(--bubble-white);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* ==========================================
   SIDEBAR NAVIGATION
   ========================================== */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: rgba(13, 13, 54, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(106, 246, 255, 0.2);
    padding: 30px 20px;
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
}



/* Auth Buttons */
.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-login,
.btn-register {
    padding: 14px 24px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login {
    background: transparent;
    border: 2px solid rgba(106, 246, 255, 0.4);
    color: var(--bubble-white);
}

.btn-login:hover {
    background: rgba(106, 246, 255, 0.1);
    border-color: var(--electric-blue);
}

.btn-register {
    background: linear-gradient(135deg, #6AF6FF 0%, #6992FD 100%);
    color: #0D0D36;
    box-shadow: 0 4px 20px rgba(106, 246, 255, 0.4);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(106, 246, 255, 0.6);
}

/* Sidebar Navigation Items */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 16px;
    color: rgba(234, 251, 255, 0.7);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.nav-item i {
    font-size: 18px;
    width: 20px;
}

.nav-item:hover {
    background: rgba(106, 246, 255, 0.1);
    color: var(--electric-blue);
}

.nav-item.active {
    background: rgba(106, 246, 255, 0.15);
    color: var(--electric-blue);
    border-left: 3px solid var(--electric-blue);
}

/* ==========================================
   MAIN CONTENT
   ========================================== */

.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    padding: 40px 60px;
    transition: margin-left 0.3s ease;
    width: calc(100% - var(--sidebar-width));
    max-width: 100%;
    box-sizing: border-box;
}

.main-content.expanded {
    margin-left: 0;
}

@media (max-width: 992px) {
    .main-content {
        margin-left: 0;
        width: 100%;
    }
}

/* ==========================================
   LOGO STYLES
   ========================================== */

.logo-text {
    font-family: var(--font-main);
    font-size: 48px;
    font-weight: 800;
    fill: var(--electric-blue);
}

.logo-letter-a {
    fill: var(--electric-blue);
}

.logo-letter-t {
    fill: var(--cornflower-blue);
}

.logo-letter-m {
    fill: var(--electric-blue);
}

/* Atom Symbol Animation */
.atom-symbol {
    animation: rotate 20s linear infinite;
    filter: drop-shadow(0 0 15px rgba(253, 25, 255, 0.6)) drop-shadow(0 0 8px rgba(106, 246, 255, 0.4));
}

.atom-core {
    fill: var(--fuchsia);
    filter: drop-shadow(0 0 10px var(--fuchsia));
}

.atom-orbit {
    fill: none;
    stroke: #FF69F0;
    stroke-width: 2;
    opacity: 0.8;
}

.orbit-2 {
    stroke: #FF69F0;
}

.orbit-3 {
    stroke: #FF69F0;
}

.atom-electron {
    fill: var(--electric-blue);
    filter: drop-shadow(0 0 6px var(--electric-blue));
}

.electron-2 {
    fill: var(--fuchsia);
    filter: drop-shadow(0 0 6px var(--fuchsia));
}

.electron-3 {
    fill: var(--fuchsia);
    filter: drop-shadow(0 0 6px var(--fuchsia));
}

@keyframes rotate {
    from { transform: translate(100px, 30px) rotate(0deg); }
    to { transform: translate(100px, 30px) rotate(360deg); }
}

/* ==========================================
   WELCOME BANNER
   ========================================== */

.welcome-banner {
    background: rgba(77, 0, 255, 0.15);
    border: 1px solid rgba(106, 246, 255, 0.2);
    border-radius: 16px;
    padding: 40px 50px;
    margin-bottom: 50px;
    margin-top: 0;
    backdrop-filter: blur(10px);
}

.banner-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.banner-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(234, 251, 255, 0.8);
}

/* ==========================================
   SEARCH BAR
   ========================================== */

.search-container {
    margin-bottom: 30px;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.search-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(13, 13, 54, 0.8);
    border: 1px solid rgba(106, 246, 255, 0.3);
    border-radius: 16px;
    padding: 18px 30px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.top-auth-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.top-btn-login,
.top-btn-register {
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 250px;
}

.top-btn-login {
    background: transparent;
    border: 2px solid rgba(106, 246, 255, 0.4);
    color: var(--bubble-white);
}

.top-btn-login:hover {
    background: rgba(106, 246, 255, 0.1);
    border-color: var(--electric-blue);
}

.top-btn-register {
    background: linear-gradient(135deg, #6AF6FF 0%, #6992FD 100%);
    color: #0D0D36;
    box-shadow: 0 4px 20px rgba(106, 246, 255, 0.4);
}

.top-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(106, 246, 255, 0.6);
}

.search-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    max-width: 250px;
}

.search-logo-svg {
    height: 45px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 2px 8px rgba(106, 246, 255, 0.3));
}

.search-divider {
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, transparent 0%, rgba(106, 246, 255, 0.3) 50%, transparent 100%);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--bubble-white);
    font-size: 18px;
    font-family: var(--font-main);
    font-weight: 400;
    outline: none;
    padding: 10px 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.search-input::placeholder {
    color: rgba(234, 251, 255, 0.5);
    font-weight: 400;
}

/* ==========================================
   PROMO SECTION
   ========================================== */

.promo-section {
    margin-bottom: 80px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.promo-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.promo-card {
    flex: 1;
    border-radius: 20px;
    padding: 35px;
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.promo-card:hover {
    transform: translateY(-5px);
}

@media (hover: none) {
    .promo-card:hover {
        transform: none;
    }
}

.promo-card.dark-card {
    background: linear-gradient(135deg, #1a1a4a 0%, #2d1b4e 100%);
    border: 1px solid rgba(106, 246, 255, 0.3);
}

.promo-card.light-card {
    background: linear-gradient(135deg, #EAFBFF 0%, #ffffff 100%);
    border: 1px solid rgba(77, 0, 255, 0.2);
}

.promo-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(253, 25, 255, 0.2);
    border: 1px solid var(--fuchsia);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--fuchsia);
    margin-bottom: 20px;
}

.promo-tag.light {
    background: rgba(253, 25, 255, 0.15);
    color: var(--fuchsia);
}

.promo-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: white;
}

.promo-title.dark-text {
    color: #0D0D36;
}

.promo-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 20px 0;
}

/* Lootbox Visual */
.lootbox-visual {
    width: 200px;
    height: 200px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.lootbox-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.ring-outer {
    width: 180px;
    height: 180px;
    border-color: rgba(106, 246, 255, 0.4);
    animation-delay: 0s;
}

.ring-middle {
    width: 140px;
    height: 140px;
    border-color: rgba(253, 25, 255, 0.5);
    animation-delay: 0.3s;
}

.ring-inner {
    width: 100px;
    height: 100px;
    border-color: rgba(105, 146, 253, 0.6);
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.8; }
}

.lootbox-slots {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
}

.slot {
    width: 35px;
    height: 50px;
    background: linear-gradient(135deg, #6AF6FF 0%, #4D00FF 100%);
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(106, 246, 255, 0.6);
    animation: slot-glow 1.5s ease-in-out infinite;
}

.slot:nth-child(2) {
    animation-delay: 0.3s;
}

.slot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes slot-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(106, 246, 255, 0.6); }
    50% { box-shadow: 0 0 30px rgba(253, 25, 255, 0.8); }
}

.lootbox-glow {
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    width: 150px;
    height: 40px;
    background: radial-gradient(ellipse, rgba(106, 246, 255, 0.4) 0%, transparent 70%);
    filter: blur(10px);
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.promo-bonus {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(90deg, #6AF6FF 0%, #6992FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-top: auto;
    text-shadow: 0 0 30px rgba(106, 246, 255, 0.5);
}

.promo-bonus.purple {
    background: linear-gradient(90deg, #FD19FF 0%, #4D00FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-description {
    font-size: 18px;
    color: #0D0D36;
    text-align: center;
    margin: 15px 0 20px 0;
    font-weight: 500;
}

.promo-button {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #6AF6FF 0%, #6992FD 100%);
    border: none;
    border-radius: 12px;
    color: #0D0D36;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(106, 246, 255, 0.4);
    margin-top: auto;
}

.promo-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(106, 246, 255, 0.6);
}

.promo-button.light-button {
    background: linear-gradient(135deg, #FD19FF 0%, #4D00FF 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(253, 25, 255, 0.4);
}

.promo-button.light-button:hover {
    box-shadow: 0 6px 30px rgba(253, 25, 255, 0.6);
}

/* ==========================================
   SECTION STYLES
   ========================================== */

.section {
    margin-bottom: 80px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.section-header {
    margin-bottom: 40px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(106, 246, 255, 0.15);
    border: 1px solid var(--electric-blue);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--electric-blue);
    margin-bottom: 15px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* ==========================================
   COLOR PALETTE SECTION
   ========================================== */

.color-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.color-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(106, 246, 255, 0.2);
}

.color-display {
    padding: 50px 40px;
    min-height: 250px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-blue-purple {
    background: linear-gradient(90deg, #6AF6FF 0%, #6992FD 50%, #FD19FF 100%);
}

.gradient-purple-ultra {
    background: linear-gradient(90deg, #FD19FF 0%, #4D00FF 100%);
}

.solid-blue {
    background: #6AF6FF;
}

.solid-cornflower {
    background: #6992FD;
}

.solid-midnight {
    background: #0D0D36;
}

.solid-white {
    background: #EAFBFF;
}

.color-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.color-info.top-left {
    position: absolute;
    top: 30px;
    left: 30px;
}

.color-info.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.color-info.bottom-right {
    position: absolute;
    bottom: 30px;
    right: 30px;
    text-align: right;
}

.color-info.dark-info {
    color: #0D0D36;
}

.color-info.dark-info .color-name,
.color-info.dark-info .color-code {
    color: #0D0D36;
}

.color-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
    text-transform: uppercase;
}

.color-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.color-code {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Courier New', monospace;
}

/* ==========================================
   LOGO CONCEPT SECTION
   ========================================== */

.concept-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.concept-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(234, 251, 255, 0.9);
}

.concept-text p {
    margin-bottom: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-15 {
    margin-top: 15px;
}

.concept-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 15px;
}

.concept-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.concept-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--electric-blue);
    font-weight: bold;
}

.concept-list strong {
    color: var(--electric-blue);
    font-weight: 600;
}

.concept-visual {
    background: linear-gradient(135deg, rgba(77, 0, 255, 0.2) 0%, rgba(13, 13, 54, 0.4) 100%);
    border: 1px solid rgba(106, 246, 255, 0.3);
    border-radius: 20px;
    padding: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.large-logo-display {
    position: relative;
}

.large-logo-svg {
    height: 200px;
    width: auto;
}

.large-logo-text {
    font-family: var(--font-main);
    font-size: 120px;
    font-weight: 800;
    fill: var(--electric-blue);
}

.atom-symbol-large {
    animation: rotate-large 20s linear infinite;
    filter: drop-shadow(0 0 20px rgba(253, 25, 255, 0.6)) drop-shadow(0 0 10px rgba(106, 246, 255, 0.4));
}

.atom-symbol-large .atom-core {
    fill: var(--fuchsia);
    filter: drop-shadow(0 0 12px var(--fuchsia));
}

.atom-symbol-large .atom-orbit {
    fill: none;
    stroke: #FF69F0;
    stroke-width: 3;
    opacity: 0.8;
}

.atom-symbol-large .atom-electron {
    filter: drop-shadow(0 0 8px currentColor);
}

@keyframes rotate-large {
    from { transform: translate(250px, 100px) rotate(0deg); }
    to { transform: translate(250px, 100px) rotate(360deg); }
}

/* ==========================================
   LOGO VERSIONS SECTION
   ========================================== */

.versions-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(234, 251, 255, 0.9);
    margin-bottom: 40px;
    max-width: 900px;
}

.versions-text p {
    margin-bottom: 15px;
}

.logo-versions-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.version-card,
.version-card-icon {
    border-radius: 16px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(106, 246, 255, 0.2);
    min-height: 200px;
}

.version-card {
    grid-column: span 1;
}

.version-card-icon {
    grid-column: span 1;
}

.dark-gradient {
    background: linear-gradient(135deg, #1a1a4a 0%, #2d1b4e 100%);
}

.blue-bg {
    background: linear-gradient(135deg, #6AF6FF 10%, #6992FD 90%);
}

.white-gradient {
    background: linear-gradient(135deg, #EAFBFF 0%, #ffffff 100%);
}

.version-logo {
    height: 80px;
    width: auto;
}

.icon-logo {
    height: 80px;
    width: auto;
}

.version-logo-text {
    font-family: var(--font-main);
    font-size: 40px;
    font-weight: 800;
}

/* Gradient Text & Elements */
.gradient-text {
    fill: var(--electric-blue);
}

.gradient-fill {
    fill: var(--fuchsia);
}

.gradient-stroke {
    stroke: #FF69F0;
    fill: none;
    stroke-width: 2;
    opacity: 0.8;
}

/* Add gradient definitions */
.version-logo,
.icon-logo {
    --gradient-logo: linear-gradient(90deg, #6AF6FF 0%, #FD19FF 100%);
}

/* Blue versions */
.blue-text {
    fill: var(--electric-blue);
}

.blue-fill {
    fill: var(--fuchsia);
}

.blue-stroke {
    stroke: #FF69F0;
    fill: none;
    stroke-width: 2;
    opacity: 0.8;
}

/* Dark versions */
.dark-text {
    fill: var(--electric-blue);
}

.dark-fill {
    fill: var(--fuchsia);
}

.dark-stroke {
    stroke: #FF69F0;
    fill: none;
    stroke-width: 2;
    opacity: 0.8;
}

.atom-symbol-icon {
    filter: drop-shadow(0 0 15px rgba(253, 25, 255, 0.6)) drop-shadow(0 0 8px rgba(106, 246, 255, 0.4));
}

.atom-symbol-icon .atom-core {
    fill: var(--fuchsia);
    filter: drop-shadow(0 0 8px var(--fuchsia));
}

.atom-symbol-icon .atom-orbit {
    stroke: #FF69F0;
    opacity: 0.8;
}

.atom-symbol-icon .atom-electron {
    filter: drop-shadow(0 0 6px currentColor);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1200px) {
    .promo-cards-grid {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .search-container {
        margin-bottom: 20px;
    }
    
    .search-wrapper {
        padding: 15px 20px;
        margin-bottom: 15px;
    }
    
    .search-logo-svg {
        height: 35px;
    }
    
    .search-input {
        font-size: 16px;
    }
    
    .top-auth-buttons {
        gap: 12px;
    }
    
    .top-btn-login,
    .top-btn-register {
        padding: 13px 28px;
        font-size: 14px;
    }
    
    .promo-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .promo-card {
        min-height: 500px;
        padding: 30px 25px;
    }
    
    .promo-title {
        font-size: 24px;
    }
    
    .promo-bonus {
        font-size: 52px;
    }
    
    .promo-description {
        font-size: 16px;
    }
    
    .lootbox-visual {
        width: 180px;
        height: 180px;
    }
    
    .section {
        margin-bottom: 60px;
    }
    
    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 15px;
        overflow-x: hidden;
    }
    
    * {
        max-width: 100%;
    }
    
    .search-wrapper {
        padding: 12px 15px;
        gap: 15px;
        margin-bottom: 12px;
    }
    
    .search-logo-svg {
        height: 30px;
    }
    
    .search-divider {
        height: 25px;
    }
    
    .search-input {
        font-size: 14px;
        padding: 8px 0;
    }
    
    .top-auth-buttons {
        gap: 10px;
    }
    
    .top-btn-login,
    .top-btn-register {
        padding: 12px 24px;
        font-size: 13px;
        border-radius: 10px;
    }
    
    .promo-card {
        min-height: 450px;
        padding: 25px 20px;
    }
    
    .promo-tag {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .promo-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .promo-image {
        margin: 15px 0;
    }
    
    .lootbox-visual {
        width: 150px;
        height: 150px;
    }
    
    .ring-outer {
        width: 140px;
        height: 140px;
    }
    
    .ring-middle {
        width: 110px;
        height: 110px;
    }
    
    .ring-inner {
        width: 80px;
        height: 80px;
    }
    
    .slot {
        width: 28px;
        height: 42px;
    }
    
    .promo-bonus {
        font-size: 48px;
        margin-top: 15px;
    }
    
    .promo-description {
        font-size: 15px;
        margin: 12px 0 15px 0;
    }
    
    .promo-button {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .section-tag {
        font-size: 10px;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }
    
    .main-content {
        padding: 12px;
        overflow-x: hidden;
    }
    
    .search-wrapper {
        flex-direction: row;
        padding: 10px 12px;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .search-logo-svg {
        height: 28px;
    }
    
    .search-divider {
        height: 22px;
    }
    
    .search-input {
        font-size: 13px;
    }
    
    .top-auth-buttons {
        gap: 8px;
        flex-direction: column;
    }
    
    .top-btn-login,
    .top-btn-register {
        padding: 11px 20px;
        font-size: 13px;
        max-width: 100%;
    }
    
    .promo-card {
        min-height: 420px;
        padding: 20px 15px;
        border-radius: 14px;
    }
    
    .promo-tag {
        font-size: 9px;
        padding: 5px 10px;
        margin-bottom: 15px;
    }
    
    .promo-title {
        font-size: 20px;
        line-height: 1.1;
    }
    
    .lootbox-visual {
        width: 130px;
        height: 130px;
    }
    
    .ring-outer {
        width: 120px;
        height: 120px;
    }
    
    .ring-middle {
        width: 95px;
        height: 95px;
    }
    
    .ring-inner {
        width: 70px;
        height: 70px;
    }
    
    .lootbox-slots {
        gap: 8px;
    }
    
    .slot {
        width: 24px;
        height: 36px;
    }
    
    .promo-bonus {
        font-size: 42px;
    }
    
    .promo-description {
        font-size: 14px;
    }
    
    .promo-button {
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .section {
        margin-bottom: 50px;
    }
    
    .section-title {
        font-size: 22px;
    }
}