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

body {
    min-height: 100vh;
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    position: relative;
}

/* Diagonal ray effects */
.ray-effect {
    position: absolute;
    inset: 0;
    pointer-events: none;
    animation: ray-move 8s ease-in-out infinite;
}

.ray-primary {
    background: linear-gradient(135deg, 
        transparent 0%, 
        transparent 35%, 
        rgba(34, 197, 94, 0.15) 45%, 
        rgba(34, 197, 94, 0.25) 50%, 
        rgba(34, 197, 94, 0.15) 55%, 
        transparent 65%, 
        transparent 100%);
    animation: ray-move 8s ease-in-out infinite;
}

.ray-secondary {
    background: linear-gradient(135deg, 
        transparent 0%, 
        transparent 40%, 
        rgba(16, 185, 129, 0.1) 47%, 
        rgba(16, 185, 129, 0.2) 50%, 
        rgba(16, 185, 129, 0.1) 53%, 
        transparent 60%, 
        transparent 100%);
    animation: ray-move-delayed 8s ease-in-out infinite;
}

@keyframes ray-move {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    12.5% {
        opacity: 0.3;
    }
    25% {
        opacity: 0.6;
    }
    37.5% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.6;
        transform: translateX(0%);
    }
    62.5% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes ray-move-delayed {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    12.5% {
        opacity: 0.4;
    }
    25% {
        opacity: 0.7;
    }
    37.5% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.7;
        transform: translateX(0%);
    }
    62.5% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Glow effect */
.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    animation: glow-pulse 8s ease-in-out infinite;
}

.glow-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 1000px;
    height: 400px;
    background: rgb(34, 197, 94);
    filter: blur(150px);
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0;
    }
    25% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
    75% {
        opacity: 0.2;
    }
}

/* Grid overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(34, 197, 94, 0.3) 25%, rgba(34, 197, 94, 0.3) 26%, transparent 27%, transparent 74%, rgba(34, 197, 94, 0.3) 75%, rgba(34, 197, 94, 0.3) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(34, 197, 94, 0.3) 25%, rgba(34, 197, 94, 0.3) 26%, transparent 27%, transparent 74%, rgba(34, 197, 94, 0.3) 75%, rgba(34, 197, 94, 0.3) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
}

/* Scanline effect */
.scanline {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.05;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(34, 197, 94, 0.3) 2px, rgba(34, 197, 94, 0.3) 4px);
    animation: scanline-flicker 0.1s infinite;
}

@keyframes scanline-flicker {
    0%, 100% {
        opacity: 0.03;
    }
    50% {
        opacity: 0.05;
    }
}

/* Container */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

/* Card styles */
.card-link {
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card-link:hover {
    transform: scale(1.05);
}

.card-link:active {
    transform: scale(0.95);
}

.card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card {
    position: relative;
    background: rgb(17, 24, 39);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 2px solid rgb(55, 65, 81);
    width: 16rem;
    height: 16rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-title {
    margin-top: 1.5rem;
    color: rgb(74, 222, 128);
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    font-size: 1.125rem;
}

/* Title section */
.title-section {
    text-align: center;
}

.main-title {
    color: rgb(74, 222, 128);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.8);
}

.flicker {
    animation: flicker-effect 3s ease-in-out infinite;
}

@keyframes flicker-effect {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 20px rgba(34, 197, 94, 0.8);
    }
    14.3% {
        opacity: 0.3;
        text-shadow: 0 0 5px rgba(34, 197, 94, 0.3);
    }
    28.6% {
        opacity: 1;
        text-shadow: 0 0 25px rgba(34, 197, 94, 1);
    }
    42.9% {
        opacity: 0.1;
        text-shadow: 0 0 2px rgba(34, 197, 94, 0.2);
    }
    57.2% {
        opacity: 1;
        text-shadow: 0 0 20px rgba(34, 197, 94, 0.8);
    }
    71.5% {
        opacity: 0.5;
        text-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    }
    85.8% {
        opacity: 1;
        text-shadow: 0 0 20px rgba(34, 197, 94, 0.8);
    }
}

.subtitle {
    color: rgba(34, 197, 94, 0.7);
    letter-spacing: 0.2em;
    animation: subtitle-pulse 3s infinite;
}

@keyframes subtitle-pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        gap: 2rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .card {
        width: 12rem;
        height: 12rem;
    }
}
