* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'iranyekan', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #252525 !important;
    overflow-x: hidden;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: #252525;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}


.main {
    overflow-x: hidden;
}

.warning-bar {
    background: linear-gradient(90deg, #ff4444, #ff6b6b);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: #667eea;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}


.menu-toggle a{
    padding: 6px;
    color: #000;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    background: #fff;
    border-radius: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    min-height: 500px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    right: 26%;
    transform: translate(41%, -22%);
    text-align: center;
    width: 88%;
    padding: 20px;
}

.slide-content h1 {
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 25px;
    color: #f0c20c;
    text-shadow: 3px 3px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s;
}

.slide-content p {
    font-size: 30px;
    margin-bottom: 40px;
    font-weight: 900;
    letter-spacing: 2px;
    animation: fadeInUp 1.2s;
    color: #000;
}

.hero-btn {
    display: inline-block;
    padding: 18px 60px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
    animation: fadeInUp 1.4s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 60px;
    height: 5px;
    background: #f0c20c;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #ac0b0b;
    width: 60px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.features {
    background: #252525;
    padding: 100px 40px;
    position: relative;
}

.feature-item {
    max-width: 84vw;
    margin: 80px auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    color: #fff;
}

.feature-text h2 {
    font-size: 35px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-text p {
    font-size: 20px;
    line-height: 1.8;
    color: #f0c20c;
}

.feature-image {
    flex: 1;
    /*animation: moveBox 3s ease-in-out infinite alternate;*/
    transform: translateZ(0);
    backface-visibility: hidden;
}

.feature-image img {
    width: 75%;
    image-rendering: -webkit-optimize-contrast;
    height: auto;
    display: block;
}

@keyframes moveBox {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-80px) scale(1.1);
    }
}

/* Color Options */
.colors-section {
    background: #252525;
    padding: 100px 40px;
    position: relative;
}

.section-title {
    text-align: center;
    color: #fff;
    font-size: 48px;
    margin-bottom: 60px;
    font-weight: bold;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.color-card {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.color-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
}

.color-preview {
    border-radius: 50%;
    margin: 0 auto 20px;
    display: block;
}

.color-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.color-name {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    display: block;
}

/* Footer */
footer {
    background: #252525;
    padding: 80px 60px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1600px;
    margin: 0 auto 60px;
}

.footer-column h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-column a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateY(-5px);
}

/* Age Verification Modal */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
    padding: 20px;
}

.age-overlay.hidden {
    display: none;
}

.age-modal {
    background: #252525;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.warning-icon {
    font-size: 60px;
    margin-bottom: 20px;
    color: #d32f2f;
}

.age-modal h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.age-modal p {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 35px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-yes {
    background: #d4af37;
    color: #fff;
}

.btn-yes:hover {
    background: #ddb946;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(250, 215, 100, 0.3);
}

.btn-no {
    background: #f44336;
    color: #fff;
}

.btn-no:hover {
    background: #da190b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
}

.content {
    display: none;
    padding: 40px;
    text-align: center;
}

.content.visible {
    display: block;
}

.redirect-message {
    padding: 40px;
    text-align: center;
}

.redirect-message h2 {
    color: #d32f2f;
    font-size: 28px;
    margin-bottom: 15px;
}

.redirect-message p {
    color: #666;
    font-size: 18px;
}

/* Canvas Elements */
.smoke {
    position: fixed;
    top: 0;
    right: 0;
    pointer-events: none;
}

.cover-top {
    display: none;
}

.cover-bottom {
    display: none;
}
/* ==================== TABLET STYLES (768px - 1024px) ==================== */
@media screen and (max-width: 1024px) {
    nav {
        padding: 20px 40px;
    }

    .logo {
        font-size: 28px;
    }

    .nav-menu {
        gap: 25px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    /* Hero Section - Tablet */
    .slide-content {
        right: 50%;
        transform: translate(50%, -50%);
        width: 90%;
        padding: 30px;
    }

    .slide-content h1 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .slide-content p {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .hero-btn {
        padding: 15px 45px;
        font-size: 15px;
    }

    /* Features Section - Tablet */
    .features {
        padding: 80px 30px;
    }

    .feature-item {
        max-width: 90vw;
        margin: 60px auto;
        gap: 40px;
    }

    .feature-text h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .feature-text p {
        font-size: 18px;
        line-height: 1.6;
    }

    /* Colors Section - Tablet */
    .colors-section {
        padding: 80px 30px;
    }

    .section-title {
        font-size: 38px;
        margin-bottom: 50px;
    }

    .color-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 25px;
    }

    .color-card {
        padding: 25px;
    }

    .color-preview {
        width: 100px;
        height: 100px;
    }

    .color-name {
        font-size: 16px;
    }

    /* Footer - Tablet */
    footer {
        padding: 60px 40px 30px;
    }

    .footer-grid {
        gap: 40px;
    }
}

/* ==================== MOBILE STYLES (max-width: 768px) ==================== */
@media screen and (max-width: 768px) {
    /* Header - Mobile */
    nav {
        padding: 15px 20px;
        position: relative;
    }

    .logo {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(37, 37, 37, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 30px;
        transition: right 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 18px;
        width: 100%;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Hero Section - Mobile */
    .hero-slider {
        min-height: 600px;
    }

    .slide-content {
        right: 50%;
        top: 71%;
        transform: translate(50%, -34%);
        width: 95%;
        padding: 20px;
    }

    .slide-content h1 {
        font-size: 28px;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .slide-content p {
        font-size: 16px;
        margin-bottom: 25px;
        line-height: 1.5;
        font-weight: 700;
    }

    .hero-btn {
        padding: 12px 35px;
        font-size: 14px;
    }

    .slider-dots {
        bottom: 15px;
        gap: 10px;
    }

    .dot {
        width: 40px;
        height: 4px;
    }

    .dot.active {
        width: 40px;
    }

    /* Features Section - Mobile */
    .features {
        padding: 0px 0px;
    }

    .feature-item {
        max-width: 100%;
        margin: 50px auto;
        flex-direction: column !important;
        gap: 30px;
    }

    .feature-item:nth-child(even) {
        flex-direction: column !important;
    }

    .feature-text {
        text-align: center;
    }

    .feature-text h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .feature-text p {
        font-size: 16px;
        line-height: 1.6;
    }

    .feature-image {
        animation: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Colors Section - Mobile */
    .colors-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .color-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 20px;
    }

    .color-card {
        padding: 20px;
        border-radius: 15px;
    }

    .color-preview {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
        display: block;
    }

    .color-name {
        font-size: 14px;
    }

    /* Footer - Mobile */
    footer {
        padding: 50px 20px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-column h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .footer-column a {
        font-size: 14px;
    }

    .footer-bottom {
        padding-top: 30px;
        font-size: 12px;
    }

    .footer-bottom p {
        margin-bottom: 10px;
    }

    .social-links {
        justify-content: center;
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* Age Modal - Mobile */
    .age-overlay {
        padding: 15px;
    }

    .age-modal {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .warning-icon {
        font-size: 50px;
        margin-bottom: 15px;
    }

    .age-modal h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .age-modal p {
        font-size: 14px;
        margin-bottom: 20px;
        width: 90%;
        margin: auto;
    }

    .buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 12px 25px;
        font-size: 15px;
    }

    .cover-top {
        display: block;
        width: 100%;
        -webkit-backdrop-filter: blur(10px); /* برای Safari */
        height: 40%;
        position: absolute;
        top: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* لبه نورانی */
    }

    .cover-bottom {
        display: block;
        width: 100%;
        -webkit-backdrop-filter: blur(10px);
        height: 40%;
        position: absolute;
        bottom: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

}

/* ==================== SMALL MOBILE (max-width: 480px) ==================== */
@media screen and (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .slide-content h1 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .hero-btn {
        padding: 10px 30px;
        font-size: 13px;
    }

    .section-title {
        font-size: 24px;
    }

    .feature-text h2 {
        font-size: 20px;
    }

    .feature-text p {
        font-size: 14px;
        width: 90%;
        margin: auto;
    }

    .color-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .color-card {
        padding: 15px;
    }

    .color-preview {
        width: 70px;
        height: 70px;
    }

    .color-name {
        font-size: 13px;
    }
    .cover-top {
        display: block;
        width: 100%;
        -webkit-backdrop-filter: blur(10px); /* برای Safari */
        height: 40%;
        position: absolute;
        top: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* لبه نورانی */
    }

    .cover-bottom {
        display: block;
        width: 100%;
        -webkit-backdrop-filter: blur(10px);
        height: 40%;
        position: absolute;
        bottom: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* Landscape Mobile Fix */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero-slider {
        min-height: 100vh;
    }

    .slide-content h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .slide-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .hero-btn {
        padding: 8px 25px;
        font-size: 12px;
    }

    .cover-top {
        display: block;
        width: 100%;
        -webkit-backdrop-filter: blur(10px); /* برای Safari */
        height: 40%;
        position: absolute;
        top: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* لبه نورانی */
    }

    .cover-bottom {
        display: block;
        width: 100%;
        -webkit-backdrop-filter: blur(10px);
        height: 40%;
        position: absolute;
        bottom: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
}