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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0e17 0%, #1a1f2e 100%);
    color: #e0e7ff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Header ─────────────────────────────────────── */
header {
    background: rgba(10, 14, 23, 0.95);
    border-bottom: 2px solid #00ff88;
    padding: 25px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00ff88, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
    text-align: center;
}

/* ── Main Container ──────────────────────────────── */
.container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    width: 100%;
}

/* ── About Section ───────────────────────────────── */
.about {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
}

.about h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #00ff88;
    margin-bottom: 20px;
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(224, 231, 255, 0.8);
    margin-bottom: 15px;
}

.about ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.about ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: rgba(224, 231, 255, 0.8);
}

.about ul li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: #00ff88;
}

/* ── Links Section ───────────────────────────────── */
.links-section {
    margin-top: 40px;
}

.links-section h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: #0099ff;
    margin-bottom: 30px;
    text-align: center;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* ── Cards (green theme) ─────────────────────────── */
.link-card {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 153, 255, 0.1));
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* ── News card (blue theme) ──────────────────────── */
.link-news {
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.1), rgba(0, 255, 136, 0.1));
    border: 2px solid rgb(6, 115, 219);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* ── Solar card (orange theme) ───────────────────── */
.link-solar {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.12), rgba(255, 200, 0, 0.1));
    border: 2px solid rgba(255, 140, 0, 0.5);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* ── Shimmer on hover ────────────────────────────── */
.link-card::before,
.link-news::before,
.link-solar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.2), transparent);
    transition: left 0.5s ease;
}

.link-solar::before {
    background: linear-gradient(90deg, transparent, rgba(255, 160, 0, 0.25), transparent);
}

.link-card:hover::before,
.link-news:hover::before,
.link-solar:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: translateY(-10px);
    border-color: #00ff88;
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.3);
}

.link-news:hover {
    transform: translateY(-10px);
    border-color: #0099ff;
    box-shadow: 0 20px 40px rgba(0, 153, 255, 0.3);
}

.link-solar:hover {
    transform: translateY(-10px);
    border-color: #ff8c00;
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.4);
}

/* ── Icon ────────────────────────────────────────── */
.link-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    line-height: 1;
}

.link-solar .link-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* ── Headings inside cards ───────────────────────── */
.link-card h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #00ff88;
    margin-bottom: 15px;
}

.link-news h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #0099ff;
    margin-bottom: 15px;
}

.link-solar h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #ff9500;
    margin-bottom: 15px;
}

/* ── Paragraph inside cards ──────────────────────── */
.link-card p,
.link-news p,
.link-solar p {
    color: rgba(224, 231, 255, 0.7);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

/* ── Buttons ─────────────────────────────────────── */
.link-button {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(135deg, #00ff88, #0099ff);
    color: #0a0e17;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.link-news .link-button {
    background: linear-gradient(135deg, #0099ff, #00ff88);
}

.link-solar .link-button {
    background: linear-gradient(135deg, #ff8c00, #ffcc00);
    color: #1a0a00;
}

.link-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.4);
}

.link-solar .link-button:hover {
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.5);
}

/* ── External link (red/orange theme) ───────────── */
.external-link {
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.1), rgba(255, 170, 0, 0.1));
    border-color: rgba(255, 51, 102, 0.3);
}

.external-link:hover {
    border-color: #ff3366;
    box-shadow: 0 20px 40px rgba(255, 51, 102, 0.3);
}

.external-link h4 {
    color: #ff3366;
}

.external-link .link-button {
    background: linear-gradient(135deg, #ff3366, #ffaa00);
}

/* ── Footer ──────────────────────────────────────── */
footer {
    background: rgba(5, 8, 16, 0.95);
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    padding: 30px 40px;
    text-align: center;
    color: rgba(224, 231, 255, 0.5);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
    .logo {
        font-size: 1.8rem;
    }

    .about {
        padding: 25px;
    }

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

    .container {
        padding: 40px 20px;
    }
}

/* ── Animations ──────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.about, .link-card, .link-news, .link-solar {
    animation: fadeIn 0.6s ease-out both;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-news              { animation-delay: 0.35s; }
.link-solar             { animation-delay: 0.4s; }
