.webhacker-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 20% 50%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%), var(--background-color);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-orbit {
    position: absolute;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-color), var(--match-color-5), var(--match-color-3), var(--primary-color));
    opacity: 0.03;
    animation: orbit 20s linear infinite;
}

.gradient-orbit:nth-child(1) {
    width: 600px;
    height: 600px;
    top: -300px;
    left: -300px;
    animation-delay: 0s;
}

.gradient-orbit:nth-child(2) {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -200px;
    animation-delay: -7s;
}

.gradient-orbit:nth-child(3) {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 80%;
    animation-delay: -14s;
}

@keyframes orbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#particlesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
}

.announcement-section {
    margin-bottom: 6rem;
}

.announcement-text {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--subtext-color);
}

.line-mask {
    display: block;
    overflow: hidden;
}

.line-text {
    display: block;
    transform: translateY(100%);
    animation: lineReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) 0.5s forwards;
}

@keyframes lineReveal {
    to {
        transform: translateY(0);
    }
}

.title-section {
    margin-bottom: 6rem;
}

.title-wrapper {
    position: relative;
    display: inline-block;
}

.main-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.word {
    font-size: clamp(4.5rem, 13vw, 10rem);
    font-weight: 700;
    line-height: 0.9;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 30%, var(--match-color-3) 70%, var(--text-color) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    animation: wordReveal 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.word[data-word='WEB'] {
    animation-delay: 1s;
}

.word[data-word='HACKER'] {
    animation-delay: 1.3s;
}

.word::before {
    content: attr(data-word);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textShine 3s ease-in-out infinite;
    z-index: -1;
}

.title-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 200px;
    background: radial-gradient(ellipse, var(--primary-color) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.1;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes wordReveal {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes textShine {
    0%,
    100% {
        background-position: -100% 0;
    }
    50% {
        background-position: 200% 0;
    }
}

@keyframes glowPulse {
    0%,
    100% {
        opacity: 0.08;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.15;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.cta-section {
    opacity: 0;
    animation: fadeInUp 1s ease 2s forwards;
}

.subtitle-wrapper {
    margin-bottom: 4rem;
    position: relative;
}

.subtitle {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 400;
    color: var(--subtext-color);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.subtitle-line {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--match-color-3));
    margin: 0 auto;
    border-radius: 2px;
    animation: lineExpand 1.5s ease 2.5s forwards;
    transform: scaleX(0);
    transform-origin: center;
}

.buttons-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modern-button {
    position: relative;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    backdrop-filter: blur(20px);
    text-decoration: none;
}

.primary-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover));
    color: var(--white-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.button-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.modern-button:hover {
    transform: translateY(-3px);
}

.modern-button:hover .button-hover-effect {
    left: 100%;
}

.primary-button:hover {
    transform: translateY(-3px) scale(1.02);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

@keyframes lineExpand {
    to {
        transform: scaleX(1);
    }
}

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

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--match-color-5));
    opacity: 0.05;
    filter: blur(40px);
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 80%;
    animation-delay: 4s;
}

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

@media (max-width: 768px) {
    .hero-content {
        padding: 0 1.5rem;
    }

    .main-title {
        gap: 0.3rem;
    }

    .word {
        font-size: clamp(3.5rem, 15vw, 8rem);
    }

    .buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .modern-button {
        width: 260px;
        padding: 1.1rem 2.2rem;
    }

    .title-glow {
        width: 300px;
        height: 150px;
    }
}

.cheat-code-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
}

.cheat-code-container.active {
    opacity: 1;
}

.cheat-code-symbol {
    position: absolute;
    font-size: 24px;
    opacity: 0;
    animation: cheat-code-symbol-fall 4s linear forwards;
}

@keyframes cheat-code-symbol-fall {
    0% {
        opacity: 1;
        transform: translateY(-100px) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(360deg);
    }
}

.cheat-code-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.cheat-code-display.active {
    opacity: 1;
}

.cheat-code-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    animation: cheat-code-title-shine 3s ease-in-out infinite;
}

.cheat-code-description {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--subtext-color);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.4;
}

@keyframes cheat-code-title-shine {
    0%,
    100% {
        background-position: -100% 0;
    }
    50% {
        background-position: 200% 0;
    }
}

.main-title.cheat-code-hidden {
    opacity: 0;
    visibility: hidden;
}

.cheat-code-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    z-index: 1001;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white-color);
}
