* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00ff00;
    --secondary: #00cc00;
    --dark: #0a0e27;
    --darker: #050810;
    --accent: #ff00ff;
    --text: #e0e0e0;
}

body {
    font-family: 'Courier New', monospace;
    background: var(--darker);
    color: var(--text);
    overflow-x: hidden;
}

/* Matrix Background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(0, 255, 0, 0.03) 0px,
            rgba(0, 255, 0, 0.03) 1px,
            transparent 1px,
            transparent 2px
        );
    pointer-events: none;
    z-index: 1;
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(10px);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: rgba(10, 14, 39, 0.95);
    border-bottom: 2px solid var(--primary);
    z-index: 100;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.owl-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1) 0%, rgba(255, 0, 255, 0.1) 100%);
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    top: 20%;
    left: 10%;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
}

.glitch {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary), 0 0 40px var(--accent);
    margin-bottom: 1rem;
    position: relative;
    animation: glitch 3s ease-in-out infinite;
}

@keyframes glitch {
    0%, 100% {
        text-shadow: 0 0 20px var(--primary), 0 0 40px var(--accent);
    }
    50% {
        text-shadow: 0 0 30px var(--accent), 0 0 50px var(--primary);
    }
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.3s infinite;
    color: var(--accent);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.3s infinite;
    color: var(--primary);
    z-index: -2;
}

@keyframes glitch-1 {
    0% { clip-path: inset(40% 0 61% 0); transform: translate(-2px, -2px); }
    20% { clip-path: inset(92% 0 1% 0); transform: translate(2px, 2px); }
    40% { clip-path: inset(43% 0 1% 0); transform: translate(-2px, 2px); }
    60% { clip-path: inset(25% 0 58% 0); transform: translate(2px, -2px); }
    80% { clip-path: inset(54% 0 7% 0); transform: translate(-2px, -2px); }
    100% { clip-path: inset(58% 0 43% 0); transform: translate(2px, 2px); }
}

@keyframes glitch-2 {
    0% { clip-path: inset(27% 0 58% 0); transform: translate(2px, 2px); }
    20% { clip-path: inset(98% 0 1% 0); transform: translate(-2px, -2px); }
    40% { clip-path: inset(40% 0 59% 0); transform: translate(2px, -2px); }
    60% { clip-path: inset(88% 0 11% 0); transform: translate(-2px, 2px); }
    80% { clip-path: inset(61% 0 37% 0); transform: translate(2px, 2px); }
    100% { clip-path: inset(37% 0 58% 0); transform: translate(-2px, -2px); }
}

.subtitle {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Terminal Box */
.terminal-box {
    background: rgba(5, 8, 16, 0.9);
    border: 2px solid var(--primary);
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5), inset 0 0 20px rgba(0, 255, 0, 0.1);
    overflow: hidden;
}

.terminal-header {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.8rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--primary);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-content {
    padding: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--primary);
}

.typing {
    animation: typing 1s steps(40, end) forwards;
    opacity: 0;
}

@keyframes typing {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.success {
    color: var(--secondary);
    font-weight: bold;
}

/* CTA Button */
.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    background: var(--primary);
    color: var(--darker);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.3s;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    color: var(--primary);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.8);
}

/* Programs Section */
.programs {
    padding: 5rem 3rem;
    background: linear-gradient(180deg, rgba(0, 255, 0, 0.1) 0%, rgba(255, 0, 255, 0.1) 100%);
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
    text-shadow: 0 0 20px var(--primary);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    background: rgba(10, 14, 39, 0.8);
    border: 2px solid var(--primary);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.program-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 0, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.6), inset 0 0 20px rgba(0, 255, 0, 0.1);
    border-color: var(--accent);
}

.program-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.program-icon {
    font-size: 3rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.program-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 0;
}

.program-version {
    color: var(--accent);
    font-size: 0.8rem;
    margin: 0.5rem 0;
    position: relative;
    z-index: 1;
}

.program-description {
    color: var(--text);
    font-size: 0.95rem;
    margin: 1rem 0;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.program-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.feature-tag {
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    transition: all 0.3s;
}

.program-card:hover .feature-tag {
    background: rgba(255, 0, 255, 0.2);
    border-color: var(--accent);
    color: var(--accent);
}

.download-btn {
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: var(--darker);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
}

.download-btn:hover {
    background: var(--accent);
    color: var(--darker);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.8);
    transform: scale(1.05);
}

/* Team Section */
.team {
    padding: 5rem 3rem;
    background: rgba(5, 8, 16, 0.9);
    position: relative;
    z-index: 10;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background: rgba(10, 14, 39, 0.8);
    border: 2px solid var(--accent);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.team-member:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.6);
}

.member-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.team-member h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text);
    font-size: 0.9rem;
}



/* Footer */
.footer {
    background: rgba(5, 8, 16, 0.95);
    border-top: 2px solid var(--primary);
    padding: 2rem;
    text-align: center;
    color: var(--text);
    position: relative;
    z-index: 10;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
}

.social-icon.discord:hover {
    border-color: #5865F2;
    color: #5865F2;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.6);
}

.social-icon.telegram:hover {
    border-color: #0088cc;
    color: #0088cc;
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .glitch {
        font-size: 2.5rem;
    }

    .hero {
        margin-top: 150px;
    }

    .programs,
    .team {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
