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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    color: #f5f5f5;
    line-height: 1.6;
    scroll-behavior: smooth;
    position: relative;
    overflow-x: hidden;
}

/* Animated subtle background dots */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBG 200s linear infinite;
    z-index: -1;
}

@keyframes moveBG {
    from { transform: translate(0,0); }
    to { transform: translate(-100px,-100px); }
}

/* Floating social bar */
.social-bar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.social-bar a {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 0.5rem 1rem;
    color: #f5f5f5;
    background: rgba(30,30,30,0.7);
    margin: 0.2rem 0;
    text-decoration: none;
    border-radius: 0 6px 6px 0;
    transition: all 0.3s;
}

.social-bar a:hover {
    color: #00ffff;
    background: rgba(30,30,30,0.9);
}

/* Header */
header {
    text-align: center;
    padding: 4rem 2rem;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

header p {
    color: #aaa;
    font-weight: 300;
    margin-bottom: 2rem;
}

.contact-links a {
    color: #f5f5f5;
    text-decoration: none;
    margin: 0 0.7rem;
    font-weight: 400;
    transition: color 0.3s;
}

.contact-links a:hover {
    color: #00ffff;
}

.download-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    border: 2px solid #f5f5f5;
    color: #f5f5f5;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 500;
}

.download-btn:hover {
    background-color: #f5f5f5;
    color: #111;
}

/* Section cards */
main section {
    margin: 3rem auto;
    background: rgba(30, 30, 30, 0.85);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 900px;
}

main section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

main h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.3rem;
}

ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

.projects a {
    color: #00ffff;
    margin-left: 0.5rem;
    font-size: 0.95rem;
}

.projects a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 2rem;
    color: #777;
    border-top: 1px solid #222;
}

footer a {
    color: #00ffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }
    main section h2 {
        font-size: 1.5rem;
    }
    .social-bar {
        display: none; /* hide on mobile for simplicity */
    }
}
