/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    background: #0a0a0a;
}

/* Background with Blur Effect */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1519681393784-d120267933ba?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: filter 0.8s ease;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background: rgba(10, 10, 10, 0.7);
    transition: backdrop-filter 0.8s ease, background 0.8s ease;
}

/* Secret Code Input */
.secret-code-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.secret-code-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(20, 20, 30, 0.9);
    padding: 10px 15px;
    border-radius: 50px;
    border: 1px solid #3a3a5d;
    backdrop-filter: blur(10px);
}

.secret-code-box input {
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
    width: 150px;
    outline: none;
}

.secret-code-box input::placeholder {
    color: #8a8ab5;
}

.secret-code-box button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
}

.secret-code-box button:hover {
    transform: scale(1.05);
}

.code-hint {
    font-size: 11px;
    color: #8a8ab5;
    display: none;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    padding: 30px 0;
    text-align: center;
}

.logo h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo h1 span {
    color: #f093fb;
}

.tagline {
    font-size: 1.2rem;
    color: #b8b8d1;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    margin: 60px 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #d8d8f0;
    margin-bottom: 25px;
}

.highlight {
    font-size: 1.2rem;
    color: #9d7af5;
    border-left: 3px solid #9d7af5;
    padding-left: 20px;
    font-weight: 600;
}

/* Privileges */
.privileges {
    margin: 80px 0;
}

.privileges h2, .technology h2, .timer-section h2, .tiers h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.privileges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.privilege-card {
    background: rgba(30, 30, 45, 0.8);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #3a3a5d;
    transition: transform 0.3s, border-color 0.3s;
    backdrop-filter: blur(10px);
}

.privilege-card:hover {
    transform: translateY(-5px);
    border-color: #9d7af5;
}

.privilege-icon {
    font-size: 2.5rem;
    color: #9d7af5;
    margin-bottom: 20px;
}

.privilege-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #f093fb;
}

.privilege-card p {
    color: #b8b8d1;
    line-height: 1.6;
}

/* Technology */
.technology {
    margin: 80px 0;
    text-align: center;
}

.tech-content {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(30, 30, 45, 0.8);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #3a3a5d;
}

.ton-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 2.5rem;
    color: #0088cc;
    margin-bottom: 25px;
}

.ton-logo span {
    font-weight: 700;
    font-size: 2.2rem;
}

.tech-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #d8d8f0;
}

/* Timer Section */
.timer-section {
    margin: 100px 0;
    text-align: center;
}

.timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 50px 0;
    font-size: 3.5rem;
    font-weight: 700;
}

.time-unit {
    background: rgba(30, 30, 45, 0.9);
    padding: 20px 15px;
    border-radius: 15px;
    min-width: 120px;
    border: 2px solid #3a3a5d;
}

.time-unit span {
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.time-unit small {
    font-size: 1rem;
    color: #8a8ab5;
    display: block;
    margin-top: 10px;
    font-weight: 400;
}

.time-separator {
    color: #9d7af5;
    font-size: 3rem;
    margin-bottom: 30px;
}

/* CTA Button */
.cta-section {
    margin-top: 50px;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 20px 50px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.cta-hint {
    margin-top: 20px;
    color: #8a8ab5;
    font-size: 0.9rem;
}

/* NFT Tiers */
.tiers {
    margin: 100px 0;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tier-card {
    background: rgba(30, 30, 45, 0.8);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.tier-card:hover {
    transform: translateY(-10px);
}

.tier-card.silver {
    border-color: #b8b8d1;
}

.tier-card.gold {
    border-color: #ffd700;
}

.tier-card.platinum {
    border-color: #e5e4e2;
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #3a3a5d;
}

.tier-header h3 {
    font-size: 1.8rem;
    color: #ffffff;
}

.tier-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9d7af5;
}

.tier-features {
    list-style: none;
}

.tier-features li {
    margin-bottom: 15px;
    color: #d8d8f0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tier-features li i {
    color: #9d7af5;
    margin-top: 3px;
}

/* Footer */
footer {
    margin-top: 100px;
    padding: 50px 0;
    border-top: 1px solid #3a3a5d;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-logo span {
    color: #f093fb;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #b8b8d1;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #9d7af5;
}

.footer-disclaimer {
    text-align: center;
    max-width: 800px;
    color: #8a8ab5;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-disclaimer i {
    color: #ff6b6b;
    margin-right: 8px;
}

.blockchain-note {
    margin-top: 15px;
    color: #9d7af5;
    font-weight: 600;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: rgba(30, 30, 45, 0.95);
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    border: 1px solid #3a3a5d;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #3a3a5d;
}

.modal-header h3 {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.close-modal {
    background: none;
    border: none;
    color: #b8b8d1;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #ff6b6b;
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    color: #d8d8f0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(10, 10, 20, 0.8);
    border: 1px solid #3a3a5d;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
}

.modal-input:focus {
    outline: none;
    border-color: #9d7af5;
}

.modal-note {
    font-size: 0.85rem;
    color: #8a8ab5;
    margin-bottom: 25px;
}

.modal-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.telegram-alternative {
    margin-top: 25px;
    text-align: center;
}

.telegram-alternative a {
    color: #0088cc;
    text-decoration: none;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 3rem;
    }
    
    .timer {
        font-size: 2.5rem;
        flex-wrap: wrap;
    }
    
    .time-unit {
        min-width: 100px;
        padding: 15px 10px;
    }
    
    .privileges-grid, .tiers-grid {
        grid-template-columns: 1fr;
    }
    
    .secret-code-box {
        padding: 8px 12px;
    }
    
    .secret-code-box input {
        width: 120px;
        font-size: 12px;
    }
}

/* Blur reduction effect */
.blur-reduced {
    backdrop-filter: blur(5px) !important;
    background: rgba(10, 10, 10, 0.4) !important;
}

.bg-visible {
    filter: blur(0px) !important;
}
