* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a0033 25%, #4a0066 50%, #8000ff 75%, #ffd700 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
    color: #ffffff;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(128, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
    pointer-events: none;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.animation-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
    z-index: 10;
    position: relative;
}

/* Title Section */
.title-section {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.globe-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(45deg, #ffd700, #ffffff, #8000ff);
    background-size: 200% 200%;
    animation: titleGlow 4s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
}

/* Description Section */
.description-section {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1s forwards;
}

.description-text {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Activity Section */
.activity-section {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

.activity-text {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    color: #8000ff;
    font-style: italic;
    text-shadow: 0 0 8px rgba(128, 0, 255, 0.4);
}

/* Join Section */
.join-section {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 2s forwards;
}

.join-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.requirements-list {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.requirements-list li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e7ff;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.requirements-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Value Section */
.value-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 2.5s forwards;
}

.value-text {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #ffffff;
}

.no-cost {
    color: #ffd700;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.cta-text {
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    border: 2px solid rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s;
}

.cta-text:hover::before {
    left: 100%;
}

.cta-text:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.8);
}

/* Background Elements */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2), rgba(128, 0, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.3),
        inset 0 0 20px rgba(128, 0, 255, 0.2);
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.circle-2 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 15%;
    animation: float 8s ease-in-out infinite reverse;
}

.circle-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation: float 7s ease-in-out infinite;
}

.circle-4 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    right: 10%;
    animation: float 9s ease-in-out infinite reverse;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes titleGlow {
    0%, 100% {
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(1.2);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .title-line {
        margin-bottom: 0.3rem;
    }
    
    .description-text {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .activity-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .value-text {
        font-size: 1rem;
    }
    
    .cta-text {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }
    
    .container {
        padding: 1rem;
        min-height: 100vh;
    }
    
    .animation-container {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .title-section {
        margin-bottom: 2rem;
    }
    
    .description-section,
    .activity-section,
    .join-section {
        margin-bottom: 2rem;
    }
    
    .join-title {
        font-size: 1.3rem;
    }
    
    .requirements-list li {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
    
    .creator-credit {
        bottom: 15px;
        right: 15px;
    }
    
    .creator-credit p {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .globe-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .description-text {
        font-size: 0.9rem;
    }
    
    .activity-text {
        font-size: 0.85rem;
    }
    
    .value-text {
        font-size: 0.9rem;
    }
    
    .cta-text {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .container {
        padding: 0.8rem;
    }
    
    .animation-container {
        padding: 0 0.3rem;
    }
    
    .title-section {
        margin-bottom: 1.5rem;
    }
    
    .description-section,
    .activity-section,
    .join-section {
        margin-bottom: 1.5rem;
    }
    
    .join-title {
        font-size: 1.2rem;
    }
    
    .requirements-list {
        max-width: 100%;
    }
    
    .requirements-list li {
        font-size: 0.9rem;
        padding-left: 1.2rem;
        line-height: 1.4;
    }
    
    .floating-circle {
        display: none;
    }
    
    .creator-credit {
        bottom: 10px;
        right: 10px;
    }
    
    .creator-credit p {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 360px) {
    .main-title {
        font-size: 1.3rem;
    }
    
    .globe-icon {
        font-size: 2rem;
    }
    
    .description-text {
        font-size: 0.85rem;
    }
    
    .activity-text {
        font-size: 0.8rem;
    }
    
    .value-text {
        font-size: 0.85rem;
    }
    
    .cta-text {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .container {
        padding: 0.5rem;
    }
    
    .join-title {
        font-size: 1.1rem;
    }
    
    .requirements-list li {
        font-size: 0.85rem;
    }
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    /* Reduce animation complexity on mobile for better performance */
    .floating-circle {
        animation-duration: 8s;
    }
    
    /* Optimize particle count for mobile */
    .particle {
        display: none;
    }
    
    /* Ensure proper touch targets */
    .cta-text {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Improve text readability on small screens */
    .main-title,
    .description-text,
    .activity-text,
    .value-text {
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }
    
    /* Optimize background animations for mobile */
    body {
        background-size: 200% 200%;
        animation-duration: 20s;
        -webkit-overflow-scrolling: touch;
    }
    
    body::before {
        animation-duration: 12s;
    }
    
    /* Prevent text selection on mobile */
    * {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Allow text selection for important content */
    .main-title,
    .description-text,
    .activity-text,
    .value-text,
    .cta-text {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
    
    /* Optimize for mobile performance */
    .animation-container {
        will-change: transform;
        transform: translateZ(0);
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .container {
        padding: 0.5rem;
    }
    
    .title-section {
        margin-bottom: 1rem;
    }
    
    .description-section,
    .activity-section,
    .join-section {
        margin-bottom: 1rem;
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .globe-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .creator-credit {
        bottom: 5px;
        right: 5px;
    }
    
    .creator-credit p {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Creator Credit */
.creator-credit {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 20;
    opacity: 0;
    animation: fadeInUp 1s ease-out 3s forwards;
}

.creator-credit p {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 215, 0, 0.7);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    margin: 0;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.creator-credit:hover p {
    color: rgba(255, 215, 0, 1);
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

/* Selection styling */
::selection {
    background: rgba(255, 215, 0, 0.3);
    color: #ffffff;
} 