* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #000;
    color: #f5f5f5;
    min-height: 100vh;
    padding: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.95);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #ff3366, #ff9933);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 12px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

nav a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    padding: 6px 12px;
    border-radius: 15px;
    background: rgba(40, 40, 40, 0.8);
}

nav a:hover, nav a.active {
    color: #fff;
    background: linear-gradient(90deg, #ff3366, #ff9933);
    box-shadow: 0 2px 8px rgba(255, 51, 102, 0.3);
}

.section-title {
    text-align: center;
    margin: 15px 0 20px;
    font-size: 1.8rem;
    background: linear-gradient(90deg, #e50914, #f5c518);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #e50914, #f5c518);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    flex-grow: 1;
}

.photo-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 2/3;
}

.premium-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #e50914;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}

.photo-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo-card:hover .photo-thumbnail {
    transform: scale(1.03);
}

.photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.photo-info h3 {
    font-size: 0.9rem;
    margin-bottom: 2px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-meta {
    display: flex;
    justify-content: space-between;
    color: #ccc;
    font-size: 0.75rem;
}

.load-more {
    text-align: center;
    margin: 25px 0;
}

.load-more-btn {
    background: rgba(229, 9, 20, 0.2);
    color: #f5f5f5;
    border: 1px solid #e50914;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.load-more-btn:hover {
    background: rgba(229, 9, 20, 0.4);
}

.float-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    padding: 12px 25px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    min-width: 120px;
}

.float-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.float-btn:active {
    transform: scale(0.95);
}

.btn-payment {
    background: #ff4757;
    border: 2px solid #ff6b81;
}

.btn-refund {
    background: #2ed573;
    border: 2px solid #7bed9f;
}

.btn-complaint {
    background: #3742fa;
    border: 2px solid #5352ed;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.purchase-modal {
    background: #111;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.3);
    border: 1px solid #333;
    transform: scale(0.9);
    transition: transform 0.4s;
    position: relative;
}

.modal-overlay.active .purchase-modal {
    transform: scale(1);
}

.purchase-modal h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #fff;
}

.purchase-modal .subtitle {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.purchase-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.purchase-option {
    background: rgba(40, 40, 40, 0.9);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #333;
}

.purchase-option:hover {
    background: rgba(229, 9, 20, 0.15);
    border-color: #e50914;
}

.purchase-option h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: #e50914;
}

.purchase-option .price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 6px;
    color: #f1c40f;
}

.purchase-option .desc {
    color: #aaa;
    font-size: 0.85rem;
}

.close-modal {
    background: rgba(60, 60, 60, 0.9);
    color: #ddd;
    border: 1px solid #444;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
    width: 100%;
}

.close-modal:hover {
    background: rgba(229, 9, 20, 0.2);
    color: #fff;
}

.loading-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #e50914;
    width: 0%;
    transition: width 0.5s;
}

footer {
    text-align: center;
    padding: 25px 0 12px;
    color: #666;
    font-size: 0.8rem;
    border-top: 1px solid #222;
    margin-top: 15px;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    gap: 10px;
}

.btn-payment {
    background-color: #ff6b6b;
    color: white;
}

.action-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 12px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .thumbnail {
        height: 250px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .float-btns {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .float-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 8px;
    }
    
    .container {
        padding: 8px;
    }
    
    header {
        padding: 10px 0;
        margin-bottom: 12px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    nav a {
        font-size: 0.85rem;
        padding: 4px 8px;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin: 10px 0 15px;
    }
    
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .photo-card {
        border-radius: 6px;
    }
    
    .premium-badge {
        top: 6px;
        right: 6px;
        padding: 2px 5px;
        font-size: 0.65rem;
    }
    
    .photo-thumbnail {
        height: 200px;
    }
    
    .photo-info {
        padding: 8px;
    }
    
    .photo-info h3 {
        font-size: 0.9rem;
        margin-bottom: 4px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 2.4em;
        line-height: 1.2;
    }
    
    .photo-meta {
        font-size: 0.7rem;
    }
    
    .load-more-btn {
        padding: 10px 30px;
        font-size: 1rem;
    }
    
    .purchase-modal {
        padding: 18px;
        max-width: 95%;
    }
    
    .purchase-modal h2 {
        font-size: 1.2rem;
    }
    
    .purchase-options {
        gap: 10px;
        margin: 15px 0;
    }
    
    .purchase-option {
        padding: 12px;
    }
    
    .purchase-option h3 {
        font-size: 1.1rem;
    }
    
    .purchase-option .price {
        font-size: 1.3rem;
    }
    
    .purchase-option .desc {
        font-size: 0.8rem;
    }
    
    .close-modal {
        padding: 7px 14px;
        font-size: 0.85rem;
    }
    
    footer {
        padding: 20px 0 10px;
        font-size: 0.75rem;
   