* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
    /* background: #fff; */
    background: #000;
    min-height: 100vh;
    padding: 0;

    overflow-x: hidden;
}

.wrapper {
    padding-top: 70px;
    background: #fafafa;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.navbar-content {
    display: flex;
    align-items: center;
    gap: 48px;
}

.navbar-logo {
    font-size: 1.3em;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.02em;
}

.navbar-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.navbar-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95em;
    transition: color 0.2s ease;
    cursor: pointer;
}

.navbar-menu a:hover {
    color: #000;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    position: absolute;
    right: 20px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(0px, 6px);
}

.hamburger.active span:nth-child(2) {
    display: none;
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0px, -6px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1em;
    display: block;
    cursor: pointer;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    padding: 60px 20px 40px;
    animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    font-size: 2.5em;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1.4em;
    color: #333;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.subtitle {
    font-size: 1.05em;
    color: #666;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-section {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.section-title {
    color: #000;
    font-size: 1.5em;
    font-weight: 600;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 60px;
}

.offer-card,
.ad-block {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    /* min-width: 300px; */
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #000;
}

.offer-image {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 0.9em;
    font-weight: 500;
    flex-shrink: 0;
}

.offer-info {
    padding: 16px;
}

.offer-title {
    font-size: 1em;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.offer-price {
    font-size: 1.2em;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.offer-details {
    font-size: 0.8em;
    color: #666;
    font-weight: 400;
}

.ad-block {
    background: #fafafa;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-block:hover {
    transform: none;
    box-shadow: none;
    border-color: #e5e5e5;
}

.ad-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: #fff;
    border: 1px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.85em;
    text-align: center;
}

.pin-section {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    border: none;
    border-radius: 0;
    padding: 60px 20px;
    margin: 80px -20px 0;

    overflow: hidden;
    max-width: none;
    animation: fadeInUp 0.6s ease-out 0.1s both;
    box-shadow: none;
    scroll-margin-top: 90px;
}

.pin-section h2 {
    text-align: center;
    color: #fff;
    font-size: 2em;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pin-section p {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
    margin-bottom: 8px;
    font-weight: 400;
    line-height: 1.6;
}

.pin-section .sub-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
    margin-bottom: 40px;
    font-weight: 400;
}

.pin-input-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.pin-digit {
    width: 50px;
    height: 56px;
    font-size: 1.4em;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    outline: none;
    transition: all 0.2s ease;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.pin-digit:focus {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

.pin-button {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    padding: 16px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pin-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.pin-button:active {
    transform: scale(0.98);
}

.pin-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.error-message {
    color: #ff6b6b;
    text-align: center;
    margin-top: 16px;
    font-size: 0.9em;
    display: none;
}

.footer {
    background: #000;
    color: #fff;
    padding: 60px 20px 40px;
    margin: 0 -20px;
    text-align: center;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1em;
    margin-bottom: 32px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.1em;
    padding: 12px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .navbar-content {
        gap: 24px;
    }

    .navbar-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .logo {
        font-size: 1.8em;
    }

    .tagline {
        font-size: 1.2em;
    }

    .pin-section {
        padding: 40px 20px;
    }

    .pin-section h2 {
        font-size: 1.6em;
    }

    .pin-digit {
        width: 44px;
        height: 52px;
        font-size: 1.4em;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .section-title {
        font-size: 1.3em;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 32px 20px 40px;
    }

    .logo {
        font-size: 1.5em;
    }

    .tagline {
        font-size: 1em;
    }

    .subtitle {
        font-size: 0.95em;
    }

    .pin-digit {
        width: 40px;
        height: 48px;
        font-size: 1.3em;
        gap: 6px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (min-width: 1024px) {
    .ad-placeholder {
        max-width: 100%;
    }
}

@media (min-width: 1600px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}
