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

html, body {
    overflow-y: scroll;
    overflow-x: hidden;
}

/* Hide scrollbar completely */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #fafafa;
    color: #262626;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin: 0;
    padding: 0;
    height: 100vh;
}

/* Loading screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #4CAF50;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Background Wrapper */
.background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 200vh;
    z-index: 1;
    pointer-events: none; /* Отключаем все клики */
    user-select: none; /* Запрещаем выделение */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: none; /* Отключаем тач-события на мобильных */
    -webkit-touch-callout: none;
}

/* Profile Grid */
.profile-grid {
    max-width: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3px;
    padding: 0;
    margin: 0;
}

.grid-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #000;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Нельзя кликнуть */
    user-select: none; /* Нельзя выделить */
    -webkit-user-drag: none; /* Нельзя перетащить */
    -webkit-touch-callout: none; /* Отключаем iOS меню */
}

/* Dark overlay for contrast */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    pointer-events: none;
}

/* Central glassmorphism container */
.glass-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 90%;
    max-width: 460px;
    padding: 0;
}

/* Glass content block */
.glass-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px) saturate(180%);
    -webkit-backdrop-filter: blur(6px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px 32px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
}

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

/* Title styling */
.glass-title {
    color: #ffffff;
    font-size: 19px;
    line-height: 1.4;
    margin: 0 0 24px 0;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Steps list */
.steps-list {
    text-align: left;
    margin: 0 0 20px 0;
}

.step-item {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.8;
    margin: 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

/* Protection text */
.protection-text {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    margin: 20px 0 28px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

/* Features row */
.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 0 0;
    flex-wrap: wrap;
}

.feature-item {
    color: #ffffff;
    font-size: 14px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

/* Divider */
.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
    margin: 28px 0;
}

/* Prime info section */
.prime-info {
    text-align: left;
}

.prime-title {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 8px 0;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.prime-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    margin: 6px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.prime-tip {
    color: #FFD700;
    font-size: 15px;
    line-height: 1.6;
    margin: 12px 0 0 0;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Success state styles */
.success-title {
    color: #4CAF50;
    font-size: 24px;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.verification-text {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.5;
    margin: 12px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.verification-text.small-margin {
    margin: 12px 0 8px 0;
}

.verification-text.highlight {
    color: #FFD700;
    font-weight: 500;
    margin: 16px 0;
}

.benefits-list {
    text-align: left;
    margin: 12px 0;
    padding-left: 0;
}

.benefit-item {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.8;
    margin: 6px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    position: relative;
    padding-left: 20px;
}

.benefit-item::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #4CAF50;
    font-size: 20px;
    line-height: 1.8;
}

.success-info {
    text-align: center;
    margin-top: 16px;
}

.info-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.8;
    margin: 6px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

/* Text styling (legacy - keeping for compatibility) */
.glass-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 32px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

/* WhatsApp button */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #25D366;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    width: 100%;
    max-width: 100%;
}

.whatsapp-button i {
    font-size: 24px;
}

.whatsapp-button:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-button:active {
    transform: translateY(0);
}

/* Responsive Design */

/* Desktop - 6 columns */
@media (min-width: 1200px) {
    .profile-grid {
        max-width: 1400px;
        grid-template-columns: repeat(6, 1fr);
        gap: 4px;
    }
}

/* Large Desktop - 5 columns */
@media (min-width: 992px) and (max-width: 1199px) {
    .profile-grid {
        max-width: 1140px;
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
    }
}

/* Tablet - 4 columns */
@media (min-width: 768px) and (max-width: 991px) {
    .profile-grid {
        max-width: 100%;
        grid-template-columns: repeat(4, 1fr);
        gap: 3px;
    }
}

/* Mobile - 3 columns */
@media (max-width: 767px) {
    .main-header {
        padding: 15px 10px;
    }
    
    .logo-left {
        left: 10px;
        height: 35px;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .modal-content {
        width: 100%;
        border-radius: 0;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .gallery-nav.prev {
        left: 10px;
    }
    
    .gallery-nav.next {
        right: 10px;
    }
    
    .modal-info {
        padding: 20px;
    }
    
    .modal-info h2 {
        font-size: 16px;
    }
    
    .profile-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
    }
    
    .grid-overlay {
        font-size: 16px;
        top: 6px;
        right: 6px;
    }
    
    .video-icon {
        font-size: 20px;
    }
    
    /* Glass block mobile adjustments */
    .glass-container {
        width: 88%;
        max-width: 360px;
    }
    
    .glass-content {
        padding: 18px 16px;
        border-radius: 18px;
    }
    
    .glass-title {
        font-size: 15px;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .steps-list {
        margin: 0 0 12px 0;
    }
    
    .step-item {
        font-size: 12px;
        margin: 5px 0;
        line-height: 1.5;
    }
    
    .protection-text {
        font-size: 12px;
        margin: 10px 0 16px 0;
        line-height: 1.4;
    }
    
    .features {
        gap: 10px;
        margin: 12px 0 0 0;
    }
    
    .feature-item {
        font-size: 11px;
    }
    
    .divider {
        margin: 12px 0;
        display: block;
    }
    
    .prime-info {
        display: block;
        margin-top: 12px;
    }
    
    .prime-title {
        font-size: 10px;
        margin: 0 0 4px 0;
        line-height: 1.4;
    }
    
    .prime-desc {
        font-size: 9px;
        margin: 3px 0;
        line-height: 1.4;
    }
    
    .prime-tip {
        font-size: 10px;
        margin: 6px 0 0 0;
        line-height: 1.4;
    }
    
    /* Success state mobile adjustments */
    .success-title {
        font-size: 15px;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .verification-text {
        font-size: 12px;
        margin: 10px 0;
        line-height: 1.4;
    }
    
    .verification-text.small-margin {
        margin: 8px 0 6px 0;
    }
    
    .verification-text.highlight {
        font-size: 12px;
        margin: 12px 0;
        line-height: 1.4;
    }
    
    .benefits-list {
        margin: 10px 0;
    }
    
    .benefit-item {
        font-size: 12px;
        margin: 4px 0;
        line-height: 1.6;
        padding-left: 18px;
    }
    
    .benefit-item::before {
        font-size: 18px;
        line-height: 1.6;
    }
    
    .success-info {
        margin-top: 12px;
    }
    
    .info-item {
        font-size: 12px;
        margin: 5px 0;
        line-height: 1.6;
    }
    
    .glass-text {
        font-size: 12px;
        margin-bottom: 16px;
    }
    
    .whatsapp-button {
        padding: 12px 20px;
        font-size: 14px;
        gap: 8px;
    }
    
    .whatsapp-button i {
        font-size: 19px;
    }
}

/* Small Mobile - still 3 columns but smaller gaps */
@media (max-width: 480px) {
    .main-header {
        padding: 12px 8px;
    }
    
    .logo-left {
        left: 8px;
        height: 30px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .profile-grid {
        gap: 1px;
    }
}

