*{margin:0;padding:0;}
body{margin:0;padding:0;padding-bottom:60px;font-family:sans-serif;background:#0f0f12;color:#ffffff;line-height:1.6;}
.hd, .mn, .ct, .ft{padding:0;display:block;width:90%;margin:0 auto;}
.hd{background:rgba(26, 26, 31, 0.95);border-bottom:1px solid #2a2a31;position:fixed;top:0;left:0;right:0;z-index:1000;backdrop-filter:blur(10px);padding:0 2em;}
.hd-content{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;}
div.logo{min-width:fit-content;display:flex;align-items:flex-end;}
.logo-text{font-size:28px;font-weight:700;text-decoration:none;color:#6aa0ff;transition:color 0.3s ease;position:absolute;left:98px;bottom:14px;}
.logo-icon{display:inline-block;vertical-align:middle;width:clamp(28px, 6vw, 48px);height:auto;margin-right:2em;}
.logo-icon svg{display:block;max-width:100%;height:auto;}
.logo-text:hover{color:#4a7cff;}
.mn ol{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:0;flex-wrap:nowrap;align-content:flex-start;list-style:none;}
.mn ol li a{display:block;padding:0.5em 1em;text-decoration:none;color:#b8b8c3;font-size:1.1em;font-weight:700;border-bottom:1px solid transparent;transition:all 0.3s ease;}
.mn ol li a:hover{background:#2a2a31;color:#6aa0ff;border-bottom-color:#6aa0ff;}
/* ===== MAIN CONTENT ===== */
main.ct{padding:4rem 0;margin-top:80px;}
.ct section{display:flex;flex-direction:column;width:88%;margin:0 auto 2rem auto;padding:2rem;border:1px solid #2a2a31;border-radius:0.5em;background:#1a1a1f;transition:border-color 0.3s ease;}
.ct section:hover{border-color:#6aa0ff;}
.msg {
background:#2a2a31;
color:#6aa0ff;
padding:3rem;
font-size:1.2rem;
font-weight:700;
font-family: 'Inter', sans-serif;
font-color:#bbd4ff;
font-style: bold;
border:4px solid #33d724;
border-radius:0.7em;
text-align:center;
position:fixed;
top:50%;
left:50%;
transform:translate(-50%,-50%);
z-index:2000;
box-shadow:0 8px 20px 0 rgba(90, 132, 209, 0.805);
opacity:1;
animation:msg-fadeout 3s forwards;
pointer-events:none;
}
@keyframes msg-fadeout {
0% {opacity:1;}
80% {opacity:1;}
100% {opacity:0;}
}
/* ===== HERO SECTION ===== */
#hero{min-height:400px;justify-content:center;align-items:center;text-align:center;background:linear-gradient(135deg, #1a1a1f 0%, #2a2a31 100%);position:relative;overflow:hidden;}
#hero::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url('https://via.placeholder.com/1920x1080/1a1a1f/6aa0ff?text=Background') center/cover;opacity:0.3;z-index:1;}
#hero > *{position:relative;z-index:2;}
.hero-title{font-size:clamp(2rem, 5vw, 3.6rem);font-weight:700;color:#ffffff;margin-bottom:1rem;}
.hero-highlight{color:#6aa0ff;}
.hero-subtitle{font-size:clamp(1.2rem, 3vw, 2rem);color:#b8b8c3;margin-bottom:1.5rem;}
.hero-description{font-size:1.1rem;color:#9a9aa3;margin-bottom:2rem;max-width:600px;margin-left:auto;margin-right:auto;}
.hero-buttons{display:flex;flex-direction:column;gap:1rem;align-items:center;}
@media (min-width:768px){.hero-buttons{flex-direction:row;justify-content:center;}}
/* ===== BUTTONS ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:0.75rem 1.5rem;border-radius:8px;text-decoration:none;font-weight:600;transition:all 0.3s ease;border:none;cursor:pointer;min-width:160px;}
.btn-primary{background:#6aa0ff;color:#ffffff;}
.btn-primary:hover{background:#4a7cff;transform:translateY(-2px);}
.btn-outline{background:transparent;color:#6aa0ff;border:2px solid #6aa0ff;}
.btn-outline:hover{background:#6aa0ff;color:#ffffff;transform:translateY(-2px);}
/* ===== SECTIONS CONTENT ===== */
.section-title{font-size:2.5rem;font-weight:700;color:#ffffff;margin-bottom:2rem;text-align:center;}
.section-subtitle{font-size:1.5rem;font-weight:600;color:#6aa0ff;margin-bottom:1rem;}
.section-text{color:#b8b8c3;line-height:1.7;margin-bottom:1.5rem;}
/* ===== ABOUT SECTION ===== */
#about{flex-direction:row;align-items:flex-start;gap:2rem;}
@media (max-width:768px){#about{flex-direction:column;}}
.about-image{flex:1;display:flex;justify-content:center;}
.about-img{width:100%;max-width:300px;border-radius:8px;object-fit:cover;}
.about-content{flex:2;}
.about-tags{display:flex;flex-wrap:wrap;gap:0.5rem;margin-top:1.5rem;}
.about-tags span{padding:0.5rem 1rem;background:#6aa0ff;color:#ffffff;border-radius:8px;font-size:0.9rem;font-weight:600;}
/* ===== SKILLS SECTION ===== */
#skills{flex-direction:column;}
.skills-grid{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:center;}
.skill-card{flex:1 1 300px;min-width:300px;background:#2a2a31;padding:1.5rem;border-radius:8px;text-align:center;transition:all 0.3s ease;border:1px solid #3a3a43;}
.skill-card:hover{transform:translateY(-5px);border-color:#6aa0ff;}
.skill-icon{font-size:2.5rem;color:#6aa0ff;margin-bottom:1rem;}
.skill-title{font-size:1.3rem;font-weight:700;color:#ffffff;margin-bottom:1rem;}
.skill-description{color:#b8b8c3;line-height:1.6;}
.skill-tags{display:flex;flex-wrap:wrap;gap:0.5rem;margin-top:1rem;justify-content:center;}
.skill-tags span{padding:0.25rem 0.75rem;background:#3a3a43;color:#b8b8c3;border-radius:4px;font-size:0.8rem;}
/* ===== PORTFOLIO SECTION ===== */
#portfolio{flex-direction:column;}
.portfolio-grid{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:center;}
.project-card{flex:1 1 350px;min-width:300px;background:#2a2a31;border-radius:8px;overflow:hidden;transition:all 0.3s ease;border:1px solid #3a3a43;}
.project-card:hover{transform:translateY(-5px);border-color:#6aa0ff;}
.project-image{width:100%;height:200px;object-fit:cover;}
.project-content{padding:1.5rem;}
.project-title{font-size:1.3rem;font-weight:700;color:#ffffff;margin-bottom:0.5rem;}
.project-description{color:#b8b8c3;margin-bottom:1rem;line-height:1.6;}
.project-tags{display:flex;flex-wrap:wrap;gap:0.5rem;margin-bottom:1rem;}
.project-tags span{padding:0.25rem 0.75rem;background:#3a3a43;color:#b8b8c3;border-radius:4px;font-size:0.8rem;}
.project-link{color:#6aa0ff;text-decoration:none;font-weight:600;transition:color 0.3s ease;}
.project-link:hover{color:#4a7cff;}
/* ===== CONTACT SECTION ===== */
#contact{flex-direction:row;align-items:flex-start;gap:2rem;}
@media (max-width:768px){#contact{flex-direction:column;}}
.contact-info{flex:1;}
.contact-form{flex:1;}
.contact-item{display:flex;align-items:center;gap:1rem;margin-bottom:1rem;}
.contact-icon{color:#6aa0ff;font-size:1.2rem;}
.form-group{margin-bottom:1.5rem;}
.form-label{display:block;margin-bottom:0.5rem;color:#ffffff;font-weight:600;}
.form-input,
.form-textarea{width:100%;padding:0.75rem;background:#2a2a31;border:1px solid #3a3a43;border-radius:8px;color:#ffffff;transition:border-color 0.3s ease;}
.form-input:focus,
.form-textarea:focus{outline:none;border-color:#6aa0ff;}
.form-textarea{resize:vertical;min-height:120px;}
/* ===== SOCIAL SECTION ===== */
#social{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:1rem;margin-top:2rem;}
#social span{color:#b8b8c3;font-size:0.9rem;font-weight:600;}
.social-links{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:1rem;}
.social-links img{width:20px;height:20px;object-fit:contain;}
.social-links a{color:#4a7cff;border-radius:50%;background:#6aa1ff81;padding:0.5rem;display:flex;align-items:center;justify-content:center;transition:color 0.3s ease;border: 1px solid #e3e3fa;width:40px;height:40px;}
.social-links a:hover{color:#4a7cff;background:#e3e3fa8e;border: 1px solid #6aa0ff;}
/* ===== FOOTER ===== */
.ft{position:fixed;bottom:0;left:0;height:46px;max-height:48px;width:100%;background:#1a1a1f;border-top:1px solid #2a2a31;}
small.muted{position:absolute;bottom:0;padding-left:32px;}
span#lang{position:absolute;right:25px;;bottom:9px;}
span#lang a{color:#b8b8c3;font-weight:600;}
span#lang a:hover{color:#6aa0ff;}

/* ===== RESPONSIVE ===== */
@media (max-width:768px){.hd, .mn, .ct, .ft{width:95%;}.ct section{width:95%;padding:1.5rem;}.mn ol{flex-direction:column;gap:0.5rem;}.mn ol li a{text-align:center;}}
/* ===== ANIMATIONS ===== */
@keyframes fadeIn{from{opacity:0;transform:translateY(20px);}to{opacity:1;transform:translateY(0);}}.ct section{animation:fadeIn 0.6s ease-out;}
/* ===== CUSTOM SCROLLBAR ===== */
/* ===== ERROR PAGES ===== */
.error-page{min-height:60vh;display:flex;justify-content:center;align-items:center;text-align:center;}
.error-content{max-width:600px;padding:2rem;}
.error-title{font-size:8rem;font-weight:700;color:#6aa0ff;margin-bottom:1rem;line-height:1;}
.error-subtitle{font-size:2rem;font-weight:600;color:#ffffff;margin-bottom:1rem;}
.error-description{font-size:1.1rem;color:#b8b8c3;margin-bottom:2rem;line-height:1.6;}
.error-actions{display:flex;flex-direction:column;gap:1rem;align-items:center;}
@media (min-width:768px){.error-actions{flex-direction:row;justify-content:center;}}