:root {
    --primary-color: #4FB6E3;
    --primary-dark: #3A90BA;
    --primary-light: #9DDAF2;
    --secondary-color: #A7E8BD;
    --accent-color: #FFD977;
    --accent-light: #FFECB4;
    --background-color: #FFFFFF;
    --surface-color: #F8F8FF;
    --surface-color-light: #EEFAFF;
    --text-color: #5A5A5A;
    --text-color-dim: #8E8E8E;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --sand-color: #F5E1B2;
    
    --border-radius: 20px;
    --card-shadow: 0 4px 0 rgba(0, 0, 0, 0.07);
    --transition-speed: 0.3s;
    
    --font-primary: 'Poppins', sans-serif;
    --font-code: 'Roboto Mono', monospace;
}

[data-theme="dark"] {
    --primary-color: #4FB6E3;
    --primary-dark: #3A90BA;
    --primary-light: #6FC2EB;
    --secondary-color: #8ECCA2;
    --accent-color: #FFD977;
    --accent-light: #FFE194;
    --background-color: #121212;
    --surface-color: #1E1E1E;
    --surface-color-light: #2D2D2D;
    --text-color: #E0E0E0;
    --text-color-dim: #ABABAB;
    --success-color: #66BB6A;
    --warning-color: #FFA726;
    --error-color: #EF5350;
    --sand-color: #D4BC83;
    
    --card-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
}

.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.theme-switch {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 24px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--surface-color-light);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sun-icon, .moon-icon {
    position: absolute;
    top: 4px;
    font-size: 14px;
}

.sun-icon {
    right: 5px;
    color: #FFD977;
}

.moon-icon {
    left: 5px;
    color: #ABABAB;
    opacity: 0;
}

input:checked + .slider {
    background-color: var(--primary-dark);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
}

body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar, .code-wrapper, .project-card, .example-card, .contact-form,
.hero, .about, .skills, .projects, .examples, .contact, 
.modal-content, pre, code, .footer-content, .footer-bottom {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

body::before {
    background-image: 
        radial-gradient(circle at 25% 10%, var(--primary-light) 2%, transparent 3%),
        radial-gradient(circle at 75% 30%, var(--secondary-color) 2%, transparent 3%),
        radial-gradient(circle at 50% 80%, var(--accent-light) 2%, transparent 3%);
    background-size: 150px 150px;
    animation: floatingDots1 60s linear infinite;
}

body::after {
    background-image: 
        radial-gradient(circle at 60% 25%, var(--accent-light) 2%, transparent 3%),
        radial-gradient(circle at 30% 60%, var(--primary-light) 2%, transparent 3%),
        radial-gradient(circle at 80% 40%, var(--secondary-color) 2%, transparent 3%);
    background-size: 120px 120px;
    opacity: 0.7;
    animation: floatingDots2 45s linear infinite;
}

@keyframes floatingDots1 {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 150px 150px;
    }
}

@keyframes floatingDots2 {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -120px 120px;
    }
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-light);
}

button {
    font-family: var(--font-primary);
    cursor: pointer;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    border: none;
    font-size: 16px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 6px 0 var(--primary-dark);
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 9px 0 var(--primary-dark);
    color: white;
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: 0 6px 0 rgba(58, 144, 186, 0.2);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 9px 0 rgba(58, 144, 186, 0.3);
}

.hero-buttons .btn {
    min-width: 180px;
    text-align: center;
    position: relative;
}

.hero-buttons .btn::after {
    content: none;
    display: none;
}

.hero-buttons .primary-btn::after {
    content: none;
    display: none;
}

.hero-buttons .secondary-btn::after {
    content: none;
    display: none;
}

.hero-buttons .btn:hover::after {
    opacity: 0;
}

@media screen and (max-width: 480px) {
    .hero-buttons .btn {
        min-width: 100%;
    }
}

.btn-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
    z-index: 1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background-color: rgba(30, 30, 30, 0.95);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
    margin: 0;
}

.logo h1 .letter {
    display: inline-block;
    animation: gentleBounce 2.5s ease-in-out infinite;
    transform-origin: bottom center;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    position: relative;
    padding: 5px 0;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
}

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

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

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    font-size: 18px;
    color: var(--text-color-dim);
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--surface-color-light);
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
    background-color: var(--primary-light);
    color: white;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}


@media screen and (max-width: 768px) {
    .navbar-container {
        padding: 15px 20px;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        gap: 20px;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        padding: 10px 0;
        font-size: 18px;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .social-links {
        display: none;
    }
}


.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 150px 5% 80px;
    z-index: 1;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 40%;
    padding-right: 40px;
    animation: acPopup 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 700px;
    animation: acPopup 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    position: relative;
}

@media screen and (max-width: 1024px) {
    .hero {
        padding: 120px 5% 60px;
    }
    
    .hero-content {
        max-width: 90%;
        padding-right: 0;
        margin-bottom: 40px;
    }
}


@keyframes acPopup {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    70% {
        opacity: 1;
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-element {
    opacity: 0;
}

.popup-element.visible {
    animation: acPopup 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.floating-element {
    position: absolute;
    z-index: 2;
    animation: float 10s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.8;
    filter: drop-shadow(0 3px 2px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.floating-element:hover {
    transform: scale(1.2);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(-8px) rotate(-3deg);
    }
    75% {
        transform: translateY(-20px) rotate(2deg);
    }
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at bottom left, rgba(79, 182, 227, 0.1), transparent 40%),
        radial-gradient(circle at top right, rgba(255, 217, 102, 0.1), transparent 40%);
    z-index: -1;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}

.code-wrapper {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 650px;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary-light);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), 
                box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s ease;
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.code-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(79, 182, 227, 0.3);
    border-color: var(--primary-color);
}

.code-wrapper::before {
    content: 'GameFramework.luau';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    z-index: 1;
    font-family: var(--font-code);
    font-size: 14px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.code-wrapper::after {
    content: none;
}

.code-wrapper pre {
    margin-top: 30px;
    font-family: var(--font-code);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;
    background: transparent;
    padding: 10px;
    counter-reset: line;
}

.code-wrapper code {
    color: var(--text-color);
    background: transparent;
    white-space: pre;
    tab-size: 4;
}

.code-line {
    display: inline-block;
    width: 100%;
    transition: background-color 0.3s ease;
}

.highlight-line {
    background-color: rgba(79, 182, 227, 0.1);
    padding-left: 10px;
    margin-left: -10px;
    animation: highlightLine 2s ease-in-out;
}

@keyframes highlightLine {
    0% {
        background-color: transparent;
        border-left-color: transparent;
    }
    50% {
        background-color: rgba(79, 182, 227, 0.2);
        border-left-color: var(--primary-color);
    }
    100% {
        background-color: rgba(79, 182, 227, 0.1);
        border-left-color: var(--primary-color);
    }
}

.hero-buttons .btn {
    --x-pos: 0px;
    --y-pos: 0px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 1;
}

.hero-buttons .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x-pos) var(--y-pos), rgba(255, 255, 255, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.hero-buttons .btn:hover::after {
    opacity: 1;
}

.hero-buttons .btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.hero-buttons .btn:hover i {
    transform: translateX(3px);
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-buttons .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hero-buttons .btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.hero-buttons .btn:hover i {
    transform: translateX(3px);
}

.hero-buttons .primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.hero-buttons .primary-btn:hover::before {
    left: 100%;
}

.hero-buttons .secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 182, 227, 0.2), transparent);
    transition: left 0.7s ease;
}

.hero-buttons .secondary-btn:hover::before {
    left: 100%;
}

.about {
    padding: 100px 10%;
    background-color: var(--surface-color);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    z-index: 10;
}

[data-theme="dark"] .about::before {
    background: linear-gradient(90deg, transparent, var(--primary-dark), transparent);
}

.about-container {
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
    gap: 40px;
}

.about-stats-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
    width: 100%;
}

.stat-item {
    text-align: center;
    background-color: var(--background-color);
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-color-dim);
    line-height: 1.4;
}

.about-content {
    background-color: var(--background-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.bio-header {
    margin-bottom: 30px;
}

.bio-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.bio-separator {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
    margin-bottom: 15px;
}

.bio-subtitle {
    font-size: 18px;
    color: var(--text-color-dim);
    font-weight: 500;
}

.bio-text {
    margin-bottom: 30px;
}

.bio-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color-dim);
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.bio-specialties {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.specialty-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.specialty-item:hover {
    transform: translateX(10px);
}

.specialty-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.specialty-icon i {
    font-size: 24px;
    color: white;
}

.specialty-content {
    flex: 1;
}

.specialty-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.specialty-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color-dim);
    margin: 0;
}

.about-cta {
    display: flex;
    gap: 20px;
    margin-top: auto;
}

@media screen and (max-width: 768px) {
    .about {
        padding: 80px 5%;
    }
    
    .about-stats-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-content {
        padding: 30px 20px;
    }
    
    .bio-specialties {
        gap: 15px;
    }
    
    .specialty-item {
        padding: 15px;
    }
    
    .about-cta {
        flex-direction: column;
    }
    
    .about-cta .btn {
        width: 100%;
        text-align: center;
    }
}

.key-points {
    display: none;
}

.point {
    display: none;
}

.skills {
    padding: 100px 10%;
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    z-index: 10;
}

[data-theme="dark"] .skills::before {
    background: linear-gradient(90deg, transparent, var(--primary-dark), transparent);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category {
    padding: 30px;
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.skill-header i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 16px;
}

.skill-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.skill-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color-dim);
    font-size: 14px;
}

.skill-list li:last-child {
    border-bottom: none;
}

.projects {
    padding: 100px 10%;
    background-color: var(--surface-color);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    z-index: 10;
}

[data-theme="dark"] .projects::before {
    background: linear-gradient(90deg, transparent, var(--primary-dark), transparent);
}

.projects-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 0 rgba(79, 182, 227, 0.1);
}

.project-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 25px;
    height: 25px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFD977"><path d="M12,2L15.09,8.26L22,9.27L17,14.14L18.18,21.02L12,17.77L5.82,21.02L7,14.14L2,9.27L8.91,8.26L12,2M12,5.5L10.16,9.21L5.88,9.82L8.94,12.84L8.14,17.1L12,15.15L15.86,17.1L15.06,12.84L18.12,9.82L13.84,9.21L12,5.5Z"/></svg>');
    background-size: cover;
    transform: rotate(-15deg);
}

.project-card::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234FB6E3"><path d="M12,2L15.09,8.26L22,9.27L17,14.14L18.18,21.02L12,17.77L5.82,21.02L7,14.14L2,9.27L8.91,8.26L12,2M12,5.5L10.16,9.21L5.88,9.82L8.94,12.84L8.14,17.1L12,15.15L15.86,17.1L15.06,12.84L18.12,9.82L13.84,9.21L12,5.5Z"/></svg>');
    background-size: cover;
    transform: rotate(15deg);
}

.project-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

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

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

.project-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--background-color), transparent);
    z-index: 1;
}

.project-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.project-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.project-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--accent-light);
    color: var(--text-color);
    align-self: flex-start;
}

.project-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color-dim);
    margin-bottom: 10px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    background-color: var(--surface-color-light);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: white;
    transition: all 0.3s ease;
}

.project-link-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.featured-project {
    grid-column: 1 / -1;
}

.featured-project .project-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 400px;
}

.featured-project .project-image {
    height: 100%;
}

.featured-project .project-content {
    padding: 40px;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    z-index: 2;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.project-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-size: 12px;
    color: var(--text-color-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

@media screen and (min-width: 768px) {
    .projects-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .projects-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .featured-project {
        grid-column: span 3;
    }
}

@media screen and (max-width: 767px) {
    .featured-project .project-card {
        grid-template-columns: 1fr;
    }
    
    .featured-project .project-image {
        height: 250px;
    }
}

.examples {
    padding: 100px 10% 80px;
    position: relative;
}

.examples::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    z-index: 10;
}

[data-theme="dark"] .examples::before {
    background: linear-gradient(90deg, transparent, var(--primary-dark), transparent);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.example-card {
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.example-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.example-header i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 16px;
}

.example-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.example-card p {
    font-size: 14px;
    color: var(--text-color-dim);
    margin-bottom: auto;
}

.flair-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    width: 100%;
}

.flair-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    background-color: var(--surface-color-light);
    color: var(--text-color-dim);
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 32px;
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(50% - 4px);
    box-sizing: border-box;
    flex-grow: 0;
    flex-shrink: 0;
}

.flair-tag:nth-child(n+5) {
    display: none;
}

.view-code-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 0 var(--primary-dark);
    text-transform: uppercase;
    width: 100%;
}

.view-code-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 0 var(--primary-dark);
}

.view-code-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 var(--primary-dark);
}

.code-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.modal-content {
    background-color: var(--background-color);
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: hidden;
    padding: 30px 30px 40px 30px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    border: 2px solid var(--primary-color);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.close-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0;
    padding: 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
    height: 40px;
    text-align: left;
}

.modal-content h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background-color: var(--primary-color);
    border-radius: 2px;
    margin-right: 2px;
}

.modal-content pre {
    font-family: var(--font-code);
    font-size: 14px;
    line-height: 1.5;
    overflow-x: auto;
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid var(--primary-light);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
    margin-top: 10px;
}

.modal-content code {
    display: block;
    color: var(--text-color);
    tab-size: 4;
    background: transparent;
}

.pre-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--surface-color-light);
    padding: 10px 15px;
    border-radius: 8px 8px 0 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color-dim);
    border: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.language-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-indicator::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
}


.contact {
    position: relative;
    padding: 100px 10%;
    background-color: var(--surface-color);
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    z-index: 10;
}

[data-theme="dark"] .contact::before {
    background: linear-gradient(90deg, transparent, var(--primary-dark), transparent);
}

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


.card-style {
    position: relative;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    padding: 30px;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border: 2px solid var(--primary-light);
}

[data-theme="dark"] .card-style {
    background-color: var(--background-color);
    border-color: var(--primary-dark);
}

.card-style:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 0 rgba(79, 182, 227, 0.1);
}

.card-style::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 25px;
    height: 25px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFD977"><path d="M12,2L15.09,8.26L22,9.27L17,14.14L18.18,21.02L12,17.77L5.82,21.02L7,14.14L2,9.27L8.91,8.26L12,2M12,5.5L10.16,9.21L5.88,9.82L8.94,12.84L8.14,17.1L12,15.15L15.86,17.1L15.06,12.84L18.12,9.82L13.84,9.21L12,5.5Z"/></svg>');
    background-size: cover;
    transform: rotate(-15deg);
}

.card-style::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234FB6E3"><path d="M12,2L15.09,8.26L22,9.27L17,14.14L18.18,21.02L12,17.77L5.82,21.02L7,14.14L2,9.27L8.91,8.26L12,2M12,5.5L10.16,9.21L5.88,9.82L8.94,12.84L8.14,17.1L12,15.15L15.86,17.1L15.06,12.84L18.12,9.82L13.84,9.21L12,5.5Z"/></svg>');
    background-size: cover;
    transform: rotate(15deg);
}


.contact-intro {
    margin-bottom: 20px;
}

.contact-intro-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-intro-header i {
    font-size: 28px;
    color: var(--primary-color);
    margin-right: 16px;
}

.contact-intro-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-intro p {
        font-size: 16px;
    color: var(--text-color-dim);
    line-height: 1.6;
    margin-bottom: 25px;
}

.typing-text-container {
    background-color: var(--surface-color-light);
    border-radius: 12px;
    padding: 15px 20px;
    position: relative;
    border-left: 3px solid var(--primary-color);
    margin-top: 20px;
}

.typing-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    animation: typing 1s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}


.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 auto;
}

.centered-contact-methods {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.centered-contact-methods .example-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    min-height: auto;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.centered-contact-methods .example-card .example-header {
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
    flex-direction: column;
    gap: 10px;
}

.centered-contact-methods .example-card .example-header i {
    margin-right: 0;
    font-size: 28px;
}

.contact-method-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 0 var(--primary-dark);
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
    width: 100%;
}

@media screen and (max-width: 992px) {
    .centered-contact-methods {
        flex-wrap: wrap;
    }
    
    .centered-contact-methods .example-card {
        flex: 0 0 100%;
        max-width: 350px;
    }
}

@media screen and (min-width: 768px) {
    .contact-container {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .centered-contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .centered-contact-methods .example-card {
        width: 100%;
        max-width: 450px;
    }
}

.contact-method-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    background-color: var(--surface-color-light);
    padding: 10px 15px;
    border-radius: 6px;
    margin: 10px 0 20px;
    border-left: 3px solid var(--primary-color);
}

.contact-method-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 0 var(--primary-dark);
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
}

.contact-method-link:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 0 var(--primary-dark);
    color: white;
}

.contact-method-link::before {
    content: none;
}

.contact-method-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    margin: 10px 0 20px;
}


.contact-form-container {
    grid-column: 1 / -1;
}

.contact-form-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-form-header i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 16px;
}

.contact-form-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--primary-light);
    border-radius: 10px;
    font-size: 16px;
    background-color: var(--surface-color-light);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 182, 227, 0.2);
    background-color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(90, 90, 90, 0.4);
}

#contactForm .btn {
    margin-top: 10px;
    padding: 15px 30px;
    font-size: 16px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

#contactForm .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}

#contactForm .btn:hover::before {
    left: 100%;
}


.floating-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-leaf {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23A7E8BD"><path d="M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z"/></svg>');
    background-size: cover;
    opacity: 0.7;
    animation: leafFloat 10s ease-in-out infinite;
}

@keyframes leafFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(10deg); }
    50% { transform: translateY(5px) rotate(5deg); }
    75% { transform: translateY(-10px) rotate(-5deg); }
}


.error-message {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}


@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes successPulse {
    0% { transform: scale(1); box-shadow: var(--card-shadow); }
    50% { transform: scale(1.02); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); }
    100% { transform: scale(1); box-shadow: var(--card-shadow); }
}

.success-pulse {
    animation: successPulse 1s ease;
}


@media screen and (min-width: 768px) {
    .contact-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-intro {
        grid-column: span 2;
    }
    
    .contact-form-container {
        grid-column: span 2;
    }
}

@media screen and (max-width: 768px) {
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}


footer {
    background-color: var(--surface-color);
    padding: 80px 10% 20px;
    position: relative;
    border-top: 3px solid var(--primary-light);
}

footer::before {
    display: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
}

.footer-content::before {
    content: '';
}

.footer-logo h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.footer-logo p {
    font-size: 14px;
    color: var(--text-color-dim);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-nav h3,
.footer-social h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav ul li a {
    font-size: 14px;
    color: var(--text-color-dim);
    transition: color var(--transition-speed) ease;
}

.footer-nav ul li a:hover {
    color: var(--primary-light);
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    font-size: 20px;
    color: var(--text-color-dim);
    transition: transform var(--transition-speed) ease, color var(--transition-speed) ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-color-dim);
}


@media screen and (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding: 160px 10% 80px;
        gap: 60px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .contact-content {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .nav-links,
    .nav-right {
        display: none;
    }

    .navbar {
        padding: 20px 5%;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .projects-container,
    .examples-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
    }
}


.logo::before {
    content: '🍃';
    position: absolute;
    font-size: 20px;
    top: -10px;
    right: -25px;
    animation: leafFloat 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes leafFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5px, -5px) rotate(10deg); }
    50% { transform: translate(10px, 0) rotate(5deg); }
    75% { transform: translate(5px, 5px) rotate(-5deg); }
}


.skill-category, .project-card, .example-card, .contact-form, .point, .code-wrapper {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-light);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.skill-category:hover, .project-card:hover, .example-card:hover, .point:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 0 rgba(79, 182, 227, 0.1);
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    border: none;
    font-size: 16px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 6px 0 var(--primary-dark);
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 9px 0 var(--primary-dark);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: 0 6px 0 rgba(58, 144, 186, 0.2);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 9px 0 rgba(58, 144, 186, 0.3);
}

.hero-buttons .btn {
    min-width: 180px;
    text-align: center;
    position: relative;
}

.hero-buttons .btn::after {
    content: none;
    display: none;
}

.hero-buttons .primary-btn::after {
    content: none;
    display: none;
}

.hero-buttons .secondary-btn::after {
    content: none;
    display: none;
}

.hero-buttons .btn:hover::after {
    opacity: 0;
}

@media screen and (max-width: 480px) {
    .hero-buttons .btn {
        min-width: 100%;
    }
}


.about::before, .projects::before, .skills::before, .examples::before, .contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    z-index: 10;
}

[data-theme="dark"] .about::before, 
[data-theme="dark"] .projects::before, 
[data-theme="dark"] .skills::before, 
[data-theme="dark"] .examples::before, 
[data-theme="dark"] .contact::before {
    background: linear-gradient(90deg, transparent, var(--primary-dark), transparent);
}


.section-header {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-header.visible {
    transform: translateY(0);
    opacity: 1;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 3px;
}

.dialog-card {
    position: relative;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1);
    border: 2px solid var(--text-color);
}

.dialog-card::after {
    content: '▼';
    position: absolute;
    bottom: -15px;
    left: 20px;
    font-size: 20px;
    color: var(--text-color);
}

.hero {
    overflow: hidden;
}

.floating-leaf {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23A7E8BD"><path d="M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z"/></svg>');
    background-size: cover;
    opacity: 0.7;
    z-index: -1;
    animation: leafFall 15s linear infinite;
}

@keyframes leafFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) rotate(360deg);
        opacity: 0;
    }
}


.project-card {
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 25px;
    height: 25px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFD977"><path d="M12,2L15.09,8.26L22,9.27L17,14.14L18.18,21.02L12,17.77L5.82,21.02L7,14.14L2,9.27L8.91,8.26L12,2M12,5.5L10.16,9.21L5.88,9.82L8.94,12.84L8.14,17.1L12,15.15L15.86,17.1L15.06,12.84L18.12,9.82L13.84,9.21L12,5.5Z"/></svg>');
    background-size: cover;
    transform: rotate(-15deg);
}

.project-card::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234FB6E3"><path d="M12,2L15.09,8.26L22,9.27L17,14.14L18.18,21.02L12,17.77L5.82,21.02L7,14.14L2,9.27L8.91,8.26L12,2M12,5.5L10.16,9.21L5.88,9.82L8.94,12.84L8.14,17.1L12,15.15L15.86,17.1L15.06,12.84L18.12,9.82L13.84,9.21L12,5.5Z"/></svg>');
    background-size: cover;
    transform: rotate(15deg);
}


::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--surface-color-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
    border: 3px solid var(--surface-color-light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}


.footer-content {
    position: relative;
}

.footer-content::before {
    content: '';
}


.contact-form {
    position: relative;
    background-color: #FFFFFF;
    border: 3px solid var(--text-color);
    border-radius: 15px;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -15px;
    width: 30px;
    height: 30px;
    background-color: #FFFFFF;
    border-left: 3px solid var(--text-color);
    border-bottom: 3px solid var(--text-color);
    transform: rotate(45deg);
}


.form-group input,
.form-group textarea {
    border-radius: 10px;
    border: 2px solid var(--primary-light);
    background-color: var(--surface-color-light);
    transition: all 0.3s ease;
    padding: 15px;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 4px rgba(79, 182, 227, 0.2);
    border-color: var(--primary-color);
}

.form-group label {
    margin-left: 5px;
    display: inline-block;
    padding: 0 5px;
    background-color: var(--surface-color-light);
    position: relative;
    top: 10px;
    z-index: 1;
    font-size: 14px;
    color: var(--primary-color);
}


.nav-links a::before {
    content: '';
}

.nav-links a:hover::before,
.nav-links a.active::before {
    opacity: 1;
}


.section-header {
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background-color: var(--accent-color);
}

.form-group.focused label {
    color: var(--primary-color);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--error-color);
    background-color: rgba(244, 67, 54, 0.03);
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.error-message {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes successPulse {
    0% { transform: scale(1); box-shadow: var(--card-shadow); }
    50% { transform: scale(1.02); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); }
    100% { transform: scale(1); box-shadow: var(--card-shadow); }
}

.success-pulse {
    animation: successPulse 1s ease;
}


code {
    font-family: var(--font-code);
    tab-size: 4;
}


p code, li code, h1 code, h2 code, h3 code {
    background-color: var(--surface-color-light);
    color: var(--primary-color);
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.9em;
}


.hljs-keyword {
    color: var(--primary-color); 
    font-weight: 500;
}

.hljs-string {
    color: #4caf50; 
}

.hljs-comment {
    color: var(--text-color-dim); 
    font-style: italic;
}

.hljs-function {
    color: #3A90BA; 
    font-weight: 500;
}

.hljs-number {
    color: #ff9800; 
}

.hljs-operator {
    color: var(--primary-dark);
    font-weight: 500;
}

.hljs-property {
    color: #f44336; 
}

.code-wrapper .hljs-keyword,
.code-wrapper .hljs-function,
.code-wrapper .hljs-string,
.code-wrapper .hljs-number {
    position: relative;
    z-index: 1;
}

.code-wrapper .hljs-keyword::after,
.code-wrapper .hljs-function::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(79, 182, 227, 0.2);
    z-index: -1;
    border-radius: 2px;
}

.code-wrapper .hljs-string::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(76, 175, 80, 0.2);
    z-index: -1;
    border-radius: 2px;
}

.code-wrapper .hljs-number::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 152, 0, 0.2);
    z-index: -1;
    border-radius: 2px;
}

.code-wrapper::before {
    content: 'GameFramework.luau';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    z-index: 1;
    font-family: var(--font-code);
    font-size: 14px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.code-wrapper::after {
    content: none;
}

[data-theme="dark"] .floating-element {
    filter: drop-shadow(0 3px 5px rgba(255, 255, 255, 0.15));
}

.dark-mode-leaf {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFD977"><path d="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"/></svg>') !important;
    opacity: 0.7;
}

[data-theme="dark"] .logo::before {
    content: '🌙';
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

pre code.hljs {
    display: block;
    overflow-x: auto;
    padding: 1em;
}

.code-wrapper pre code.hljs {
    background: transparent;
    padding: 0;
}

.video-card {
    position: relative;
    cursor: pointer;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent white;
    margin-left: 5px;
}

.video-card:hover .play-button {
    transform: scale(1);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.video-modal.active {
    display: flex;
    animation: acPopup 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.video-container {
    width: 90%;
    max-width: 800px;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 0;
    position: relative;
    box-shadow: var(--card-shadow);
    border: 2px solid var(--primary-color);
    overflow: hidden;
}

.video-container::before {
    content: none;
}

.video-container video {
    width: 100%;
    border-radius: 0;
    margin: 0;
    display: block;
}

.video-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.video-close:hover {
    color: var(--primary-color);
}

.video-title {
    text-align: center;
    margin-top: 30px;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
}

.video-dialog {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border: 2px solid var(--text-color);
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 14px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    max-width: 80%;
    text-align: center;
}

.video-dialog::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

.video-card:hover .video-dialog {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

.ac-character {
    position: absolute;
    right: -80px;
    bottom: 0;
    width: 80px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: 10;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.video-container:hover .ac-character {
    transform: translateY(0);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-header h2::before, 
.section-header h2::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background-color: var(--accent-color);
}

.underline {
    display: none;
}

.stat-tooltip {
    position: absolute;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform: translateY(10px);
    z-index: 100;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.stat-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent var(--primary-color) transparent;
}

#languages-stat {
    position: relative;
}

#languages-stat:hover .stat-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
}

.scroll-top-btn:active {
    transform: translateY(-2px);
}

.navbar.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98);
}

[data-theme="dark"] .navbar.scrolled {
    background-color: rgba(30, 30, 30, 0.98);
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.modal-tab {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.7;
    text-align: center;
}

.modal-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 15%;
    width: 70%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.modal-tab.active {
    opacity: 1;
}

.modal-tab.active::after {
    transform: scaleX(1);
}

.tab-content-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: calc(90vh - 150px);
    margin-top: 1.5rem;
    padding: 0;
    box-sizing: border-box;
}

.video-container, .code-container {
    display: none;
    width: 100%;
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
}

.video-container.active, .code-container.active {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

.demo-video {
    width: 100%;
    border-radius: 0;
    background-color: #000;
    max-height: 400px;
    border: none;
    object-fit: contain;
    display: block;
}

.no-video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background-color: rgba(0,0,0,0.05);
    color: var(--text-color-light);
    border-radius: 0;
    font-style: italic;
    border: none;
    margin: 0;
}

.video-container video:focus {
    outline: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.code-container pre {
    margin: 0 !important;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: auto;
    border-radius: 0 0 8px 8px;
    border: 2px solid var(--primary-color);
    border-top: none;
    width: 100%;
    box-sizing: border-box;
    padding: 0 !important;
}

[data-theme="dark"] .no-video-placeholder {
    background-color: rgba(255,255,255,0.05);
}

.code-container {
    margin-bottom: 20px;
    width: 100%;
}

.code-container .hljs {
    background-color: var(--surface-color-light);
    border-radius: 0 0 8px 8px;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
    border: 3px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
    border: 3px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .code-container .hljs {
    background-color: #282c34;
}

[data-theme="dark"] .pre-header {
    border-color: var(--primary-dark);
    border-bottom-color: var(--primary-color);
    background-color: #282c34;
}

[data-theme="dark"] .code-container pre {
    border-color: var(--primary-dark);
}

code.hljs {
    display: block;
    width: 100%;
    padding: 0;
    white-space: pre;
}

.code-container pre code.hljs {
    background-color: var(--surface-color-light) !important;
    border-radius: 0 0 8px 8px;
    padding: 15px !important;
    width: 100% !important;
    box-sizing: border-box;
    margin: 0 !important;
    display: block !important;
}

[data-theme="dark"] .code-container pre code.hljs {
    background-color: #282c34 !important;
}

.example-card {
    padding: 30px;
    position: relative;
}

.flair-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.flair-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    background-color: var(--surface-color-light);
    color: var(--text-color-dim);
    font-weight: 500;
}

.flair-tag.tech {
    background-color: rgba(79, 182, 227, 0.1);
    color: var(--primary-color);
}

.flair-tag.complexity {
    background-color: rgba(167, 232, 189, 0.1);
    color: var(--secondary-color);
}

.flair-tag.complexity-basic {
    background-color: rgba(167, 232, 189, 0.1);
    color: #4caf50;
}

.flair-tag.complexity-intermediate {
    background-color: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.flair-tag.complexity-advanced {
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.code-wrapper code .code-line {
    counter-increment: line;
    display: inline-block;
    width: 100%;
}

.code-wrapper code .code-line::before {
    content: counter(line);
    display: inline-block;
    width: 20px;
    margin-right: 12px;
    color: var(--text-color-dim);
    opacity: 0.5;
    text-align: right;
    user-select: none;
}

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

.code-wrapper code::after {
    content: '|';
    font-weight: 100;
    font-size: 16px;
    color: var(--primary-color);
    animation: blink 1s step-end infinite;
    display: var(--show-cursor, inline);
}
