main > .container {
    padding: 70px 15px 20px;
}

* {
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #121922;
    color: #ffffff; 
}

body,
body *:not(input):not(textarea):not(select):not(option):not(button) {
    color: #ffffff !important;
}

input, textarea, select, option, button {
    color: #333333 !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.timeline-container {
    margin-top: 20px;
    margin-bottom: 10px;
    width: 100%;
    overflow-x: auto;
    padding: 15px 0;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 30px 0;
    width: 100%;
}

.timeline-item {
    position: relative;
    text-align: center;
    flex: 1;
    min-width: 30px;
}

.flag-container {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 2;
}

.flag-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    border-radius: 2px;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s;
    border-radius: 2px;
}

.timeline-line.major {
    width: 3px;
    height: 25px;
    background: #666;
    cursor: pointer;
}

.timeline-line.minor {
    width: 1px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 0;
}

.timeline-year {
    margin-top: 30px;
    font-size: 11px;
    color: #ffffff !important;
    font-weight: bold;
}

.country-header {
    text-align: center;
    margin: 15px 0 25px 0;
    padding-top: 5px;
}

.country-info {
    display: inline-block;
    text-align: center;
}

.country-flag {
    width: 90px;
    height: 60px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 3px;
    animation: scaleIn 0.5s ease forwards;
}

.country-name {
    margin: 0;
    color: #ffffff !important;
    font-size: 24px;
}

.country-years {
    color: #cccccc !important;
    margin-top: 3px;
    font-size: 14px;
}

.country-details-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white !important;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.6s ease forwards 0.8s;
    opacity: 0;
}

.country-details-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
}

.country-map {
    width: 100%;
    margin: 50px 0 60px 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    height: calc(100vh - 250px);
    min-height: 650px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    height: 700px;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: none;
    border-radius: 10px;
}

.map-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    transition: transform 0.3s ease;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.map-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: grab;
    touch-action: none;
    display: block;
    border-radius: 8px;
    -webkit-user-drag: none;
    animation: scaleIn 0.7s ease forwards;
}

.map-image:active {
    cursor: grabbing;
}

.city-point {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 10;
    transform: translate(-50%, -50%);
    transition: left 0.05s ease, top 0.05s ease;
    will-change: left, top, width, height;
}

.city-name {
    background: rgba(0, 0, 0, 0.95);
    color: white !important;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.3 !important;
    pointer-events: none;
    position: relative;
    z-index: 102;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.2s ease, background-color 0.2s ease, border 0.2s ease, box-shadow 0.2s ease, font-size 0.1s ease, padding 0.1s ease;
}

.city-name::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid rgba(0, 0, 0, 0.95);
    transition: border-width 0.1s ease, opacity 0.2s ease;
    opacity: 0.3;
}

.city-diamond {
    width: 16px;
    height: 16px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, width 0.1s ease, height 0.1s ease, box-shadow 0.2s ease, z-index 0.2s ease;
    pointer-events: auto;
    cursor: pointer;
    z-index: 101;
}

.city-point.hovered .city-name {
    opacity: 1 !important;
    background-color: rgba(0, 0, 0, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5) !important;
}

.city-point.hovered .city-name::after {
    opacity: 1;
    border-top-color: rgba(0, 0, 0, 0.98);
}

.city-point.hovered .city-diamond {
    transform: scale(1.3);
    z-index: 2001 !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5) !important;
}

@media (max-width: 768px) {
    .city-name {
        font-size: 10px;
        padding: 3px 6px;
        max-width: 120px;
    }

    .map-wrapper {
        height: 400px;
    }
    
    .city-name::after {
        border-left-width: 3px;
        border-right-width: 3px;
        border-top-width: 3px;
    }
    
    .city-diamond {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .city-name {
        font-size: 9px;
        padding: 2px 4px;
        max-width: 100px;
    }
    
    .city-diamond {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 768px) and (min-resolution: 2dppx) {
    .city-name {
        background: rgba(0, 0, 0, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

.burger-menu-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 46px;
    opacity: 0;
    animation: slideInLeft 0.5s ease forwards 0.8s;
}

.burger-header {
    width: 222px;
    height: 44px;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    user-select: none;
    touch-action: manipulation;
    border-radius: 14px;
    position: relative;
    z-index: 101;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.burger-lines {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 2;
}

.burger-line {
    width: 18px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 2px 0;
    transition: all 0.3s;
    border-radius: 1px;
}

.burger-header:hover .burger-line {
    background-color: white;
}

.burger-dropdown {
    position: absolute;
    top: 44px;
    left: 0;
    width: 222px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 100;
    overflow: hidden;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: none;
}

.burger-header::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: rgba(255, 0, 0, 0);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.burger-header.active::before {
    background: rgba(255, 0, 0, 0.7);
    border-radius: 16px 16px 0 0;
    bottom: -2px;
    top: 5px;
    left: 5px;
    right: 5px;
}

.burger-header:hover::before {
    background: rgba(255, 0, 0, 0.7);
}

.burger-header:hover {
    background: rgba(0, 0, 0, 0.8);
}

.burger-header.active {
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    border-bottom: none;
}

.burger-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    border-radius: 0 0 14px 14px;
}

.burger-menu-item {
    display: flex;
    align-items: center;
    width: 210px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin-left: -3px;
    transition: all 0.2s;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateX(-10px);
    animation: slideInLeft 0.3s ease forwards;
    animation-delay: calc(var(--item-index, 0) * 0.05s);
}

.burger-dropdown.open .burger-menu-item:nth-child(1) { --item-index: 1; }
.burger-dropdown.open .burger-menu-item:nth-child(2) { --item-index: 2; }
.burger-dropdown.open .burger-menu-item:nth-child(3) { --item-index: 3; }
.burger-dropdown.open .burger-menu-item:nth-child(4) { --item-index: 4; }
.burger-dropdown.open .burger-menu-item:nth-child(5) { --item-index: 5; }

.burger-menu-item:last-child {
    border-bottom: none;
}

.burger-menu-item:hover {
    background: rgba(255, 0, 0, 0.7);
    padding: 12px 16px;
    margin-left: -3px;
    transition: all 0.2s;
    color: white !important;
    transform: translateX(5px);
}

.burger-menu-item i {
    width: 24px;
    margin-right: 12px;
    font-size: 16px;
    opacity: 0.9;
    text-align: center;
}

.burger-menu-item:hover i {
    opacity: 1;
}

.zoom-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 20px;
    z-index: 100;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    touch-action: manipulation;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.8s;
}

.zoom-btn {
    width: 46px;
    height: 42px;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    touch-action: manipulation;
    border-radius: 0;
    -webkit-tap-highlight-color: transparent;
}

.zoom-btn:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.zoom-btn:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.zoom-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    color: white;
}

.zoom-level {
    text-align: center;
    color: white;
    font-size: 12px;
    padding: 5px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 5px;
}

.no-map {
    text-align: center;
    padding: 60px;
    background: rgba(245, 245, 245, 0.1);
}

.no-map i {
    font-size: 48px;
    color: #cccccc;
}

.no-map p {
    margin-top: 15px;
    color: #cccccc !important;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hello {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 100vh;
    padding: 50px 0;
}

.hello-section {
    width: 100%;
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hello-content {
    position: relative;
    z-index: 2;
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.main h1 {
    margin-bottom: 5px;
    font-size: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.main-logo {
    width: 80px;
    height: auto;
    display: inline-block;
    margin-bottom: 30px;
}

.subtitle {
    text-align: center;
    font-size: 25px;
    margin-top: 10px;
    font-weight: 700;
    opacity: 0.8;
    color: white !important;
}

.hello-quote-section {
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(17, 17, 17, 0.192);
    backdrop-filter: blur(10px);
    padding: 40px 50px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hello-quote-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 200px;
}

.quote-prefix {
    font-size: 20px;
    color: #ffffff !important;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.quote-text {
    font-size: 18px;
    line-height: 1.5;
    color: #ffffff !important;
    font-weight: 400;
    margin: 0;
}

.hello-quote-image {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.human-quote-img {
    width: 250px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.human-info {
    text-align: center;
    max-width: 250px;
}

.human-name {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff !important;
    margin-bottom: 5px;
    line-height: 1.3;
}

.human-dates {
    font-size: 12px;
    color: #ffffff !important;
}

.hello-quote-text,
.hello-quote-image {
    transition: opacity 0.5s ease-in-out;
}

.hello-quote-image b {
    font-size: 20px;
}

.hello-corner-image {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.corner-image {
    max-width: 1600px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4));
}

@media (max-width: 1200px) {
    .corner-image {
        max-width: 350px;
        max-height: 250px;
    }
    
    .hello-quote-section {
        padding: 30px 40px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .main h1 {
        font-size: 60px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .corner-image {
        max-width: 300px;
        max-height: 200px;
    }
    
    .hello-quote-section {
        flex-direction: column;
    }
    
    .hello-quote-text {
        text-align: center;
        margin-bottom: 0px;
    }

    .main-logo {
        margin-bottom: 40px;
    }
    
    .hello-quote-image {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .main h1 {
        font-size: 48px;
        gap: 10px;
    }
    
    .main-logo {
        width: 60px;
    }

    .hello-quote-text {
        text-align: center;
        margin-bottom: 0px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .hello-quote-section {
        padding: 25px 30px;
        gap: 20px;
    }
    
    .quote-prefix {
        font-size: 16px;
    }
    
    .quote-text {
        font-size: 14px;
    }
    
    .human-quote-img {
        width: 200px;
        height: 250px;
    }

    .human-info {
        max-width: 200px;
    }

    .human-name {
        font-size: 12px;
    }
    
    .human-dates {
        font-size: 10px;
    }
    
    .hello-content {
        width: 95%;
    }
    
    .corner-image {
        max-width: 250px;
        max-height: 180px;
    }
    
    .burger-header {
        width: 150px;
    }

    .burger-dropdown {
        width: 150px;
    }

    .burger-menu-item {
        width: 137px;
    }
    
    .country-map {
        min-height: 500px;
        height: 70vh;
    }
}

@media (max-width: 480px) {
    .main h1 {
        font-size: 36px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .hello-quote-text {
        text-align: center;
        margin-bottom: 0px;
    }
    
    .main-logo {
        width: 50px;
    }
    
    .subtitle {
        font-size: 14px;
        margin-top: -5px;
    }
    
    .hello-quote-section {
        padding: 20px 25px;
    }
    
    .quote-prefix {
        font-size: 14px;
    }
    
    .quote-text {
        font-size: 12px;
    }
    
    .human-quote-img {
        width: 180px;
        height: 220px;
    }

    .human-info {
        max-width: 180px;
    }
    
    .human-name {
        font-size: 11px;
    }
    
    .zoom-btn {
        width: 40px;
        height: 36px;
    }
    
    .country-map {
        min-height: 400px;
    }
}

.loading-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: rgba(0,0,0,0.7);
    border-radius: 10px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: rgba(0,0,0,0.7);
    border-radius: 10px;
    color: #ff6b6b;
}

.error-message i {
    font-size: 48px;
    margin-bottom: 20px;
}

.loading-overlay p,
.error-message p {
    margin-top: 20px;
    color: #fff;
}

.map-wrapper:not(:first-of-type) {
    display: none !important;
}

.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    border-radius: 8px;
    min-height: 400px;
}

.country-map {
    position: relative;
}

.hello {
    animation: fadeIn 0.5s ease forwards;
}

.site-city {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.city-header {
    text-align: center;
    margin: 30px 0 40px 0;
}

.city-header-content {
    display: inline-block;
    text-align: center;
}

.city-flag {
    width: 120px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 5px;
    animation: scaleIn 0.5s ease forwards;
}

.city {
    margin: 0;
    color: #ffffff !important;
}

.city-country {
    color: #ffd700 !important;
    margin-top: 8px;
    font-size: 18px;
}

.city-population {
    color: #cccccc !important;
    margin-top: 8px;
    font-size: 16px;
}

.back-to-map-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: rgba(0, 0, 0, 0.6);
    color: white !important;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-map-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
}

.city-description-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.city-description h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.description-text {
    line-height: 1.8;
    font-size: 16px;
    color: #dddddd !important;
}

.city-section {
    margin: 50px 0;
}

.section-header h2 {
    font-size: 24px;
    margin-bottom: 25px;
    padding-left: 15px;
}

.humans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.human-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.human-card:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-5px);
}

.human-card a {
    text-decoration: none;
    display: flex;
    gap: 15px;
    align-items: center;
}

.human-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.human-info h3 {
    font-size: 16px;
    margin: 0 0 5px 0;
}

.human-info p {
    font-size: 12px;
    opacity: 0.7;
    margin: 0;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-item {
    display: flex;
    gap: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.event-item:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateX(5px);
}

.event-year {
    flex-shrink: 0;
    width: 80px;
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
}

.event-content h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
}

.event-content p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
    line-height: 1.5;
}

.openings-grid,
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.opening-card,
.vehicle-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.opening-card:hover,
.vehicle-card:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
}

.opening-card h3,
.vehicle-card h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #ffd700;
}

.opening-card p,
.vehicle-card p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .city-name {
        font-size: 28px;
    }
    
    .humans-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .event-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .event-year {
        width: auto;
    }
    
    .openings-grid,
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .human-card a {
        flex-direction: column;
        text-align: center;
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.item-card-link {
    text-decoration: none;
    display: block;
}

.item-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    height: 100%;
}

.item-card-link:hover .item-card {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-5px);
}

.item-row {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.item-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
}

.item-img.round {
    border-radius: 50%;
    width: 70px;
    height: 70px;
}

.item-img.square {
    border-radius: 8px;
}

.item-no-img {
    width: 80px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.item-no-img.round {
    border-radius: 50%;
    width: 70px;
    height: 70px;
}

.item-no-img.square {
    border-radius: 8px;
}

.item-no-img i {
    font-size: 32px;
    opacity: 0.7;
    color: white;
}

.item-no-img i.fa-city {
    color: #4a90e2;
}

.item-no-img i.fa-calendar-alt {
    color: #e74c3c;
}

.item-no-img i.fa-compass {
    color: #2ecc71;
}

.item-no-img i.fa-user {
    color: #f39c12;
}

.item-no-img i.fa-cogs {
    color: #9b59b6;
}

.item-info {
    flex: 1;
}

.item-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #ffffff;
}

.item-sub {
    margin: 0;
    font-size: 12px;
    opacity: 0.7;
    color: #ffffff;
}

.item-date {
    margin: 5px 0 0 0;
    font-size: 11px;
    opacity: 0.6;
    color: #ffffff;
}

.item-descr {
    font-size: 14px;
    line-height: 1.5;
    margin: 15px 0 0 0;
    color: #cccccc;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results i {
    font-size: 64px;
    opacity: 0.3;
    margin-bottom: 20px;
    display: block;
}

.no-results p {
    font-size: 18px;
    margin-bottom: 10px;
}

.no-results-hint {
    font-size: 14px !important;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .items-grid {
        grid-template-columns: 1fr;
    }
}

.catalog-page {
    background-color: #121922;
    min-height: 100vh;
    padding: 40px 0 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.catalog-header {
    text-align: center;
    margin: 40px 0;
}

.catalog-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ffffff;
}

.country-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.country-btn {
    padding: 10px 25px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.country-btn.active {
    background: rgba(255, 0, 0, 0.7);
}

.country-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.catalog-types {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.type-btn {
    padding: 10px 25px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.type-btn.active {
    background: rgba(255, 0, 0, 0.7);
}

.type-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.search-container {
    margin-bottom: 30px;
}

.search-wrapper {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.search-wrapper input {
    flex: 1;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: white;
    font-size: 16px;
    outline: none;
    text-align: center;
}

.search-wrapper input:focus {
    border-color: rgba(255, 0, 0, 0.7);
}

.search-loader {
    text-align: center;
    margin-top: 15px;
}

.alphabet-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.letter-btn {
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s;
}

.letter-btn.active {
    background: rgba(255, 0, 0, 0.7);
}

.letter-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: scale(1.05);
}

.catalog-results {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .catalog-header h1 {
        font-size: 32px;
    }
    
    .type-btn, .letter-btn, .country-btn {
        padding: 6px 15px;
        font-size: 12px;
    }
    
    .alphabet-filter {
        border-radius: 20px;
        padding: 15px;
    }
    
    .search-wrapper input {
        border-radius: 30px;
    }
}

.pagination-container {
    text-align: center;
    margin-top: 40px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}

.pagination-btn:hover:not(.disabled) {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: rgba(255, 0, 0, 0.7);
    border-color: rgba(255, 0, 0, 0.7);
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-dots {
    color: white;
    opacity: 0.5;
    padding: 0 5px;
}

.pagination-info {
    font-size: 12px;
    opacity: 0.6;
    color: white;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results i {
    font-size: 64px;
    opacity: 0.3;
    margin-bottom: 20px;
    display: block;
}

.no-results p {
    font-size: 18px;
    margin-bottom: 10px;
}

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

@media (max-width: 768px) {
    .items-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination-btn {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

.catalog-page {
    background-color: #121922;
    min-height: 100vh;
    padding: 40px 0 80px;
    animation: scaleIn 0.5s ease forwards;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.catalog-header {
    text-align: center;
    margin: 40px 0;
    animation: scaleIn 0.4s ease forwards 0.1s;
    opacity: 0;
}

.catalog-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ffffff;
}

.country-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    animation: scaleIn 0.4s ease forwards 0.2s;
    opacity: 0;
}

.country-btn {
    padding: 10px 25px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.country-btn.active {
    background: rgba(255, 0, 0, 0.7);
}

.country-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.catalog-types {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    animation: scaleIn 0.4s ease forwards 0.3s;
    opacity: 0;
}

.type-btn {
    padding: 10px 25px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.type-btn.active {
    background: rgba(255, 0, 0, 0.7);
}

.type-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.search-container {
    margin-bottom: 30px;
    animation: scaleIn 0.4s ease forwards 0.4s;
    opacity: 0;
}

.search-wrapper {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.search-wrapper input {
    flex: 1;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: white;
    font-size: 16px;
    outline: none;
    text-align: center;
    transition: all 0.3s;
}

.search-wrapper input:focus {
    border-color: rgba(255, 0, 0, 0.7);
}

.search-loader {
    text-align: center;
    margin-top: 15px;
}

.alphabet-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: scaleIn 0.4s ease forwards 0.5s;
    opacity: 0;
}

.letter-btn {
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s;
}

.letter-btn.active {
    background: rgba(255, 0, 0, 0.7);
}

.letter-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: scale(1.05);
}

.catalog-results {
    animation: scaleIn 0.4s ease forwards 0.6s;
    opacity: 0;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .catalog-header h1 {
        font-size: 32px;
    }
    
    .type-btn, .letter-btn, .country-btn {
        padding: 6px 15px;
        font-size: 12px;
    }
    
    .alphabet-filter {
        border-radius: 20px;
        padding: 15px;
    }
}

.person-page {
    background-color: #121922;
    min-height: 100vh;
    padding: 40px 0;
}

.person-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.person-hero {
    display: flex;
    gap: 40px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease forwards;
}

.person-photo {
    flex-shrink: 0;
}

.person-photo img {
    width: 250px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.no-photo {
    width: 250px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.no-photo i {
    opacity: 0.3;
}

.person-info {
    flex: 1;
}

.person-name {
    font-size: 36px;
    margin: 0 0 5px 0;
    color: #ffffff;
}

.person-patronymic {
    font-size: 18px;
    opacity: 0.7;
    margin: 0 0 15px 0;
    color: #ffffff;
}

.person-dates,
.person-country,
.person-city {
    font-size: 14px;
    opacity: 0.8;
    margin: 8px 0;
    color: #ffffff;
}

.person-city a {
    text-decoration: none;
}

.person-quote {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 30px 40px;
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease forwards 0.1s;
}

.quote-icon i {
    font-size: 32px;
    opacity: 0.5;
}

.quote-text {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
}

.person-biography {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease forwards 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.person-biography h2 {
    font-size: 24px;
    margin: 0 0 20px 0;
    color: #ffffff;
}

.biography-content {
    font-size: 16px;
    line-height: 1.8;
    color: #cccccc;
}

.person-back {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    animation: fadeInUp 0.6s ease forwards 0.3s;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
}

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

@media (max-width: 768px) {
    .person-hero {
        flex-direction: column;
        text-align: center;
    }
    
    .person-photo {
        display: flex;
        justify-content: center;
    }
    
    .person-photo img,
    .no-photo {
        width: 200px;
        height: 250px;
    }
    
    .person-name {
        font-size: 28px;
    }
    
    .person-quote {
        flex-direction: column;
        text-align: center;
    }
    
    .quote-text {
        font-size: 14px;
    }
    
    .person-back {
        flex-direction: column;
        align-items: center;
    }
    
    .back-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .person-photo img,
    .no-photo {
        width: 150px;
        height: 200px;
    }
    
    .person-name {
        font-size: 24px;
    }
    
    .biography-content {
        font-size: 14px;
    }
}

.map-search-container {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 101;
    width: 300px;
}

.map-search-input {
    width: 100%;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: white;
    font-size: 14px;
    outline: none;
    backdrop-filter: blur(8px);
}

.map-search-input:focus {
    border-color: rgba(255, 0, 0, 0.7);
}

.map-search-results {
    position: absolute;
    top: 45px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 10px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 102;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-search-results.show {
    display: block;
}

.search-result-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}

.search-result-item:hover {
    background: rgba(255, 0, 0, 0.5);
}

.search-result-name {
    font-weight: bold;
    font-size: 14px;
}

.search-result-population {
    font-size: 11px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .map-search-container {
        width: 250px;
        top: 10px;
    }
    
    .map-search-input {
        padding: 8px 12px;
        font-size: 12px;
        margin-left: 80px;
        margin-top: -10px;
        width: 160px;
    }
}

.person-hero-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease forwards;
}

.person-photo-vertical {
    flex-shrink: 0;
    margin-bottom: 20px;
}

.person-photo-vertical img {
    width: 800px;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.no-photo-vertical {
    width: 400px;
    height: 450px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.person-info-vertical {
    flex: 1;
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    .person-photo-vertical img {
        width: 400px;
        max-height: 200px;
    }
    
    .no-photo-vertical {
        width: 400px;
        height: 200px;
    }
}

.about-page {
    background-color: #121922;
    min-height: 100vh;
    padding: 40px 0 80px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-header {
    text-align: center;
    margin: 40px 0;
}

.about-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease forwards;
}

.about-title {
    font-size: 48px;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.about-subtitle {
    font-size: 20px;
    opacity: 0.8;
    color: #ffd700;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.goal-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.goal-card i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ffd700;
}

.goal-card h3 {
    font-size: 20px;
    margin: 0 0 10px 0;
}

.goal-card p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.step-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.step-card i {
    font-size: 48px;
    margin: 20px 0 15px;
    color: #ffd700;
}

.step-card h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
}

.step-card p {
    font-size: 13px;
    opacity: 0.8;
    margin: 0;
}

.creator-card {
    display: flex;
    gap: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.creator-photo {
    flex-shrink: 0;
}

.creator-photo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 5%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.creator-info h3 {
    font-size: 24px;
    margin: 0 0 15px 0;
    color: #ffd700;
}

.creator-info p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.9;
}

.creator-contacts {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.creator-contacts i {
    margin-right: 10px;
    color: #ffd700;
}

.creator-contacts a {
    color: white;
    text-decoration: none;
}

.creator-contacts a:hover {
    color: #ffd700;
}

@media (max-width: 768px) {
    .about-title {
        font-size: 32px;
    }
    
    .about-subtitle {
        font-size: 16px;
    }
    
    .about-logo {
        width: 80px;
        height: 80px;
    }
    
    .creator-card {
        flex-direction: column;
        text-align: center;
    }
    
    .creator-photo img {
        width: 150px;
        height: 150px;
    }
    
    .goals-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 16px;
        top: -10px;
        left: -10px;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 24px;
    }
    
    .creator-info h3 {
        font-size: 20px;
    }
}

.creator-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white !important;
}

.social-btn i {
    font-size: 18px;
}

.social-btn.vk {
    background: #0077ff;
}

.social-btn.telegram {
    background: #0088cc;
}

.social-btn.github {
    background: #333333;
}

.social-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .creator-socials {
        justify-content: center;
    }
    
    .social-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

.map-search-wrapper {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 101;
    pointer-events: none;
}

.map-search-container {
    pointer-events: auto;
    width: 300px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .map-search-container {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .map-search-container {
        width: 200px;
    }
}

.comments-wrapper {
    margin-top: 60px;
}

.comments-title {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgb(255, 255, 255);
    flex-wrap: wrap;
}

.comments-title h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: white;
}

.comments-title h3 i {
    color: #ffd700;
    margin-right: 10px;
}

.comments-count {
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
}

.add-comment-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    border-radius: 16px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.card-header {
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar i {
    font-size: 18px;
    color: #121922;
}

.user-name {
    font-size: 15px;
    font-weight: bold;
    color: white;
}

.user-label {
    font-size: 12px;
    opacity: 0.6;
    color: white;
}

.card-body {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.comment-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white !important;
    font-size: 14px;
    resize: vertical;
    transition: all 0.3s;
}

.comment-input:focus {
    border-color: rgba(255, 0, 0, 0.7);
    outline: none;
}

.comment-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0, 0, 0, 0.6);
    color: white !important;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.btn-action:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
}

.submit-comment-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(0, 0, 0, 0.6);
    color: white !important;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.submit-comment-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
}

.login-prompt {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-prompt i {
    font-size: 48px;
    opacity: 0.4;
    margin-bottom: 15px;
    display: block;
    color: white;
}

.login-prompt p {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: white;
}

.login-prompt .hint {
    margin: 0;
    opacity: 0.7;
    font-size: 14px;
    color: white;
}

.login-prompt a {
    color: rgba(255, 0, 0, 0.7);
    text-decoration: none;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.empty-state i {
    font-size: 64px;
    opacity: 0.2;
    margin-bottom: 20px;
    display: block;
    color: white;
}

.empty-state h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: white;
}

.empty-state p {
    margin: 0;
    opacity: 0.6;
    font-size: 14px;
    color: white;
}

.comment-thread {
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s;
    overflow: hidden;
}

.comment-main {
    padding: 20px 25px;
}

.comment-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.comment-left {
    display: flex;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comment-avatar i {
    font-size: 28px;
    opacity: 0.8;
    color: white;
}

.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 600;
    font-size: 16px;
    color: #ffd700;
}

.comment-time {
    font-size: 12px;
    opacity: 0.5;
    color: white;
}

.comment-time i {
    margin-right: 4px;
    color: white;
}

.edited-badge {
    font-size: 11px;
    opacity: 0.4;
    background: rgba(255, 215, 0, 0.1);
    padding: 2px 6px;
    border-radius: 12px;
    color: white;
    white-space: nowrap;
}

.edited-badge i {
    font-size: 10px;
    margin-right: 3px;
    color: white;
}

.comment-text {
    font-size: 15px;
    line-height: 1.6;
    color: #e0e0e0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.edit-form {
    display: none;
    margin-top: 15px;
}

.edit-textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 0, 0, 0.7);
    border-radius: 10px;
    color: white !important;
    font-size: 14px;
    resize: vertical;
}

.edit-textarea:focus {
    outline: none;
}

.edit-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.comment-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.replies-section {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 25px 15px 85px;
}

.reply-card {
    margin-bottom: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.reply-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.reply-flex {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.reply-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reply-avatar i {
    font-size: 14px;
    opacity: 0.6;
    color: white;
}

.reply-body {
    flex: 1;
    min-width: 0;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.reply-author {
    font-weight: 600;
    font-size: 14px;
    color: #ffd700;
}

.reply-time {
    font-size: 11px;
    opacity: 0.5;
    color: white;
}

.reply-text {
    font-size: 14px;
    line-height: 1.5;
    color: #ccc;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.reply-actions {
    margin-top: 8px;
}

.reply-form-container {
    display: none;
    padding: 0 25px 20px 85px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.reply-form-inner {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.reply-form-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reply-form-avatar i {
    font-size: 14px;
    color: #121922;
}

.reply-form-field {
    flex: 1;
    min-width: 200px;
}

.reply-textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 0, 0, 0.7);
    border-radius: 10px;
    color: white !important;
    font-size: 13px;
    resize: vertical;
}

.reply-textarea:focus {
    border-color: rgba(255, 0, 0, 0.7);
    outline: none;
}

.reply-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.reply-form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.fa-spinner {
    animation: fa-spin 2s infinite linear;
}

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

@media (max-width: 1024px) {
    .comments-wrapper {
        margin-top: 40px;
    }
    
    .comments-title h3 {
        font-size: 20px;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .comment-main {
        padding: 15px 20px;
    }
    
    .replies-section {
        padding-left: 60px;
    }
    
    .reply-form-container {
        padding-left: 60px;
    }
}

@media (max-width: 768px) {
    .comments-wrapper {
        margin-top: 30px;
    }
    
    .comments-title {
        gap: 10px;
    }
    
    .comments-title h3 {
        font-size: 18px;
    }
    
    .comments-count {
        font-size: 12px;
        padding: 3px 10px;
    }
    
    .card-header {
        padding: 12px 18px;
    }
    
    .user-name {
        font-size: 14px;
    }
    
    .user-label {
        font-size: 11px;
    }
    
    .card-body {
        padding: 18px;
    }
    
    .comment-input {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .btn-action {
        padding: 6px 14px;
        font-size: 12px;
        gap: 6px;
    }
    
    .submit-comment-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .comment-main {
        padding: 15px;
    }
    
    .comment-flex {
        flex-direction: column;
        gap: 12px;
    }
    
    .comment-left {
        width: 100%;
    }
    
    .comment-avatar {
        width: 40px;
        height: 40px;
    }
    
    .comment-avatar i {
        font-size: 22px;
    }
    
    .comment-author {
        font-size: 14px;
    }
    
    .comment-time {
        font-size: 11px;
    }
    
    .comment-text {
        font-size: 14px;
    }
    
    .comment-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .replies-section {
        padding: 12px 15px 12px 45px;
    }
    
    .reply-avatar {
        width: 28px;
        height: 28px;
    }
    
    .reply-avatar i {
        font-size: 12px;
    }
    
    .reply-author {
        font-size: 13px;
    }
    
    .reply-time {
        font-size: 10px;
    }
    
    .reply-text {
        font-size: 13px;
    }
    
    .reply-form-container {
        padding: 0 15px 15px 45px;
    }
    
    .reply-form-avatar {
        width: 30px;
        height: 30px;
    }
    
    .reply-form-avatar i {
        font-size: 12px;
    }
    
    .reply-textarea {
        padding: 10px;
        font-size: 12px;
    }
    
    .reply-form-buttons {
        margin-top: 8px;
    }
    
    .empty-state {
        padding: 40px 20px;
    }
    
    .empty-state i {
        font-size: 48px;
    }
    
    .empty-state h4 {
        font-size: 16px;
    }
    
    .empty-state p {
        font-size: 13px;
    }
    
    .login-prompt {
        padding: 30px 20px;
    }
    
    .login-prompt i {
        font-size: 36px;
    }
    
    .login-prompt p {
        font-size: 14px;
    }
    
    .login-prompt .hint {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .comments-wrapper {
        margin-top: 20px;
    }
    
    .comments-title h3 {
        font-size: 16px;
    }
    
    .comments-count {
        font-size: 11px;
        padding: 2px 8px;
    }
    
    .comment-left {
        gap: 10px;
    }
    
    .comment-avatar {
        width: 32px;
        height: 32px;
    }
    
    .comment-avatar i {
        font-size: 18px;
    }
    
    .comment-author {
        font-size: 13px;
    }
    
    .comment-time {
        font-size: 10px;
    }
    
    .edited-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    .comment-text {
        font-size: 13px;
    }
    
    .btn-action {
        padding: 5px 12px;
        font-size: 11px;
        gap: 4px;
    }
    
    .submit-comment-btn {
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
    }
    
    .reply-flex {
        gap: 8px;
    }
    
    .reply-avatar {
        width: 24px;
        height: 24px;
    }
    
    .reply-avatar i {
        font-size: 10px;
    }
    
    .reply-author {
        font-size: 12px;
    }
    
    .reply-time {
        font-size: 9px;
    }
    
    .reply-text {
        font-size: 12px;
    }
    
    .replies-section {
        padding: 10px 12px 10px 35px;
    }
    
    .reply-form-container {
        padding: 0 12px 12px 35px;
    }
    
    .reply-form-avatar {
        width: 26px;
        height: 26px;
    }
    
    .reply-form-avatar i {
        font-size: 11px;
    }
    
    .reply-textarea {
        padding: 8px;
        font-size: 11px;
    }
    
    .edit-actions {
        gap: 8px;
    }
    
    .edit-textarea {
        font-size: 13px;
        padding: 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .comments-wrapper {
        margin-top: 50px;
    }
    
    .comment-flex {
        gap: 12px;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .border-1px {
        border-width: 0.5px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn-action, .submit-comment-btn {
        padding: 10px 20px;
        min-height: 44px;
    }
    
    .reply-trigger, .edit-comment-trigger, .delete-comment-trigger {
        min-height: 44px;
    }
}

.speak-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 8px 18px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.speak-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
}

.speak-btn.playing {
    background: rgba(255, 0, 0, 0.7);
}

.speak-btn i {
    font-size: 14px;
}

.speak-btn {
    color: #ffffff !important;
}

.speak-btn i {
    color: #ffffff !important;
}

.speak-btn.playing {
    color: #ffffff !important;
}

.speak-btn.playing i {
    color: #ffffff !important;
}

.user-avatar-img,
.comment-avatar-img,
.reply-avatar-img {
    border: 2px solid rgba(151, 151, 151, 0.3);
    transition: all 0.3s;
}

.user-avatar-img:hover,
.comment-avatar-img:hover,
.reply-avatar-img:hover {
    border-color: #ffd700;
    transform: scale(1.05);
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar i {
    font-size: 18px;
    color: #121922;
}

.profile-page {
    background-color: #121922;
    min-height: 100vh;
    padding: 40px 0;
}

.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.profile-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease forwards;
}

.profile-header h1 {
    font-size: 36px;
    margin: 0;
    color: white;
}

.profile-header h1 i {
    color: rgba(255, 0, 0, 0.7);
    margin-right: 15px;
}

.profile-header p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.profile-card {
    display: flex;
    gap: 40px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease forwards;
    flex-wrap: wrap;
}

.profile-avatar-section {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.profile-avatar {
    margin-bottom: 15px;
}

.profile-avatar img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 0, 0, 0.7);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.profile-default-avatar {
    width: 150px;
    height: 150px;
    background: rgba(255, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.profile-default-avatar i {
    font-size: 64px;
    color: #121922;
}

.profile-name {
    font-size: 24px;
    margin: 10px 0 5px;
    color: #ffd700;
}

.profile-role {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.profile-info-section {
    flex: 2;
    min-width: 250px;
}

.profile-table {
    width: 100%;
    background: transparent;
}

.profile-table th,
.profile-table td {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.profile-table th {
    width: 140px;
    color: #ffd700;
    font-weight: 600;
}

.profile-table td {
    color: #ffffff;
}

.profile-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
    cursor: pointer;
}

.profile-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
}

.profile-btn-danger {
    background: rgba(0, 0, 0, 0.6);
}

.profile-btn-danger:hover {
    background: rgba(255, 0, 0, 0.8);
}

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

@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-table th,
    .profile-table td {
        display: block;
        text-align: center;
    }
    
    .profile-table th {
        padding-bottom: 4px;
    }
    
    .profile-table td {
        padding-top: 0;
        margin-bottom: 10px;
    }
    
    .profile-buttons {
        justify-content: center;
    }
    
    .profile-avatar img,
    .profile-default-avatar {
        width: 120px;
        height: 120px;
    }
    
    .profile-default-avatar i {
        font-size: 48px;
    }
    
    .profile-name {
        font-size: 20px;
    }
}

.form-btn,
.form-btn *,
button[type="submit"],
input[type="submit"] {
    color: #ffffff !important;
}

.form-btn i,
button[type="submit"] i,
input[type="submit"] i {
    color: #ffffff !important;
}

.update-profile-card .form-control,
.change-password-card .form-control,
.login-card .form-control {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px;
    color: #ffffff !important;
}

.update-profile-card .form-control:focus,
.change-password-card .form-control:focus,
.login-card .form-control:focus {
    background: rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(255, 0, 0, 0.7) !important;
    outline: none;
}

.update-profile-card .form-control::placeholder,
.change-password-card .form-control::placeholder,
.login-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.change-password-page {
    background-color: #121922;
    min-height: 100vh;
    padding: 40px 0;
}

.change-password-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

.change-password-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease forwards;
}

.change-password-header h1 {
    font-size: 36px;
    margin: 0;
    color: white;
}

.change-password-header h1 i {
    color: rgba(255, 0, 0, 0.7);
    margin-right: 15px;
}

.change-password-header p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.change-password-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease forwards;
}

.form-group {
    margin-bottom: 20px;
}

.control-label {
    display: block;
    margin-bottom: 8px;
    color: #ffd700;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: rgba(255, 0, 0, 0.7);
    outline: none;
}

.help-block {
    color: rgba(255, 100, 100, 0.8);
    font-size: 12px;
    margin-top: 5px;
}

.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.form-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}

.form-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
}

.form-btn-default {
    background: rgba(0, 0, 0, 0.4);
}

.form-btn-default:hover {
    background: rgba(100, 100, 100, 0.7);
}

.alert {
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.alert-success {
    background: rgba(0, 100, 0, 0.3);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #90ee90;
}

.alert-danger {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

@media (max-width: 768px) {
    .change-password-card {
        padding: 20px;
    }
    
    .form-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

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

.update-profile-page {
    background-color: #121922;
    min-height: 100vh;
    padding: 40px 0;
}

.update-profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.update-profile-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease forwards;
}

.update-profile-header h1 {
    font-size: 36px;
    margin: 0;
    color: white;
}

.update-profile-header h1 i {
    color: rgba(255, 0, 0, 0.7);
    margin-right: 15px;
}

.update-profile-header p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.update-profile-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease forwards;
}

.form-group {
    margin-bottom: 20px;
}

.control-label {
    display: block;
    margin-bottom: 8px;
    color: #ffd700;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: rgba(255, 0, 0, 0.7);
    outline: none;
}

.help-block {
    color: rgba(255, 100, 100, 0.8);
    font-size: 12px;
    margin-top: 5px;
}

.current-avatar {
    text-align: center;
    margin-bottom: 20px;
}

.current-avatar label {
    color: #ffd700;
    display: block;
    margin-bottom: 10px;
}

.current-avatar img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 0, 0.5);
}

.default-avatar {
    width: 120px;
    height: 120px;
    background: rgba(255, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.default-avatar i {
    font-size: 48px;
    color: #121922;
}

.file-input {
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
}

.file-input:hover {
    border-color: rgba(255, 0, 0, 0.5);
}

.form-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 8px;
}

.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.form-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}

.form-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
}

.form-btn-default {
    background: rgba(0, 0, 0, 0.4);
}

.form-btn-default:hover {
    background: rgba(100, 100, 100, 0.7);
}

@media (max-width: 768px) {
    .update-profile-card {
        padding: 20px;
    }
    
    .form-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

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

.register-page {
    background-color: #121922;
    min-height: 100vh;
    padding: 40px 0;
}

.register-container {
    max-width: 550px;
    margin: 0 auto;
    padding: 0 20px;
}

.register-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease forwards;
}

.register-header h1 {
    font-size: 36px;
    margin: 0;
    color: white;
}

.register-header h1 i {
    color: rgba(255, 0, 0, 0.7);
    margin-right: 15px;
}

.register-header p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.register-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease forwards;
}

.form-group {
    margin-bottom: 20px;
}

.control-label {
    display: block;
    margin-bottom: 8px;
    color: #ffd700;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px;
    color: #ffffff !important;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(255, 0, 0, 0.7) !important;
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.help-block {
    color: rgba(255, 100, 100, 0.8);
    font-size: 12px;
    margin-top: 5px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.file-input {
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    color: rgba(255, 255, 255, 0.7);
}

.file-input:hover {
    border-color: rgba(255, 0, 0, 0.5);
}

.form-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
}

.btn-register {
    width: 100%;
    padding: 12px;
    background: rgba(255, 0, 0, 0.7);
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-register:hover {
    background: rgba(255, 0, 0, 0.9);
    transform: translateY(-2px);
}

.register-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.register-footer a {
    color: rgba(255, 0, 0, 0.7);
    text-decoration: none;
}

.register-footer a:hover {
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .register-card {
        padding: 20px;
    }
}

.navbar-brand {
    display: flex;
    align-items: flex-end;
    gap: 0;
    padding: 0;
}

.navbar-brand img {
    height: 32px;
    width: auto;
}

.dropdown-menu {
    background: rgba(40, 50, 60, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 10px;
    margin-top: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 20px;
    transition: all 0.3s;
}

.dropdown-menu .dropdown-item:hover {
    background: rgba(255, 0, 0, 0.7);
    color: white;
}

.dropdown-menu .dropdown-item i {
    margin-right: 8px;
    width: 20px;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

footer a:hover {
    color: rgba(255, 0, 0, 0.7) !important;
    text-decoration: underline !important;
}

@media (max-width: 768px) {
    footer .col-md-4 {
        margin-bottom: 20px;
        text-align: center;
    }
    
    footer .col-md-4:last-child {
        margin-bottom: 0;
    }
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 0, 0, 0.7) !important;
}

.navbar-nav .dropdown-toggle i.fa-caret-down {
    display: none;
}

.rules-page {
    background-color: #121922;
    min-height: 100vh;
    padding: 40px 0;
}

.rules-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.rules-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease forwards;
}

.rules-header h1 {
    font-size: 36px;
    margin: 0;
    color: white;
}

.rules-header h1 i {
    color: rgba(255, 0, 0, 0.7);
    margin-right: 15px;
}

.rules-header p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.rules-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease forwards;
}

.rules-section {
    margin-bottom: 30px;
}

.rules-section h2 {
    color: rgba(255, 0, 0, 0.7);
    font-size: 22px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rules-section h2 i {
    margin-right: 10px;
}

.rules-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

.rules-list {
    list-style: none;
    padding-left: 0;
}

.rules-list li {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.rules-list li:before {
    content: "•";
    color: rgba(255, 0, 0, 0.7);
    font-size: 18px;
    position: absolute;
    left: 0;
}

.rules-list li strong {
    color: #ffd700;
}

.warning-box {
    background: rgba(255, 70, 70, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.7);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 10px;
}

.warning-box i {
    color: rgba(255, 0, 0, 0.7);
    margin-right: 10px;
}

.warning-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s;
}

.back-link:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
    color: white;
}

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

@media (max-width: 768px) {
    .rules-card {
        padding: 20px;
    }
    
    .rules-section h2 {
        font-size: 18px;
    }
}

select.form-control,
select.form-control option {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

select.form-control option {
    background: #1e2832;
}

select.form-control option[value=""] {
    color: rgba(255, 255, 255, 0.5) !important;
}

.dropdown-item.active {
    background: rgba(255, 0, 0, 0.7);
}

.help-page {
    background-color: #121922;
    min-height: 100vh;
    padding: 40px 0;
}

.help-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.help-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease forwards;
}

.help-header h1 {
    font-size: 36px;
    margin: 0;
    color: white;
}

.help-header h1 i {
    color: rgba(255, 70, 70, 0.8);
    margin-right: 15px;
}

.help-header p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.faq-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease forwards;
}

.faq-section h2 {
    color: #ff6b6b;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    font-weight: 600;
    color: #ffd700;
    font-size: 16px;
    margin-bottom: 8px;
}

.faq-answer {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    padding-left: 20px;
}

.application-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease forwards;
}

.application-card h2 {
    color: #ff6b6b;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.control-label {
    display: block;
    margin-bottom: 8px;
    color: #ffd700;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px;
    color: #ffffff !important;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(255, 70, 70, 0.7) !important;
    outline: none;
}

select.form-control {
    background: rgba(0, 0, 0, 0.5) !important;
    color: #ffffff !important;
}

select.form-control option {
    background: #1e2832;
    color: white;
}

textarea.form-control {
    resize: vertical;
}

.file-input {
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    color: rgba(255, 255, 255, 0.7);
}

.file-input:hover {
    border-color: rgba(255, 70, 70, 0.5);
}

.help-block {
    color: rgba(255, 100, 100, 0.8);
    font-size: 12px;
    margin-top: 5px;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: rgba(255, 70, 70, 0.8);
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: rgba(255, 70, 70, 1);
    transform: translateY(-2px);
}

.alert {
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.alert-success {
    background: rgba(0, 100, 0, 0.3);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #90ee90;
}

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

@media (max-width: 768px) {
    .faq-section, .application-card {
        padding: 20px;
    }
    
    .faq-section h2, .application-card h2 {
        font-size: 20px;
    }
}

.view-page {
    background-color: #121922;
    min-height: 100vh;
    padding: 40px 0;
}

.view-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.view-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease forwards;
}

.view-header h1 {
    font-size: 36px;
    margin: 0;
    color: white;
}

.view-header h1 i {
    color: rgba(255, 0, 0, 0.7);
    margin-right: 15px;
}

.view-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease forwards;
}

.info-block {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-label {
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.info-value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.5;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.status-new {
    background: rgba(255, 0, 0, 0.7);
    border: 1px solid rgba(211, 92, 92, 0.67);
    color: white;
}

.status-closed {
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid rgba(0, 255, 0, 0.2);
    color: white;
}

.answer-block {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.answer-label {
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.answer-value {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.file-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 0, 0, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.file-link:hover {
    background: rgba(255, 70, 70, 0.3);
    color: white;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s;
}

.back-link:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
    color: white;
}

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

@media (max-width: 768px) {
    .view-card {
        padding: 20px;
    }
}

.applications-page {
    background-color: #121922;
    min-height: 100vh;
    padding: 40px 0;
}

.applications-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.applications-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease forwards;
}

.applications-header h1 {
    font-size: 36px;
    margin: 0;
    color: white;
}

.applications-header h1 i {
    color: rgba(255, 70, 70, 0.8);
    margin-right: 15px;
}

.applications-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease forwards;
}

.applications-table {
    width: 100%;
    border-collapse: collapse;
}

.applications-table th,
.applications-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.applications-table th {
    color: #ffd700;
    font-weight: 600;
}

.applications-table td {
    color: rgba(255, 255, 255, 0.8);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.status-new {
    background: rgba(255, 0, 0, 0.7);
    border: 1px solid rgba(211, 92, 92, 0.67);
    color: white;
}

.status-processed {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.status-closed {
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid rgba(106, 221, 106, 0.2);
    color: white;
}

.view-link {
    color: #ff6b6b;
    text-decoration: none;
}

.view-link:hover {
    text-decoration: underline;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    opacity: 0.3;
    margin-bottom: 20px;
    display: block;
    color: white;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.7);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s;
}

.back-link:hover {
    background: rgba(255, 70, 70, 0.7);
    transform: translateY(-2px);
    color: white;
}

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

@media (max-width: 768px) {
    .applications-table th,
    .applications-table td {
        padding: 8px;
        font-size: 12px;
    }
}