:root {
    font-family: 'Manrope', sans-serif;
    --glow-color: rgba(0, 183, 235, 0.45);
    --glow-blur: 70px;
}

body {
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    min-height: 100vh;
}

.home-page, .error-page {
    overflow: hidden;
    height: 100vh;
}

.home-page .footer, .error-page .footer {
    display: none;
}

.glow-effect {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, var(--glow-color) 0%, rgba(30, 144, 255, 0.65) 50%, transparent 70%);
    filter: blur(var(--glow-blur));
    z-index: -1;
    animation: glow-pulse 8s ease-in-out infinite;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

@keyframes glow-pulse {
    0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.5; }
    100% { transform: scale(1) rotate(360deg); opacity: 0.8; }
}

.container {
    position: relative;
    z-index: 1;
    transition: filter 0.3s ease;
}

.container.blurred {
    filter: blur(10px);
}

.btn-outline-dark {
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
}

.btn-outline-dark:hover {
    transform: translateY(-2px);
}

.btn-of-leaks {
    background: linear-gradient(45deg, #00B7EB, #FF69B4);
    border: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-of-leaks:hover {
    opacity: 0.9;
    color: #fff;
    transform: translateY(-2px);
}

.center-menu {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 144, 255, 0.2);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.center-menu.open {
    opacity: 1;
    visibility: visible;
}

.center-menu .custom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    color: #000;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1100;
    transition: color 0.3s ease;
}

.center-menu .custom-close:hover {
    color: #fff;
}

.center-menu-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.center-menu-list li {
    margin: 40px 0;
}

.center-menu.open .center-menu-list a {
    color: #000;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.center-menu.open .center-menu-list a:hover {
    color: #fff;
}

.model-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-bottom: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.model-item {
    flex: 0 0 calc(33.33% - 20px);
    text-align: center;
    text-decoration: none;
    color: #000;
}

.model-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.model-item:hover .model-image {
    transform: scale(1.1) rotate(5deg);
}

.model-title {
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: 500;
}

.photo-grid-custom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.photo-item-custom {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
}

.photo-image-custom {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.photo-image-custom:hover {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.modal-content {
    max-height: 90vh;
    width: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: transparent;
    position: relative;
    z-index: 2001;
    transition: transform 0.3s ease;
}

.modal-close {
    position: fixed;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    z-index: 2200;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #bbb;
}

.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 30px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s ease, opacity 0.3s ease;
    z-index: 2100;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.modal-prev {
    left: 10px;
}

.modal-next {
    right: 10px;
}

.footer {
    background: #D1D5DB;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 10px 10px;
    color: #4A4A4A;
    width: 100%;
    padding: 20px 0;
}

.footer p {
    margin: 0;
    font-size: 1rem;
}

.social-links {
    margin-top: 10px;
}

.social-link {
    color: #4A4A4A;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-link:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

@media (max-width: 992px) {
    .glow-effect { width: 500px; height: 500px; filter: blur(60px); }
    .photo-grid-custom { grid-template-columns: repeat(3, 1fr); }
    .photo-item-custom { max-width: 350px; }
    .model-item { flex: 0 0 calc(33.33% - 20px); }
    .model-image { width: 120px; height: 120px; }
    .model-title { margin-top: 15px; font-size: 1.25rem; }
}

@media (max-width: 768px) {
    .glow-effect { width: 400px; height: 400px; filter: blur(50px); }
    .photo-grid-custom { grid-template-columns: repeat(2, 1fr); }
    .photo-item-custom { max-width: 225px; }
    .model-item { flex: 0 0 calc(50% - 20px); }
    .model-image { width: 100px; height: 100px; }
    .model-title { margin-top: 15px; font-size: 1.1rem; }
    .center-menu.open .center-menu-list li { margin: 30px 0; }
    .center-menu.open .center-menu-list a { font-size: 2.5rem; }
    .center-menu.open .custom-close { font-size: 30px; width: 40px; height: 40px; }
}

@media (max-width: 576px) {
    .glow-effect { width: 300px; height: 300px; filter: blur(40px); }
    .photo-grid-custom { grid-template-columns: 1fr; }
    .photo-item-custom { max-width: 300px; }
    .model-item { flex: 0 0 100%; }
    .model-image { width: 80px; height: 80px; }
    .model-title { margin-top: 12px; font-size: 1rem; }
    .model-grid { gap: 10px; }
    .modal-close { font-size: 30px; }
    .modal-nav { font-size: 24px; padding: 8px 16px; }
}

@media (max-width: 400px) {
    .photo-item-custom { max-width: 250px; }
    .modal-nav { font-size: 20px; padding: 6px 12px; }
    .center-menu.open .center-menu-list a { font-size: 2rem; }
    .center-menu.open .center-menu-list li { margin: 25px 0; }
}