:root {
    --primary: #2A2D43;
    --secondary: #4A4F7A;
    --accent: #FF6B8B;
    --dark: #1A1B2E;
    --light: #F8F9FF;
    --background: #FFFFFF;
    --text: #2A2D43;
    --highlight: #6C63FF;
    --highlight-light: #8A84FF;
    --header-gradient: linear-gradient(135deg, #2A2D43 0%, #4A4F7A 100%);
    --footer-gradient: linear-gradient(135deg, #1A1B2E 0%, #2A2D43 100%);
    --card-shadow: 0 10px 30px rgba(42, 45, 67, 0.1);
    --hover-shadow: 0 15px 40px rgba(106, 99, 255, 0.15);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--background);
    min-height: 100vh;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    background: var(--header-gradient);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 90%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(26, 27, 46, 0.15);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.1);
}

.logo:hover img {
    transform: scale(1.08) rotate(-2deg);
    opacity: 0.9;
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
}

.main-nav li {
    margin: 0;
    position: relative;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    font-size: 14px;
    letter-spacing: 0.2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.main-nav a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 139, 0.3);
    border-color: transparent;
}

.main-nav a i {
    margin-right: 8px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.main-nav a:hover i {
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.mobile-menu-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 139, 0.3);
}

.mobile-nav {
    display: none;
    width: 100%;
    background: var(--header-gradient);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    padding: 15px 0;
    box-shadow: 0 8px 25px rgba(26, 27, 46, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 8px;
}

.mobile-nav a {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a:hover {
    background: var(--accent);
    color: white;
    transform: translateX(5px);
}

.mobile-nav a i {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.main-content {
    padding-top: 100px;
    padding-bottom: 80px;
    background-color: var(--background);
    min-height: calc(100vh - 180px);
}

.gallery-section-modeiling-xrated {
    padding: 30px 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-section-modeiling-xrated h1,
.gallery-section-modeiling-xrated h2 {
    color: var(--dark);
    text-align: center;
    margin-bottom: 35px;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

.gallery-section-modeiling-xrated h1:after,
.gallery-section-modeiling-xrated h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--highlight));
    border-radius: 2px;
}

.gallery-grid-modeiling-xrated {
    column-count: 4;
    column-gap: 24px;
    margin-top: 30px;
}

.gallery-item-modeiling-xrated {
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(42, 45, 67, 0.08);
    box-shadow: var(--card-shadow);
    display: inline-block;
    width: 100%;
    margin-bottom: 24px;
    break-inside: avoid;
}

.gallery-item-modeiling-xrated:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--light);
    box-shadow: var(--hover-shadow);
    border-color: rgba(108, 99, 255, 0.3);
}

.gallery-item-modeiling-xrated img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(42, 45, 67, 0.1);
    transition: all 0.4s;
}

.gallery-item-modeiling-xrated:hover img {
    border-color: var(--highlight);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.2);
    transform: scale(1.03);
}

.gallery-caption {
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 6px;
    font-weight: 600;
    transition: color 0.3s;
    font-family: 'Inter', sans-serif;
    padding: 4px 0;
}

.gallery-item-modeiling-xrated:hover .gallery-caption {
    color: var(--highlight);
}

.links-section-modeiling-xrated {
    padding: 40px 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.links-section-modeiling-xrated h2 {
    color: var(--dark);
    text-align: center;
    margin-bottom: 35px;
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

.links-grid-modeiling-xrated {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.links-grid-modeiling-xrated a {
    display: inline-block;
    padding: 12px 24px;
    background: #FFFFFF;
    border-radius: 12px;
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(42, 45, 67, 0.1);
    text-align: center;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(42, 45, 67, 0.08);
}

.links-grid-modeiling-xrated a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 139, 0.3);
    border-color: transparent;
}

.footer {
    background: var(--footer-gradient);
    padding: 40px 5% 25px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    overflow: hidden;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 25px 0 35px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-links a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 139, 0.3);
    border-color: transparent;
}

.footer-links a i {
    font-size: 14px;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.copyright-text {
    opacity: 0.9;
    max-width: 850px;
    line-height: 1.7;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.age-warning {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 850px;
    margin: 15px auto 0;
    text-align: center;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.age-warning i {
    color: var(--accent);
    flex-shrink: 0;
    font-size: 14px;
}

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 27, 46, 0.95);
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: transparent;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.modal-prev,
.modal-next {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 24px;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.modal-prev:hover,
.modal-next:hover {
    background: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 139, 0.4);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 24px;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: var(--accent);
    transform: rotate(90deg);
    box-shadow: 0 6px 20px rgba(255, 107, 139, 0.4);
}

.modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

@media (max-width: 1200px) {
    .gallery-grid-modeiling-xrated {
        column-count: 3;
        column-gap: 20px;
    }
}

@media (max-width: 992px) {
    .header {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-content {
        padding-top: 130px;
    }
    
    .gallery-grid-modeiling-xrated {
        column-count: 2;
        column-gap: 16px;
    }
    
    .footer-links {
        justify-content: center;
        gap: 10px;
    }
    
    .footer-links a {
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .gallery-grid-modeiling-xrated {
        column-count: 2;
        column-gap: 12px;
    }
    
    .gallery-item-modeiling-xrated {
        padding: 12px;
        margin-bottom: 16px;
    }
    
    .links-grid-modeiling-xrated {
        gap: 12px;
    }
    
    .links-grid-modeiling-xrated a {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .footer-links a {
        padding: 8px 12px;
        font-size: 13px;
        min-height: 36px;
        min-width: 120px;
    }
    
    .gallery-section-modeiling-xrated h1,
    .gallery-section-modeiling-xrated h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .main-nav ul {
        gap: 6px;
    }
    
    .main-nav a {
        padding: 8px 12px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .gallery-grid-modeiling-xrated {
        column-count: 1;
        column-gap: 0;
    }
    
    .gallery-item-modeiling-xrated {
        margin-bottom: 12px;
    }
    
    .links-grid-modeiling-xrated a {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .header {

    }
    
    .footer {
        padding: 30px 3% 20px;
    }
    
    .footer-links {
        gap: 8px;
    }
    
    .footer-links a {
        padding: 8px 10px;
        font-size: 12px;
        min-height: 32px;
        min-width: 110px;
    }
    
    .age-warning {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .gallery-section-modeiling-xrated {
        padding: 20px 3%;
    }
}

.gallery-item-modeiling-xrated a {
    cursor: pointer;
}

.gallery-item-modeiling-xrated a:hover img {
    transform: scale(1.03);
}