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

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --text: #ffffff;
    --text-dim: #a0a0b0;
    --glow: rgba(99, 102, 241, 0.5);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.intro-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(ellipse at center, #1a0f3e 0%, #0a0514 50%, #000000 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: introBackground 8s ease-in-out infinite;
    overflow: hidden;
}

@keyframes introBackground {
    0%, 100% { background: radial-gradient(ellipse at center, #1a0f3e 0%, #0a0514 50%, #000000 100%); }
    50% { background: radial-gradient(ellipse at center, #1f0f4e 0%, #0f0a1a 50%, #000000 100%); }
}

.intro-container.fade-out {
    animation: fadeOut 1.5s ease-out forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.skip-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10001;
    letter-spacing: 1px;
}

.skip-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.rocket-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
}

.rocket {
    position: relative;
    animation: rocketLaunch 5s ease-in forwards;
}

@keyframes rocketLaunch {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    70% {
        transform: translateY(-150vh) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translateY(-200vh) scale(1.5);
        opacity: 0;
    }
}

.rocket-body {
    font-size: 80px;
    filter: drop-shadow(0 0 30px rgba(255, 100, 50, 0.8));
    animation: rocketShake 0.15s infinite, rocketGlow 0.5s ease-in-out infinite;
}

@keyframes rocketShake {
    0%, 100% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
}

@keyframes rocketGlow {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(255, 100, 50, 0.8)); }
    50% { filter: drop-shadow(0 0 50px rgba(255, 150, 80, 1)); }
}

.rocket-flame {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 100px;
}

.flame {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 60px;
    background: linear-gradient(to top, rgba(255, 100, 0, 0.9), rgba(255, 200, 0, 0.7), transparent);
    border-radius: 50% 50% 0 0;
    animation: flameFlicker 0.1s infinite alternate;
}

.flame-1 {
    animation-delay: 0s;
    opacity: 1;
}

.flame-2 {
    animation-delay: 0.05s;
    opacity: 0.8;
    width: 35px;
    height: 55px;
}

.flame-3 {
    animation-delay: 0.1s;
    opacity: 0.6;
    width: 30px;
    height: 50px;
}

@keyframes flameFlicker {
    0% {
        transform: translateX(-50%) scaleY(1) scaleX(1);
        opacity: 0.9;
    }
    100% {
        transform: translateX(-50%) scaleY(1.3) scaleX(0.95);
        opacity: 1;
    }
}

.intro-text {
    position: absolute;
    z-index: 10000;
    text-align: center;
    opacity: 0;
    animation: titleAppear 2s ease-out 2s forwards;
}

@keyframes titleAppear {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.intro-title {
    font-size: clamp(40px, 8vw, 100px);
    font-weight: 900;
    letter-spacing: 8px;
    background: linear-gradient(135deg, #fff 0%, #a0a0ff 50%, #fff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 80px rgba(160, 160, 255, 0.8);
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(160, 160, 255, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(200, 200, 255, 1));
    }
}

.intro-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(160, 160, 255, 0.3) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.8;
    }
}

.main-site {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    background: linear-gradient(180deg, #0a0a0f 0%, #12061e 50%, #0a0a0f 100%);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.8));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.4s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 40px;
}

.hero-content {
    text-align: center;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 30px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
    }
}

.hero-title {
    font-size: clamp(60px, 12vw, 140px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #fff 0%, #a0a0ff 50%, #fff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleSlide 1s ease-out backwards;
    letter-spacing: 5px;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--text-dim);
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.server-ip {
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.ip-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.ip-value {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--primary-light);
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    animation: ipGlow 2s ease-in-out infinite;
}

@keyframes ipGlow {
    0%, 100% {
        text-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    }
    50% {
        text-shadow: 0 0 50px rgba(99, 102, 241, 0.8);
    }
}

.cta-button {
    display: inline-block;
    position: relative;
    padding: 18px 50px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease-out 1s backwards;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.6);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta-button:hover .btn-glow {
    opacity: 1;
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.hero-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    animation: ringFloat 8s ease-in-out infinite;
}

.ring-1 {
    width: 400px;
    height: 400px;
    animation-delay: 0s;
}

.ring-2 {
    width: 600px;
    height: 600px;
    animation-delay: 2s;
}

.ring-3 {
    width: 800px;
    height: 800px;
    animation-delay: 4s;
}

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

.features {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.03) 50%, transparent 100%);
}

.section-title {
    font-size: clamp(40px, 6vw, 70px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 3px;
}

.title-accent {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    position: relative;
    padding: 40px;
    background: rgba(15, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    transition: all 0.5s ease;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.5s ease;
}

.feature-card:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text);
}

.card-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dim);
}

.footer {
    padding: 60px 0 30px;
    background: rgba(5, 5, 8, 0.9);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 14px;
}

.team-section,
.legal-section {
    min-height: 100vh;
    padding: 150px 40px 100px;
}

.page-header {
    text-align: center;
    margin-bottom: 80px;
}

.page-title {
    font-size: clamp(40px, 6vw, 70px);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-dim);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 100px;
}

.team-card {
    position: relative;
    padding: 50px 40px;
    background: rgba(15, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s ease;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-15px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.4);
}

.team-card.owner:hover {
    box-shadow: 0 25px 70px rgba(236, 72, 153, 0.4);
}

.team-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.avatar-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 140px;
    height: 140px;
    border: 3px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: avatarRotate 10s linear infinite;
}

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

.avatar-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.team-card:hover .avatar-icon {
    transform: scale(1.1);
}

.team-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.owner-badge {
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.4);
    color: #ec4899;
}

.dev-badge {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #6366f1;
}

.team-name {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-alias {
    font-size: 16px;
    color: var(--primary-light);
    margin-bottom: 20px;
    font-weight: 600;
}

.team-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dim);
}

.join-team {
    text-align: center;
    padding: 60px 40px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.join-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.join-text {
    font-size: 16px;
    color: var(--text-dim);
    margin-bottom: 30px;
}

.legal-container {
    max-width: 900px;
}

.legal-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.legal-card {
    padding: 40px;
    background: rgba(15, 15, 25, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.legal-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.legal-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.legal-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 15px;
}

.legal-card ul {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-card li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.legal-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .nav-menu {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 80px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .container,
    .legal-container {
        padding: 0 20px;
    }

    .team-section,
    .legal-section {
        padding: 120px 20px 80px;
    }

    .rocket-body {
        font-size: 60px;
    }

    .intro-title {
        font-size: 40px;
        letter-spacing: 4px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        font-size: 12px;
        gap: 15px;
    }

    .hero-title {
        font-size: 50px;
    }

    .server-ip .ip-value {
        font-size: 20px;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 14px;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .legal-card {
        padding: 30px 25px;
    }
}
