/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #006eff 0%, #0077ff 50%, #0066ff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
}

.loading-logo {
    margin-bottom: 2rem;
}

.loading-logo-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
    animation: loadingBounce 2s infinite ease-in-out;
    border-radius: 50%;
}



@keyframes loadingBounce {
    0%, 100% { 
        transform: translateY(0) scale(1) rotate(0deg); 
    }
    25% { 
        transform: translateY(-20px) scale(1.1) rotate(5deg); 
    }
    50% { 
        transform: translateY(-40px) scale(1.2) rotate(0deg); 
    }
    75% { 
        transform: translateY(-20px) scale(1.1) rotate(-5deg); 
    }
}

.loading-text {
    margin-bottom: 3rem;
}

.loading-title {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0 0 20px #fff;
    animation: loadingGlow 1.5s infinite alternate;
    margin-bottom: 0.5rem;
}

@keyframes loadingGlow {
    from { text-shadow: 0 0 20px #fff; }
    to { text-shadow: 0 0 30px #fff, 0 0 40px #fff, 0 0 50px #fff; }
}

.loading-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    letter-spacing: 2px;
    animation: loadingPulse 2s infinite;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.loading-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #fff, #ccc, #fff);
    border-radius: 2px;
    animation: loadingProgress 3s ease-in-out infinite;
    position: relative;
}

.loading-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: loadingShine 2s infinite;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

@keyframes loadingShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.loading-dot {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    animation: loadingDot 1.5s infinite ease-in-out;
}

.loading-dot:nth-child(1) { animation-delay: 0s; }
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes loadingDot {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.5; 
    }
    50% { 
        transform: scale(1.5); 
        opacity: 1; 
    }
}

.loading-message {
    font-size: 1rem;
    opacity: 0.7;
    animation: loadingMessage 3s infinite;
}

@keyframes loadingMessage {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.loading-message p {
    font-family: 'Press Start 2P', monospace;
    letter-spacing: 1px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background: #000;
    border: 2px solid #fff;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 8px;
    border: 2px solid #000;
}

::-webkit-scrollbar-thumb:hover {
    background: #ccc;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-corner {
    background: #000;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thick;
    scrollbar-color: #fff #000;
}

body {
    font-family: 'Press Start 2P', monospace;
    background: #004df3;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Game container with animated gradient */
.game-container {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, #006eff 0%, #0084ff 50%, #0066ff 100%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { 
        background: linear-gradient(135deg, #0051ff 0%, #0051ff 50%, #0044ff 100%); 
    }
    25% { 
        background: linear-gradient(135deg, #0051ff 0%, #0059fd 50%, #0044ff 100%); 
    }
    50% { 
        background: linear-gradient(135deg, #0051ff 0%, #0066ff 50%, #0011ff 100%); 
    }
    75% { 
        background: linear-gradient(135deg, #0066ff 0%, #003cff 50%, #0066ff 100%); 
    }
}

/* Enhanced animated background dots */
.background-dots {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.dot:nth-child(1) { top: 5%; left: 5%; animation-delay: 0s; }
.dot:nth-child(2) { top: 15%; left: 85%; animation-delay: 1s; }
.dot:nth-child(3) { top: 35%; left: 15%; animation-delay: 2s; }
.dot:nth-child(4) { top: 55%; left: 75%; animation-delay: 3s; }
.dot:nth-child(5) { top: 75%; left: 25%; animation-delay: 4s; }
.dot:nth-child(6) { top: 25%; left: 55%; animation-delay: 5s; }
.dot:nth-child(7) { top: 65%; left: 95%; animation-delay: 1.5s; }
.dot:nth-child(8) { top: 45%; left: 35%; animation-delay: 2.5s; }
.dot:nth-child(9) { top: 85%; left: 85%; animation-delay: 3.5s; }
.dot:nth-child(10) { top: 10%; left: 45%; animation-delay: 4.5s; }
.dot:nth-child(11) { top: 40%; left: 65%; animation-delay: 0.5s; }
.dot:nth-child(12) { top: 70%; left: 45%; animation-delay: 1.8s; }
.dot:nth-child(13) { top: 20%; left: 75%; animation-delay: 2.8s; }
.dot:nth-child(14) { top: 60%; left: 15%; animation-delay: 3.8s; }
.dot:nth-child(15) { top: 90%; left: 65%; animation-delay: 4.8s; }

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 0.7; 
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    50% { 
        transform: translateY(-20px) scale(1.2); 
        opacity: 1; 
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
}

/* Glitch effect for titles */
.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff0000;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

/* Header with larger logo */
.header {
    padding: 1rem 2rem;
    position: relative;
    z-index: 10;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 86, 247, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.logo-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
    animation: pulse 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.6));
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title {
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 0 0 20px #fff;
    animation: glow 2s ease-in-out infinite alternate;
    line-height: 1.2;
    position: relative;
}

.title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: titleShine 3s infinite;
}

@keyframes titleShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes glow {
    from { text-shadow: 0 0 20px #fff; }
    to { text-shadow: 0 0 30px #fff, 0 0 40px #fff; }
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    letter-spacing: 2px;
}

.header-tagline {
    text-align: right;
}

.header-tagline p {
    font-size: 0.9rem;
    opacity: 0.7;
    letter-spacing: 1px;
}

/* Main content with better layout */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

/* Hero section with side-by-side layout */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 3rem;
    border: 2px solid #fff;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    min-height: 400px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.02), transparent);
    animation: heroShine 4s infinite;
}

@keyframes heroShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: wakka 0.5s infinite;
    line-height: 1.2;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: titleUnderline 2s infinite;
}

@keyframes titleUnderline {
    0%, 100% { transform: scaleX(0); opacity: 0; }
    50% { transform: scaleX(1); opacity: 1; }
}

@keyframes wakka {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.screen-flicker {
    font-size: 1rem;
    opacity: 0.7;
    animation: flicker 3s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.3; }
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}

.hero-logo-img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.5));
    animation: float 4s infinite ease-in-out;
    position: relative;
    border: none;
    border-radius: 50%;
}



.hero-logo-img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: logoGlow 3s infinite;
}

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

/* Content grid layout */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Section styles */
.section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 0 10px #fff;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
}

.about, .what-i-do, .join-quest, .cta, .links, .contract-section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    border: 1px solid #fff;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.about:hover, .what-i-do:hover, .join-quest:hover, .cta:hover, .links:hover, .contract-section:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.about::before, .what-i-do::before, .join-quest::before, .cta::before, .links::before, .contract-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s;
}

.about:hover::before, .what-i-do:hover::before, .join-quest:hover::before, .cta:hover::before, .links:hover::before, .contract-section:hover::before {
    left: 100%;
}

/* About section */
.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

.power-text {
    display: block;
    font-size: 1.4rem;
    margin-top: 1.5rem;
    color: #fff;
    text-shadow: 0 0 15px #fff;
    animation: powerGlow 2s infinite;
    position: relative;
}

.power-text::before {
    content: '⚡';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    animation: powerIcon 1s infinite;
}

@keyframes powerIcon {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.2); }
}

@keyframes powerGlow {
    0%, 100% { text-shadow: 0 0 15px #fff; }
    50% { text-shadow: 0 0 25px #fff, 0 0 35px #fff; }
}

/* What I do section */
.powers-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.power-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.power-item:hover::before {
    left: 100%;
}

.power-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.power-icon {
    font-size: 2rem;
    color: #fff;
    animation: bounce 2s infinite;
    position: relative;
}

.power-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: iconGlow 2s infinite;
}

@keyframes iconGlow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.power-item p {
    font-size: 1rem;
    flex: 1;
}

/* Join quest section */
.quest-map {
    text-align: center;
}

.map-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.power-pellet {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.power-pellet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.power-pellet:hover::before {
    width: 60%;
    height: 60%;
}

.power-pellet::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: pelletGlow 2s infinite;
}

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

.power-pellet span {
    color: #000;
    font-size: 1rem;
    font-weight: bold;
    z-index: 2;
    position: relative;
}

.power-pellet:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
}

/* CTA section */
.cta {
    text-align: center;
}

.cta-text {
    font-size: 1.3rem;
    line-height: 1.8;
    position: relative;
}

.cta-text::before {
    content: '🎮';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    animation: ctaIcon 2s infinite;
}

@keyframes ctaIcon {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-50%) rotate(10deg); }
}

/* Contract section */
.contract-container {
    text-align: center;
}

.contract-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.contract-address {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

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

.contract-address:hover::before {
    left: 100%;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #fff;
    color: #000;
    border: 2px solid #fff;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

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

.copy-btn:hover::before {
    left: 100%;
}

.copy-btn:hover {
    background: #000;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

.copy-icon {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

.contract-description {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

/* Notification Popup */
.notification-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    z-index: 10000;
    transform: translateX(500px);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    opacity: 0;
    visibility: hidden;
}

.notification-popup.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.notification-icon {
    font-size: 1.5rem;
    animation: bounce 1s infinite;
}

.notification-text {
    font-size: 0.9rem;
    color: #fff;
    font-weight: bold;
}

/* Links section */
.link-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.link-btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    text-decoration: none;
    color: #000;
    background: #fff;
    border: 3px solid #fff;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

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

.link-btn:hover::before {
    left: 100%;
}

.link-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.link-btn:hover::after {
    opacity: 1;
}

.link-btn:hover {
    background: #000;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
}

.buy-btn {
    background: #fff;
    color: #000;
}

.telegram-btn {
    background: #000;
    color: #fff;
    border-color: #fff;
}

.telegram-btn:hover {
    background: #fff;
    color: #000;
}

.x-btn {
    background: #000;
    color: #fff;
    border-color: #fff;
}

.x-btn:hover {
    background: #fff;
    color: #000;
}

/* Footer */
.footer {
    padding: 3rem 2rem 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 4rem;
    background: rgba(0, 119, 255, 0.9);
    backdrop-filter: blur(15px);
    position: relative;
    font-size: 0.9rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
    align-items: start;
}

.footer-section {
    text-align: left;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px #fff;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #fff, transparent);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    animation: pulse 2s infinite;
}

.footer-logo-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    text-shadow: 0 0 10px #fff;
}

.footer-logo-text p {
    font-size: 0.8rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-email, .contact-telegram {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.contact-email:hover, .contact-telegram:hover {
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

.contact-email a, .contact-telegram a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-email a:hover, .contact-telegram a:hover {
    color: #fff;
    text-shadow: 0 0 10px #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1rem;
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px #fff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin-bottom: 1.5rem;
}

.copyright {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-tagline {
    font-size: 0.8rem;
    opacity: 0.6;
    font-style: italic;
    animation: flicker 3s infinite;
}

/* Highlight class */
.highlight {
    color: #fff;
    text-shadow: 0 0 10px #fff;
    font-weight: bold;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    animation: highlightUnderline 2s infinite;
}

@keyframes highlightUnderline {
    0%, 100% { transform: scaleX(0); opacity: 0; }
    50% { transform: scaleX(1); opacity: 1; }
}

/* Responsive design */
@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-tagline {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }
    
    .hero {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-logo-img {
        width: 200px;
        height: 200px;
    }
    
    .logo {
        width: 120px;
        height: 120px;
    }
    
    .power-pellet {
        width: 140px;
        height: 140px;
    }
    
    .power-pellet span {
        font-size: 0.8rem;
    }
    
    .link-container {
        flex-direction: column;
        align-items: center;
    }
    
    .powers-list {
        gap: 1rem;
    }
    
    .power-item {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    /* Contract section responsive */
    .contract-display {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contract-address {
        font-size: 0.8rem;
        padding: 0.8rem 1rem;
        word-break: break-all;
    }
    
    .copy-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
    
    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    /* Loading screen responsive */
    .loading-logo-img {
        width: 150px;
        height: 150px;
    }
    
    .loading-title {
        font-size: 2rem;
    }
    
    .loading-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero, .about, .what-i-do, .join-quest, .cta, .links {
        padding: 1.5rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .logo {
        width: 100px;
        height: 100px;
    }
    
    .hero-logo-img {
        width: 150px;
        height: 150px;
    }
    
    /* Loading screen responsive */
    .loading-logo-img {
        width: 120px;
        height: 120px;
    }
    
    .loading-title {
        font-size: 1.5rem;
    }
    
    .loading-subtitle {
        font-size: 0.8rem;
    }
    
    .loading-message p {
        font-size: 0.8rem;
    }
}
