/* === Jaden's Experiments! | Retro Science Edition === */
/* Subtle CRT + lab aesthetic with phosphor glow and soft animation */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Consolas, monospace;
}

/* ---- Global ---- */
body {
    background: radial-gradient(circle at top, #101820 0%, #05080a 100%);
    color: #b6ffb3;
    min-height: 100vh;
    padding: 20px;
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

/* Scanline overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 255, 100, 0.05) 0px,
        rgba(0, 255, 100, 0.05) 1px,
        transparent 2px,
        transparent 4px
    );
    mix-blend-mode: overlay;
    z-index: 10;
}

/* Subtle CRT flicker */
@keyframes crtFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.97; }
}
body {
    animation: crtFlicker 1.5s infinite;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- Header ---- */
header {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    background: rgba(0, 20, 0, 0.8);
    border-radius: 15px;
    border: 2px solid #39ff14;
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.3);
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.1) 0%, transparent 70%);
    z-index: -1;
}

h1 {
    font-size: 3rem;
    color: #39ff14;
    text-shadow: 0 0 8px #39ff14, 0 0 25px #39ff14;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.3rem;
    color: #9aff8c;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #aaffaa;
}

/* ---- Grid Layout ---- */
.hobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* ---- Cards ---- */
.hobby-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
    transition: all 0.25s ease;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
}

.hobby-card:hover {
    transform: scale(1.02);
    border-color: #39ff14;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
    filter: brightness(1.1);
}

/* Top accent bar */
.hobby-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #39ff14, #00ffaa);
}

/* ---- Card content ---- */
.hobby-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(57, 255, 20, 0.3);
}

.hobby-icon {
    font-size: 2rem;
    margin-right: 15px;
    color: #00ffaa;
    filter: drop-shadow(0 0 6px #00ffaa);
}

.hobby-title {
    font-size: 1.6rem;
    color: #b6ffb3;
    text-shadow: 0 0 5px #39ff14;
}

.hobby-content {
    color: #aaffaa;
    line-height: 1.7;
    text-shadow: 0 0 3px rgba(0, 255, 100, 0.3);
}

.hobby-content p {
    margin-bottom: 15px;
}

.project-list {
    list-style-type: none;
    margin: 15px 0;
}

.project-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    border-bottom: 1px dashed rgba(0, 255, 100, 0.2);
}

.project-list li::before {
    content: "> ";
    position: absolute;
    left: 0;
    color: #39ff14;
    text-shadow: 0 0 5px #39ff14;
}

/* ---- Footer ---- */
footer {
    text-align: center;
    padding: 25px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    border: 1px solid #39ff14;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
    margin-top: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid #39ff14;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #39ff14;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: #39ff14;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 0 10px #39ff14;
}

.copyright {
    margin-top: 20px;
    color: #77ff77;
    font-size: 0.9rem;
    text-shadow: 0 0 3px rgba(57, 255, 20, 0.3);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

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