/* animations.css */

/* --- Keyframes --- */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Base Animation Classes --- */
.animated-gradient {
    background: linear-gradient(-45deg, #2C2C2C, #333333, #4F4F4F, #2C2C2C);
    background-size: 400% 400%;
    animation: gradientBG 7.5s ease infinite;
    min-height: 100vh; /* Ensure gradient covers full viewport height */
    position: relative; /* Ensure main content is above background gradient if issues arise */
    z-index: 5;
}

.animated-header-pop header {
    animation: popIn 0.4s ease-out 0.1s forwards;
    opacity: 0; /* Start hidden */
}

.animated-fade-in-up {
    animation: fadeInUp 0.4s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.animated-button-pop {
    animation: popIn 0.3s ease-out forwards;
    opacity: 0; /* Start hidden */
    transform-origin: center;
}

.animated-footer-slide footer {
    animation: slideInUp 0.4s ease-out 0.5s forwards;
    opacity: 0; /* Start hidden */
}

/* Delay Classes */
.delay-1 { animation-delay: 0.2s !important; }
.delay-2 { animation-delay: 0.3s !important; }
.delay-3 { animation-delay: 0.4s !important; }


/* --- Additional Styling for Hype --- */
.hero-section {
    text-align: center;
    padding: 40px 20px;
}

.hero-title {
    font-size: 3.5em; /* Larger title */
    font-weight: bold;
    color: #E0E0E0;
    margin-bottom: 20px;
    /* text-shadow: 0 0 10px rgba(138, 43, 226, 0.5), 0 0 20px rgba(138, 43, 226, 0.3); */ /* Subtle purple glow - REMOVED */
}

.hero-title .purple-accent {
    color: #7A1FB8; /* Darker Purple */
    font-weight: 900; /* More massive */
    text-shadow: 
        -1px -1px 0 #2c2c2c,  
         1px -1px 0 #2c2c2c,
        -1px  1px 0 #2c2c2c,
         1px  1px 0 #2c2c2c, /* Outline for roughness/massiveness */
         0 0 15px #7A1FB8; /* Stronger Glow */
}

/* .purple-accent { */
/*     color: #8A2BE2; */
/* } */

.platform-description {
    font-size: 1.3em; /* Slightly larger description */
    color: #c0c0c0; /* Lighter gray for description */
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 700px; /* Constrain width for readability */
    margin-left: auto;
    margin-right: auto;
}

.action-buttons button {
    padding: 18px 35px; /* Larger buttons */
    font-size: 1.1em; /* Larger font in buttons */
    border-radius: 30px; /* Even more rounded */
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3); /* Purple shadow for depth */
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.action-buttons button:hover {
    transform: translateY(-3px) scale(1.05); /* Lift and scale effect */
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.5); /* Enhanced shadow on hover */
}

/* Ensure header and footer content also have high z-index if needed over gradient */
header, footer {
    position: relative; /* Needed for z-index to apply if children don't have it */
    z-index: 10; 
}

.main-content {
    position: relative; /* Ensure main content is above background gradient if issues arise */
    z-index: 5;
}

/* --- Text Effects --- */
.galactic-text-stroke {
    position: relative; /* For positioning pseudo-element */
    z-index: 1; /* To keep main text on top */
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #fff; /* Fallback stroke color */
    background: linear-gradient(120deg, #8A2BE2, #4A00E0, #FF007F, #00F260, #0575E6, #8A2BE2);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: galactic-stroke-animation 5s linear infinite;
    /* text-shadow: 0 0 10px rgba(138, 43, 226, 0.5), 0 0 20px rgba(138, 43, 226, 0.3); */ /* REMOVED */
    color: transparent; /* Ensure text is transparent for background clip to show */
}

.galactic-text-stroke::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0; /* Behind the main text */

    /* Apply the same animated gradient */
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback */
    background: linear-gradient(120deg, #8A2BE2, #4A00E0, #FF007F, #00F260, #0575E6, #8A2BE2);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: galactic-stroke-animation 5s linear infinite; /* Same animation */

    /* Create the glow effect */
    filter: blur(10px); /* Adjusted for a larger glow, tune as needed */
    opacity: 0.75; /* Adjust for glow intensity */
    -webkit-text-stroke-width: 0; /* Ensure glow doesn't have its own stroke */
}

@keyframes galactic-stroke-animation {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 400% 50%;
    }
}

/* --- Specific Element Animations (Add more as needed) --- */
.animated-header-pop {
    animation: popIn 0.25s ease-out forwards;
}

.animated-button-pop.delay-2 {
    animation-delay: 0.3s;
} 