:root {
    --primary-pink: #c87edd;
    --primary-blue: #8589dd;
    --dark-bg: #1a1b2f;
    --gradient-main: linear-gradient(135deg, #c87edd 0%, #8589dd 100%);
    --gradient-dark: linear-gradient(135deg, #1a1b2f 0%, #2a2d4f 100%);
    --gradient-button: linear-gradient(45deg, #c87edd 0%, #8589dd 80%, #7c83fd 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: white;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 27, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 98;
    padding: 10px 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    transition: transform 0.3s ease;
}

.logo img {
    height: 25px;
    width: auto;
    margin: 0 auto;
    display: block;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-pink);
}

/* Hero Section with Background Image */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 80px 20px 40px;
    position: relative;
    background-image: url('../assets/images/bg_header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
}

/* Add overlay to make text more readable */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        0deg,
        rgba(26, 27, 47, 0.9) 0%,
        rgba(26, 27, 47, 0.7) 100%
    );
    z-index: 1;
}

/* Ensure content stays above overlay */
.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 15px rgba(200, 126, 221, 0.3);
}

.hero-subtitle {
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-subtitle p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle p:last-child {
    margin-bottom: 30px;
}

/* Enhanced button styling */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.primary-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.trading-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.trading-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(26, 27, 47, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.trading-button img {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

/* Individual button styles */
.trading-button.dextools {
    border-color: #5c9dff;
}

.trading-button.dextools:hover {
    background: rgba(92, 157, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(92, 157, 255, 0.2);
}

.trading-button.dexscreener {
    border-color: #74ffb5;
}

.trading-button.dexscreener:hover {
    background: rgba(116, 255, 181, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(116, 255, 181, 0.2);
}

.trading-button.solscan {
    border-color: #14f195;
}

.trading-button.solscan:hover {
    background: rgba(20, 241, 149, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(20, 241, 149, 0.2);
}

/* Hover effects */
.trading-button:hover img {
    transform: scale(1.1) rotate(-5deg);
}

/* Animation for buttons */
.trading-button {
    animation: fadeInUp 0.5s ease-out backwards;
}

.trading-button:nth-child(1) { animation-delay: 0.3s; }
.trading-button:nth-child(2) { animation-delay: 0.4s; }
.trading-button:nth-child(3) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .trading-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
}

.cta-button {
    background: var(--gradient-button);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 126, 221, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(200, 126, 221, 0.4);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-pink);
    backdrop-filter: blur(5px);
}

.cta-button.secondary:hover {
    background: rgba(200, 126, 221, 0.1);
}

/* Section Styling */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Calendar Grid */
.calendar-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 15px;
    max-width: 900px;
    margin: 50px auto 0;
}

.calendar-door {
    position: relative;
    width: 100px;
    height: 100px;
    border: 2px solid var(--primary-pink);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(26, 27, 47, 0.9);
}

.calendar-door.passed {
    background-color: rgba(26, 27, 47, 0.95);
    cursor: not-allowed;
    opacity: 0.9;
    pointer-events: none;
    border-color: rgba(200, 126, 221, 0.3);
}

.calendar-door.passed::after {
    content: 'X';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.5);
    z-index: 2;
}

.calendar-door.passed {
    color: transparent;
}

.calendar-door.disabled {
    color: rgba(255, 255, 255, 0.5);
}

.calendar-door.passed::after {
    content: 'X';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.5);
    z-index: 2;
}

.calendar-door.locked {
    cursor: not-allowed;
}

.calendar-door.opened:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(200, 126, 221, 0.5);
}

/* Reward Modal Styles */
.reward-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.reward-content {
    background: var(--gradient-dark);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 90%;
    width: 400px;
    border: 2px solid var(--primary-pink);
    box-shadow: 0 0 30px rgba(200, 126, 221, 0.3);
}

.reward-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.reward-content h4 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--primary-pink);
}

.reward-content button {
    background: var(--gradient-button);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    margin-right: 0.5rem;
}

.reward-content button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 126, 221, 0.4);
}

/* Snow container */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99;
    pointer-events: none;
    overflow: hidden;
}

/* Individual snowflake */
.snowflake {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    filter: blur(3px);
    opacity: 0.8;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(-100vh);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0.3;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-section {
        background-position: 70% center;
    }

    .calendar-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-padding {
        padding: 60px 0;
    }

    .logo img {
        height: 35px;
    }

    .calendar-door {
        font-size: 1.5rem;
    }

    .hero-subtitle p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-section {
        padding: 100px 0 40px;
    }

    .logo img {
        height: 30px;
    }

    .calendar-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 8px;
    }

    .calendar-door {
        font-size: 1.3rem;
    }
}

/* Add some specific styles for the locked message */
.locked-message {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* How to Buy Section Base Styles */
.buy-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.buy-step {
    background: rgba(26, 27, 47, 0.5);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .buy-steps {
        grid-template-columns: 1fr; /* Stack items vertically */
        gap: 20px;
        padding: 15px;
    }

    .buy-step {
        padding: 20px;
        text-align: center;
    }

    .step-icon {
        margin: 0 auto 15px;
        width: 60px; /* Control icon size */
        height: 60px;
    }

    .step-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .buy-step h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .buy-step p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Adjust step number position */
    .buy-step::before {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        top: -10px;
        right: -10px;
    }

    /* Trading buttons container */
    .trading-buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 15px;
    }

    .trading-buttons-container .cta-button {
        width: 100%;
        max-width: 280px;
        min-height: 44px; /* Better touch target */
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .trading-buttons-container .cta-button img {
        width: 20px;
        height: 20px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .buy-steps {
        gap: 15px;
        padding: 10px;
    }

    .buy-step {
        padding: 15px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
    }

    .buy-step h3 {
        font-size: 1.1rem;
    }

    .buy-step p {
        font-size: 0.85rem;
    }

    .trading-buttons-container .cta-button {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

/* Very small devices */
@media (max-width: 320px) {
    .buy-step {
        padding: 12px;
    }

    .buy-step h3 {
        font-size: 1rem;
    }

    .buy-step p {
        font-size: 0.8rem;
    }

    .step-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }

    .trading-buttons-container .cta-button {
        max-width: 250px;
        font-size: 0.8rem;
    }
}

/* Better touch interactions */
@media (hover: none) {
    .buy-step:active {
        transform: scale(0.98);
    }

    .trading-buttons-container .cta-button:active {
        transform: scale(0.95);
    }
}

/* Smooth animations */
.buy-step {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for steps */
.buy-step:nth-child(1) { animation-delay: 0.1s; }
.buy-step:nth-child(2) { animation-delay: 0.2s; }
.buy-step:nth-child(3) { animation-delay: 0.3s; }
.buy-step:nth-child(4) { animation-delay: 0.4s; }

/* Section Title Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Trading Buttons Container */
.trading-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 40px 0;
    margin: 0 auto;
    text-align: center;
}

/* Individual Trading Buttons */
.trading-buttons-container .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
    padding: 15px 30px;
    margin: 0;
}

/* Button images */
.trading-buttons-container .cta-button img {
    width: 24px;
    height: 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .trading-buttons-container {
        flex-direction: column;
    }
    
    .trading-buttons-container .cta-button {
        width: 80%;
        max-width: 300px;
    }
}

/* Social Buttons Styles */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 50px;
    background: rgba(26, 27, 47, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    font-weight: 600;
    min-width: 200px;
    justify-content: center;
}

.social-button img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-button span {
    font-size: 1.1rem;
}

/* Twitter Button */
.social-button.twitter {
    border-color: #1DA1F2;
}

.social-button.twitter:hover {
    background: rgba(29, 161, 242, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(29, 161, 242, 0.2);
}

/* Telegram Button */
.social-button.telegram {
    border-color: #0088cc;
}

.social-button.telegram:hover {
    background: rgba(0, 136, 204, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 136, 204, 0.2);
}

/* Hover Effects */
.social-button:hover img {
    transform: scale(1.1) rotate(-5deg);
}

/* Animation for buttons */
@keyframes floatButton {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.social-button {
    animation: floatButton 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .social-button {
        width: 100%;
        max-width: 300px;
    }
}

/* About Section Styles */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(26, 27, 47, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.about-content:hover {
    border-color: var(--primary-pink);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(200, 126, 221, 0.2);
}

.about-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Animation classes */
.animate-text {
    animation: fadeInUp 0.6s ease-out forwards;
}

.about-text p:nth-child(1) {
    animation-delay: 0.2s;
}

.about-text p:nth-child(2) {
    animation-delay: 0.4s;
}

.about-text p:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Holiday decorations */
.about-content::before,
.about-content::after {
    content: '🎄';
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.about-content::before {
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.about-content::after {
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.about-content:hover::before,
.about-content:hover::after {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        padding: 15px;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Calendar Intro Styles */
.calendar-intro {
    background: rgba(26, 27, 47, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(200, 126, 221, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.calendar-intro .section-title {
    margin-bottom: 30px;
    font-size: 2.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.main-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.how-it-works {
    margin: 40px 0;
}

.how-it-works h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-pink);
    text-shadow: 0 0 10px rgba(200, 126, 221, 0.3);
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(200, 126, 221, 0.2);
}

.step-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-pink);
    background: rgba(200, 126, 221, 0.1);
    padding: 10px 15px;
    border-radius: 12px;
    min-width: 50px;
    text-align: center;
}

.step-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.outro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-pink);
    margin-top: 40px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(200, 126, 221, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .calendar-intro {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .calendar-intro .section-title {
        font-size: 2rem;
    }

    .main-intro {
        font-size: 1rem;
        padding: 0;
    }

    .how-it-works h3 {
        font-size: 1.5rem;
    }

    .step-item {
        padding: 15px;
    }

    .step-number {
        font-size: 1rem;
        padding: 8px 12px;
        min-width: 40px;
    }

    .step-item p {
        font-size: 0.9rem;
    }

    .outro {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .calendar-intro {
        padding: 20px 15px;
    }

    .calendar-intro .section-title {
        font-size: 1.8rem;
    }

    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .step-number {
        margin-bottom: 5px;
    }
}

/* Trading Buttons Section */
.trading-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.trading-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 50px;
    background: rgba(26, 27, 47, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    font-weight: 600;
    min-width: 220px;
    justify-content: center;
}

.trading-button img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

/* Individual button styles */
.trading-button.dextools {
    border-color: #5c9dff;
}

.trading-button.dextools:hover {
    background: rgba(92, 157, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(92, 157, 255, 0.2);
}

.trading-button.dexscreener {
    border-color: #74ffb5;
}

.trading-button.dexscreener:hover {
    background: rgba(116, 255, 181, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(116, 255, 181, 0.2);
}

.trading-button.solscan {
    border-color: #14f195;
}

.trading-button.solscan:hover {
    background: rgba(20, 241, 149, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(20, 241, 149, 0.2);
}

/* Hover effects */
.trading-button:hover img {
    transform: scale(1.1) rotate(-5deg);
}

/* Animation for buttons */
.trading-button {
    opacity: 0;
    transform: translateY(20px);
}

.trading-button.animate {
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .trading-buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .trading-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Hero Logo Styles */
.hero-logo {
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px;
    animation: fadeIn 1s ease-out;
}

/* Animation for logo */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Unified Button Styles */
.cta-button,
.trading-button,
.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: var(--gradient-button);
    border-radius: 50px;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 10px;
    min-width: 200px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(200, 126, 221, 0.3);
}

/* Hover effect for all buttons */
.cta-button:hover,
.trading-button:hover,
.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(200, 126, 221, 0.4);
}

/* Secondary button variation */
.cta-button.secondary,
.trading-button.secondary,
.social-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-pink);
    box-shadow: none;
}

.cta-button.secondary:hover,
.trading-button.secondary:hover,
.social-button.secondary:hover {
    background: rgba(200, 126, 221, 0.1);
    box-shadow: 0 8px 25px rgba(200, 126, 221, 0.2);
}

/* Button icon styles */
.trading-button img,
.social-button img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.trading-button:hover img,
.social-button:hover img {
    transform: scale(1.1);
}

/* Button container styles */
.trading-buttons-container,
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-button,
    .trading-button,
    .social-button {
        padding: 12px 25px;
        font-size: 1rem;
        min-width: 180px;
    }

    .trading-buttons-container,
    .social-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Animation for all buttons */
@keyframes buttonFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button,
.trading-button,
.social-button {
    animation: buttonFadeIn 0.5s ease-out backwards;
}

footer .container {
    text-align: center;
}

.step-icon img {
    width: 80%; /* Adjust size as needed */
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.buy-step:hover .step-icon img {
    transform: scale(1.1);
}

.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.snowflake {
    position: absolute;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

.contract-address {
    margin-bottom: 20px;
    padding: 12px 20px;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    font-size: 0.95rem;
    background: transparent;
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.2);
    animation: glowPulse 2s infinite, floatUpDown 3s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contract-address:hover {
    transform: scale(1.05);
    border-color: rgba(231, 76, 60, 0.6);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.4);
    cursor: pointer;
}

.contract-address p {
    margin: 0;
    font-family: monospace;
    color: #fff;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 15px rgba(231, 76, 60, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(231, 76, 60, 0.4);
    }
    100% {
        box-shadow: 0 0 15px rgba(231, 76, 60, 0.2);
    }
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.copy-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
    animation: fadeInOut 2s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    85% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
}

.contract-address {
    cursor: pointer;
}

.floating-head {
    position: fixed;
    z-index: 999;
    opacity: 0.8;
    transition: transform 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

.floating-head:hover {
    transform: scale(1.1);
}

@keyframes floatLeftToRight {
    from {
        transform: translateX(-100px) rotate(0deg);
    }
    to {
        transform: translateX(calc(100vw + 100px)) rotate(360deg);
    }
}

@keyframes floatRightToLeft {
    from {
        transform: translateX(calc(100vw + 100px)) rotate(0deg);
    }
    to {
        transform: translateX(-100px) rotate(-360deg);
    }
}

@keyframes floatTopToBottom {
    from {
        transform: translateY(-100px) rotate(0deg);
    }
    to {
        transform: translateY(calc(100vh + 100px)) rotate(360deg);
    }
}

@keyframes floatBottomToTop {
    from {
        transform: translateY(calc(100vh + 100px)) rotate(0deg);
    }
    to {
        transform: translateY(-100px) rotate(-360deg);
    }
}

/* Base responsive image handling */
img {
    max-width: 100%;
    height: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Retina display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-logo,
    .logo img,
    .step-icon img {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .hero-content {
        padding: 10px;
    }

    .hero-logo {
        width: 90%;
        max-width: 280px;
        margin: 0 auto 15px;
    }

    .hero-subtitle {
        margin: 15px 0;
    }

    .hero-subtitle p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 12px;
        padding: 0 10px;
    }

    .contract-address {
        font-size: 0.8rem;
        padding: 8px 12px;
        margin: 10px auto;
        max-width: 90%;
        overflow-x: auto;
    }

    .hero-buttons {
        padding: 0 10px;
    }

    .primary-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        margin: 5px auto;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .hero-section {
        padding-top: 50px;
    }

    .hero-logo {
        width: 85%;
        max-width: 240px;
    }

    .hero-subtitle p {
        font-size: 0.85rem;
        padding: 0 5px;
    }

    .contract-address {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}

/* Handle viewport height on mobile browsers */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        min-height: -webkit-fill-available;
    }
}

/* Ensure content stays within viewport */
.hero-content {
    max-width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
    position: relative;
    z-index: 2;
}

/* Safe area insets for modern mobile devices */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    nav {
        padding-top: max(10px, env(safe-area-inset-top));
    }

    footer {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* Performance optimizations */
.hero-section,
.calendar-door,
.buy-step {
    will-change: transform;
}

/* Better touch feedback */
.cta-button,
.trading-button,
.social-button,
.calendar-door {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Enhanced mobile adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 50px;
        min-height: calc(100vh - 50px);
    }

    .hero-logo {
        width: 80%;
        max-width: 250px;
        margin: 0 auto 12px;
    }

    .hero-subtitle p {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 10px;
        padding: 0 8px;
    }
}

/* Extra small devices - enhanced */
@media (max-width: 375px) {
    .hero-section {
        padding-top: 40px;
    }

    .hero-logo {
        width: 75%;
        max-width: 200px;
    }

    .hero-subtitle p {
        font-size: 0.8rem;
        padding: 0 5px;
        margin-bottom: 8px;
    }

    .contract-address {
        font-size: 0.7rem;
        padding: 5px 8px;
        margin: 8px auto;
    }

    .cta-button {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* Very small devices */
@media (max-width: 320px) {
    .hero-logo {
        width: 70%;
        max-width: 180px;
    }

    .hero-subtitle p {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .contract-address {
        font-size: 0.65rem;
        padding: 4px 6px;
    }
}

/* Add these styles to your existing CSS */
.countdown-container {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem 0;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200, 126, 221, 0.3);
}

.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    position: relative;
}

.countdown-item:not(:last-child)::after {
    content: ':';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary-pink);
}

.countdown-item span:first-child {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-pink);
    text-shadow: 0 0 10px rgba(200, 126, 221, 0.5);
    font-family: 'Poppins', sans-serif;
}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
    color: white;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Responsive styles for countdown */
@media (max-width: 768px) {
    .countdown-wrapper {
        gap: 1rem;
    }

    .countdown-item {
        min-width: 70px;
    }
}

/* Add these styles to your main.css */
#countdown ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

#countdown ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    position: relative;
}

#countdown ul li span {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-pink);
    text-shadow: 0 0 10px rgba(200, 126, 221, 0.5);
    font-family: 'Poppins', sans-serif;
}

#countdown ul li:not(:last-child)::after {
    content: ':';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary-pink);
}

/* Emoji content styles */
#content.emoji {
    display: none;
    text-align: center;
    padding: 1rem;
}

#content.emoji span {
    font-size: 4rem;
    margin: 0 0.5rem;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Responsive styles */
@media (max-width: 768px) {
    #countdown ul {
        gap: 1rem;
    }

    #countdown ul li {
        min-width: 70px;
    }

    #countdown ul li span {
        font-size: 2rem;
    }

    #countdown ul li:not(:last-child)::after {
        font-size: 1rem;
    }
}

/* Explosion effect styles */
.explosion-particle {
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    border-radius: 50%;
    transform-origin: center;
    will-change: transform, opacity;
}

/* Update floating head style to make them clickable */
.floating-head {
    position: fixed;
    z-index: 999;
    opacity: 0.8;
    transition: transform 0.3s ease;
    cursor: pointer;
    pointer-events: auto; /* Make heads clickable */
}

.floating-head:hover {
    transform: scale(1.1);
}

/* Add or update these styles */
#floatingHeadsContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allow clicking through the container */
    z-index: 99;
}

.floating-head {
    position: fixed;
    z-index: 100;
    opacity: 0.8;
    cursor: pointer;
    pointer-events: auto !important; /* Force enable pointer events */
    transition: transform 0.3s ease;
}

.floating-head:hover {
    transform: scale(1.1);
}

.explosion-particle {
    position: fixed;
    pointer-events: none;
    z-index: 101;
    border-radius: 50%;
    transform-origin: center;
    will-change: transform, opacity;
}

/* Animation keyframes if not already present */
@keyframes floatLeftToRight {
    from { transform: translateX(0); }
    to { transform: translateX(calc(100vw + 200px)); }
}

@keyframes floatRightToLeft {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100vw - 200px)); }
}

@keyframes floatTopToBottom {
    from { transform: translateY(0); }
    to { transform: translateY(calc(100vh + 200px)); }
}

@keyframes floatBottomToTop {
    from { transform: translateY(0); }
    to { transform: translateY(calc(-100vh - 200px)); }
}

.reward-instructions {
    color: white;
    font-size: 0.9rem;
    margin: 20px 0;
    line-height: 1.4;
    opacity: 0.9;
    padding: 0 15px;
    text-align: center;
}

.reward-content {
    background: rgba(26, 27, 47, 0.95);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    border: 2px solid var(--primary-pink);
}

/* Add or update these styles */
.buy-step .step-icon {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
}

.buy-step .step-icon img {
    width: 100%;
    height: auto;
    display: block;
}

/* Media queries for mobile devices */
@media (max-width: 768px) {
    .buy-step .step-icon {
        max-width: 100%; /* Take full width on mobile */
        margin: 0 auto 15px;
    }

    .buy-step {
        margin-bottom: 40px; /* Add more space between steps on mobile */
    }

    /* Ensure the images are large enough on mobile */
    .buy-step .step-icon img {
        min-height: 200px; /* Minimum height on mobile */
        object-fit: cover; /* Maintain aspect ratio while filling space */
    }
}

/* For even smaller screens */
@media (max-width: 480px) {
    .buy-step .step-icon {
        margin: 0 -20px 15px; /* Negative margin to make images fuller width */
        border-radius: 15px;
    }

    .buy-step .step-icon img {
        min-height: 180px;
    }
}

