/* === DESIGN SYSTEM === */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #12122a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-cyan: #00f0ff;
    --neon-purple: #7b2ff7;
    --text-primary: #e0e0ff;
    --text-secondary: #8888aa;
    --text-muted: #555577;
    --gradient-primary: linear-gradient(135deg, #00f0ff, #7b2ff7);
    --gradient-card: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(123, 47, 247, 0.1));
    --shadow-neon: 0 0 20px rgba(0, 240, 255, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

::selection {
    background: rgba(0, 240, 255, 0.3);
    color: #fff;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--neon-purple); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-cyan); }

/* === PARTICLES CANVAS === */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.6rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-logo .accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* === HERO === */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    margin-bottom: 1.5rem;
}

.greeting {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.name {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-typing {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    min-height: 2em;
}

.typing-cursor {
    color: var(--neon-cyan);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-icon {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.social-icon:hover {
    color: var(--neon-cyan);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--neon-cyan), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: var(--shadow-neon);
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* === SECTIONS === */
.section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

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

.container--narrow {
    max-width: 800px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header {
    padding-top: 10rem;
    padding-bottom: 2rem;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.text-center { text-align: center; }
.mt-8 { margin-top: 2rem; }

/* === ABOUT === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-photo-frame {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--gradient-card);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-photo-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.3;
    z-index: -1;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.about-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--neon-cyan);
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === SKILLS === */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    padding: 2rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    cursor: default;
    perspective: 800px;
    transform-style: preserve-3d;
}

.skill-card:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.1), 0 0 40px rgba(123, 47, 247, 0.1);
    background: var(--gradient-card);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.skill-emoji {
    filter: grayscale(0.3);
    transition: all 0.3s;
}

.skill-card:hover .skill-emoji {
    filter: grayscale(0);
    transform: scale(1.1);
}

.skill-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.skill-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* === PROJECTS GRID === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-purple);
    box-shadow: 0 10px 30px rgba(123, 47, 247, 0.15);
}

.project-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.05);
}

.project-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.project-card-body {
    padding: 1.5rem;
}

.project-card-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-card-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.tech-badge {
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.tech-badge-small {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.project-links {
    display: flex;
    gap: 0.5rem;
}

/* === FILTER BAR === */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.filter-btn:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

/* === NEWS === */
.news-filters {
    margin-bottom: 2rem;
}

.search-bar {
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: var(--neon-cyan);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.8rem;
}

.tag-btn {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-mono);
}

.tag-btn:hover {
    color: var(--neon-purple);
    border-color: var(--neon-purple);
}

.tag-btn.active {
    background: rgba(123, 47, 247, 0.15);
    color: var(--neon-purple);
    border-color: var(--neon-purple);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.news-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 1.5rem;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.news-card-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-card-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.news-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

/* === SINGLE ARTICLE === */
.article-header {
    text-align: center;
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-excerpt {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 1rem;
}

.article-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.article-image img {
    width: 100%;
    height: auto;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-body h2 { font-size: 1.8rem; margin: 2rem 0 1rem; color: var(--text-primary); }
.article-body h3 { font-size: 1.4rem; margin: 1.5rem 0 0.8rem; color: var(--text-primary); }
.article-body p { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { margin-bottom: 1.2rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.3rem; }
.article-body code {
    font-family: var(--font-mono);
    background: var(--glass-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
}
.article-body pre {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
}
.article-body a { color: var(--neon-cyan); text-decoration: underline; }
.article-body blockquote {
    border-left: 3px solid var(--neon-purple);
    padding-left: 1.2rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-style: italic;
}

.article-nav {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

/* === CONTACT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-card {
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-details li {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-details strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.2rem;
}

.contact-details a {
    color: var(--neon-cyan);
    text-decoration: none;
}

/* === FORM === */
.form-container {
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--neon-cyan);
}

.form-input::placeholder {
    color: var(--text-muted);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    font-size: 0.8rem;
    color: #ff4477;
}

.form-success {
    text-align: center;
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.form-success svg {
    color: var(--neon-cyan);
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.form-success p {
    color: var(--text-secondary);
}

/* === PAGINATION === */
.pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.pagination nav {
    display: flex;
    gap: 0.3rem;
}

.pagination a, .pagination span {
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.pagination a:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.pagination span[aria-current="page"] {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

/* === EMPTY STATE === */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

/* === FOOTER === */
.footer {
    position: relative;
    z-index: 1;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--neon-cyan);
}

/* === CUSTOM CURSOR === */
.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-cyan);
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    box-shadow: 0 0 15px var(--neon-cyan), 0 0 30px rgba(0, 240, 255, 0.3);
    mix-blend-mode: difference;
}

.custom-cursor.clicking {
    width: 30px;
    height: 30px;
    background: var(--neon-purple);
    box-shadow: 0 0 30px var(--neon-purple), 0 0 60px rgba(123, 47, 247, 0.4);
}

/* === RIPPLE CLICK EFFECT === */
.click-ripple {
    position: fixed;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    pointer-events: none;
    z-index: 99998;
    animation: rippleExpand 0.8s ease-out forwards;
}

@keyframes rippleExpand {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 200px; height: 200px; opacity: 0; }
}

/* === TILT 3D EXTENDED === */
.project-card, .news-card, .skill-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    position: relative;
}

.project-card::after, .news-card::after, .skill-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(0, 240, 255, 0.08), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.project-card:hover::after, .news-card:hover::after, .skill-card:hover::after {
    opacity: 1;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .name { font-size: 2.5rem; }
    .hero-typing { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-stats { justify-content: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
    .page-title { font-size: 2rem; }
    .footer .container { flex-direction: column; gap: 1rem; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 26, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        gap: 2rem;
    }

    .nav-links.open { right: 0; }
    .nav-toggle { display: flex; }
}
