@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Chakra+Petch:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #00a3ff;
    --secondary-color: #ff3d8b;
    --accent-color: #ffe53d;
    --dark-color: #111827;
    --darker-color: #0a0f16;
    --light-color: #f9fafb;
    --gray-color: #6b7280;
    --light-gray: #e5e7eb;
    --transition: all 0.3s ease;
    --glow-shadow: 0 0 10px rgba(0, 163, 255, 0.7);
    --deep-blue: #050e2d;
    --neon-blue: #00f2ff;
    --accent-blue: #0077ff;
    --dark-blue: #061638;
    --medium-blue: #0a2155;
    --light-blue: #1e3a70;
    --glow-color: rgba(0, 242, 255, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--darker-color);
    color: var(--light-color);
    overflow-x: hidden;
    line-height: 1.6;
}

.loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--darker-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.loading-animation .circle {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 5px;
    animation: bounce 1.5s infinite ease-in-out;
}

.loading-animation .circle:nth-child(1) {
    animation-delay: 0s;
    background-color: var(--primary-color);
}

.loading-animation .circle:nth-child(2) {
    animation-delay: 0.2s;
    background-color: var(--secondary-color);
}

.loading-animation .circle:nth-child(3) {
    animation-delay: 0.4s;
    background-color: var(--accent-color);
}

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

.loading-text {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.loading-progress {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-color);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background-color: rgba(10, 15, 22, 0.8);
}

header.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 15px 5%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-color);
    cursor: pointer;
}

.logo-text .highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-color);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover:before,
.nav-links a.active:before {
    width: 100%;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 5px 0;
    transition: var(--transition);
}

.section {
    padding: 120px 5%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

#home {
    padding-top: 80px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header .highlight {
    color: var(--primary-color);
}

.section-line {
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto;
    margin-top: 10px;
    position: relative;
}

.section-line:before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.home-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.greeting-container {
    flex: 1;
    min-width: 300px;
    animation: fadeInLeft 1s ease;
}

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

.name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.name .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.name .highlight:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 5px;
}

.tagline {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.primary-btn, .secondary-btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 163, 255, 0.4);
}

.primary-btn:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--glow-shadow);
}

.secondary-btn {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--glow-shadow);
}

        .card-game-container {
            flex: 1;
            min-width: 300px;
            display: flex;
            flex-direction: column;
            align-items: center;
            perspective: 1000px;
        }

        .cards-wrapper {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }

        .card {
            width: 150px;
            height: 200px;
            position: relative;
            cursor: pointer;
            transform-style: preserve-3d;
            perspective: 1000px;
        }

        .card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            transition: transform 0.6s;
        }
        
        .card.flip .card-inner {
            transform: rotateY(180deg);
        }

        .card-front, .card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .card-front {
            background: linear-gradient(45deg, var(--dark-color), var(--darker-color));
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card-back {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            transform: rotateY(180deg);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card-pattern {
            width: 80%;
            height: 80%;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 15%),
                radial-gradient(circle at 90% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 15%),
                radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 25%),
                radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 15%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 15%);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
        }

        .card-content {
            text-align: center;
            color: var(--light-color);
            padding: 20px;
        }

        .card-content i {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }

        .card-content h3 {
            font-size: 1.2rem;
            font-weight: 600;
        }

        .game-instructions {
            margin-top: 20px;
            font-style: italic;
            color: var(--gray-color);
        }

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    animation: fadeInLeft 1s ease;
}

.image-container {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 163, 255, 0.5), rgba(255, 61, 139, 0.5));
    opacity: 0.3;
    transition: var(--transition);
}

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

.image-container:hover .image-overlay {
    opacity: 0.5;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.2;
}

.about-text {
    flex: 1;
    min-width: 300px;
    animation: fadeInRight 1s ease;
}

.about-text .intro {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--light-gray);
}

.personal-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.info-item {
    margin-bottom: 10px;
}

.info-item .label {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 10px;
}

.about-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.download-btn, .contact-btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.download-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.contact-btn {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

.download-btn:hover, .contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-shadow);
}

.contact-btn:hover {
    background-color: var(--primary-color);
}

/* === SERVICES SECTION === */
.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(to bottom right, rgba(17, 24, 39, 0.8), rgba(10, 15, 22, 0.8));
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover:before {
    opacity: 0.1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--light-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.service-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.service-card p {
    margin-bottom: 25px;
    color: var(--gray-color);
}

.learn-more {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.learn-more i {
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--secondary-color);
}

.learn-more:hover i {
    transform: translateX(5px);
}

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

.skills-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 20px;
}

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

.skill-category {
    background: linear-gradient(to bottom right, rgba(17, 24, 39, 0.8), rgba(10, 15, 22, 0.8));
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.skill-category h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    position: relative;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    font-weight: 500;
}

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

.skill-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    position: relative;
    width: 0;
    transition: width 1.5s ease;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 30px;
    color: var(--light-color);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

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

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    cursor: pointer;
    height: 250px;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--light-color);
}

.portfolio-info p {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.portfolio-link {
    color: var(--light-color);
    background-color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.portfolio-link:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.solar-system-project {
    margin-top: 80px;
    text-align: center;
}

.solar-system-project h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color, #5d87ff);
}

.solar-system-project p {
    margin-bottom: 30px;
    color: var(--gray-color, #888);
}

.solar-system-container {
    width: 100%;
    height: 500px;
    background-color: var(--darker-color, #0a0a1a);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.planet-info {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(to bottom right, rgba(17, 24, 39, 0.8), rgba(10, 15, 22, 0.8));
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.planet-info h4 {
    color: var(--primary-color, #5d87ff);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

#planet-details {
    color: var(--light-gray, #ccc);
    font-style: italic;
}

.solar-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.solar-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.solar-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

#speed-control {
    width: 100px;
    cursor: pointer;
}

.planet-label {
    color: white;
    font-size: 0.8rem;
    position: absolute;
    pointer-events: none;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}
.error-message {
    color: #ff4444;
    padding: 20px;
    text-align: center;
    font-style: italic;
}

.cv-download {
    text-align: center;
    margin-bottom: 50px;
}

.download-cv-btn {
    padding: 12px 30px;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: var(--light-color);
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    transition: var(--transition);
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.download-cv-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    background-color: var(--secondary-color);
}

.cv-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 50px;
}

.cv-section {
    margin-bottom: 40px;
}

.cv-section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.cv-section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.cv-section-title i {
    font-size: 1.8rem;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid var(--darker-color);
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.5);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 5px;
}
.timeline-institution {
    font-weight: 600;
    color: var(--light-color);
    margin-bottom: 5px;
}

.timeline-content p {
    color: var(--light-gray);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-form {
    flex: 1;
    min-width: 280px;
}

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

.contact-icon {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.social-links, .footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link, .social-icon {
    font-size: 1.2rem;
    color: var(--light-color);
    transition: var(--transition);
}

.social-link:hover, .social-icon:hover {
    color: var(--primary-color);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--light-color);
    font-size: 1rem;
    resize: none;
}

.form-group label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: var(--darker-color);
    padding: 0 5px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-5px);
    background-color: var(--secondary-color);
}

footer {
    padding: 50px 5% 20px;
    background-color: #0a0f16;
    color: var(--gray-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

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

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 20px;
    font-size: 0.85rem;
    text-align: center;
}

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 999;
    transition: var(--transition);
    display: none;
}

.scroll-top.show {
    display: flex;
}

@media (max-width: 992px) {
    .section {
        padding: 80px 5%;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .timeline-item {
        margin-bottom: 30px;
    }
}
#robot3DContainer {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(to bottom, #020111 85%, #20202c 100%);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

canvas {
    display: block;
}

#robotControlPanel {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    z-index: 10;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

#robotControlPanel:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider-container label {
    color: #00ffff;
    margin-bottom: 5px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: rgba(0, 255, 255, 0.2);
    border-radius: 4px;
    outline: none;
    width: 120px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #00ffff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff;
    transition: all 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
}

#danceButton {
    background: rgba(0, 255, 255, 0.2);
    border: 1px solid #00ffff;
    color: #00ffff;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    outline: none;
}

#danceButton:hover {
    background: rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 10px #00ffff;
}

#particleContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        background-color: rgba(17, 24, 39, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0px 20px rgba(0, 0, 0, 0.3);
        height: calc(100vh - 70px);
        z-index: 1000;
        border-top-left-radius: 20px;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .greeting-text, .tagline {
        font-size: 1.1rem;
    }
    
    .solar-system-container {
        height: 350px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .cards-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .about-text .intro {
        font-size: 1.1rem;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: 20px;
        right: 20px;
    }
    
    .experience-badge .years {
        font-size: 1.8rem;
    }
    
    .experience-badge .text {
        font-size: 0.8rem;
    }
    
    .cv-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 4%;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .name {
        font-size: 2.2rem;
    }
    
    .cta-buttons, .about-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .primary-btn, .secondary-btn, .download-btn, .contact-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .image-container {
        max-width: 300px;
    }
    
    .experience-badge {
        width: 90px;
        height: 90px;
        bottom: 15px;
        right: 15px;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .experience-badge .text {
        font-size: 0.7rem;
    }
    
    .personal-info {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 25px;
    }
    
    .timeline-dot {
        left: -34px;
        width: 16px;
        height: 16px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
    
    .loading-text {
        font-size: 1.2rem;
    }
    
    .loading-progress {
        font-size: 1.8rem;
    }
}

@media (max-width: 380px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .greeting-text, .tagline {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-text .intro {
        font-size: 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .cv-section-title {
        font-size: 1.3rem;
    }
    
    .solar-system-container {
        height: 250px;
    }
}


.chat-bot-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    font-family: 'Chakra Petch', sans-serif;
}

.chat-bot-toggle {
    position: relative;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--dark-blue), var(--deep-blue));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 15px var(--glow-color), 0 0 30px rgba(0, 119, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.chat-bot-toggle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, var(--accent-blue) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 50%;
}

.chat-bot-toggle:hover::before {
    opacity: 0.2;
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.chat-bot-toggle:hover {
    transform: scale(1.1);
}

.chat-bot-toggle i {
    color: var(--neon-blue);
    font-size: 28px;
    filter: drop-shadow(0 0 5px var(--glow-color));
    animation: float 3s ease-in-out infinite;
    z-index: 1;
}

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

@keyframes pulse-ring {
    0% {
        transform: scale(0.7);
        opacity: 0.3;
    }
    50% {
        opacity: 0.1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff3a5e, #ff5252);
    color: white;
    font-size: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 82, 82, 0.6);
    animation: pulse-badge 1.5s infinite;
    z-index: 2;
}

@keyframes pulse-badge {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
    }
}

.chat-bot-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 370px;
    height: 520px;
    background: linear-gradient(to bottom, var(--dark-blue), var(--deep-blue));
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 242, 255, 0.2);
}

.chat-bot-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPgogIDxkZWZzPgogICAgPHBhdHRlcm4gaWQ9InBhdHRlcm4iIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+CiAgICAgIDxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InJnYmEoMCwgMjQyLCAyNTUsIDAuMDUpIi8+CiAgICA8L3BhdHRlcm4+CiAgPC9kZWZzPgogIDxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybikiLz4KPC9zdmc+') repeat;
    opacity: 0.5;
    pointer-events: none;
    border-radius: 15px;
    z-index: 0;
}

.chat-bot-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
    animation: window-appear 0.5s forwards;
}

@keyframes window-appear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-bot-header {
    padding: 15px;
    background: linear-gradient(135deg, var(--medium-blue), var(--dark-blue));
    color: white;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 242, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.chat-bot-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    animation: glow-line 3s infinite;
}

@keyframes glow-line {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.chat-bot-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 10px var(--glow-color);
    position: relative;
}

.chat-bot-avatar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-blue), transparent, var(--neon-blue), transparent);
    border-radius: 50%;
    z-index: -1;
    animation: rotate-border 3s linear infinite;
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.chat-bot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.chat-bot-avatar:hover img {
    transform: scale(1.15);
}

.chat-bot-info {
    flex: 1;
}

.chat-bot-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 0 5px var(--glow-color);
}

.status {
    font-size: 12px;
    display: flex;
    align-items: center;
}

.status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.status.online::before {
    background-color: #00ff73;
    box-shadow: 0 0 8px rgba(0, 255, 115, 0.8);
    animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.chat-bot-actions {
    display: flex;
}

.chat-bot-actions button {
    background: none;
    border: none;
    color: var(--neon-blue);
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    margin-left: 8px;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-bot-actions button:hover {
    background-color: rgba(0, 242, 255, 0.15);
    transform: scale(1.1);
    color: white;
}

.chat-bot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: transparent;
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 35%, rgba(10, 33, 85, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 75% 60%, rgba(0, 242, 255, 0.1) 0%, transparent 25%);
    scroll-behavior: smooth;
}

.chat-bot-messages::-webkit-scrollbar {
    width: 5px;
}

.chat-bot-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.chat-bot-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 255, 0.3);
    border-radius: 10px;
}

.chat-bot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 255, 0.5);
}

.message {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    animation: message-appear 0.3s forwards;
}

@keyframes message-appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-content {
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 80%;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    line-height: 1.5;
}

.bot-message .message-content {
    background: linear-gradient(135deg, var(--medium-blue), var(--dark-blue));
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    margin-right: auto;
    border-left: 2px solid var(--neon-blue);
    color: #e0e6ff;
}

.bot-message .message-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.05), transparent);
    border-radius: inherit;
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--accent-blue), var(--medium-blue));
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    margin-left: auto;
    border-right: 2px solid var(--neon-blue);
}

.message-time {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 5px;
    display: block;
}

.bot-message .message-time {
    text-align: left;
    color: rgba(224, 230, 255, 0.6);
}

.user-message .message-time {
    text-align: right;
    color: rgba(255, 255, 255, 0.6);
}

.chat-bot-input {
    padding: 15px;
    border-top: 1px solid rgba(0, 242, 255, 0.2);
    background-color: var(--dark-blue);
    position: relative;
    z-index: 10;
}

.chat-bot-input::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    z-index: 1;
}

.input-group {
    display: flex;
    align-items: center;
    background-color: rgba(10, 33, 85, 0.5);
    border-radius: 25px;
    padding: 5px 15px;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 242, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.input-group::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 242, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.input-group:focus-within {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.input-group:focus-within::before {
    opacity: 1;
    animation: pulse-input 2s infinite;
}

@keyframes pulse-input {
    0% { opacity: 0.1; transform: scale(0.8); }
    50% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.1; transform: scale(0.8); }
}

.attachment-btn {
    background: none;
    border: none;
    color: var(--neon-blue);
    font-size: 18px;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.attachment-btn:hover {
    transform: scale(1.2);
    color: white;
}

#chat-input {
    flex: 1;
    border: none;
    background: none;
    padding: 10px 0;
    outline: none;
    font-size: 14px;
    color: white;
    font-family: 'Chakra Petch', sans-serif;
    position: relative;
    z-index: 5;
}

#chat-input::placeholder {
    color: rgba(224, 230, 255, 0.5);
}

.send-btn {
    background: none;
    border: none;
    color: var(--neon-blue);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.send-btn:hover {
    transform: scale(1.15);
    color: white;
}

.send-btn:hover::before {
    transform: scale(1);
}

.send-btn i {
    position: relative;
    z-index: 1;
}

.quick-responses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-btn {
    border: 1px solid rgba(0, 242, 255, 0.3);
    background-color: rgba(10, 33, 85, 0.3);
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(224, 230, 255, 0.8);
    font-family: 'Chakra Petch', sans-serif;
    position: relative;
    overflow: hidden;
}

.quick-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-blue), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-btn:hover {
    background-color: rgba(0, 119, 255, 0.2);
    color: white;
    border-color: var(--neon-blue);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 242, 255, 0.2);
}

.quick-btn:hover::before {
    opacity: 0.2;
    animation: rotate-border 3s linear infinite;
}

.typing-indicator {
    display: flex;
    padding: 12px 15px;
    background: linear-gradient(135deg, var(--medium-blue), var(--dark-blue));
    border-radius: 18px;
    border-bottom-left-radius: 5px;
    max-width: 100px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    align-self: flex-start;
    position: relative;
    border-left: 2px solid var(--neon-blue);
}

.typing-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.05), transparent);
    border-radius: inherit;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(224, 230, 255, 0.5);
    margin: 0 3px;
    display: inline-block;
    animation: typing 1.5s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
    background: rgba(0, 242, 255, 0.7);
}

.typing-dot:nth-child(2) {
    animation-delay: 0.5s;
    background: rgba(0, 242, 255, 0.5);
}

.typing-dot:nth-child(3) {
    animation-delay: 1s;
    background: rgba(0, 242, 255, 0.3);
}

@keyframes typing {
    0% {
        transform: translateY(0px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-5px);
        opacity: 1;
        box-shadow: 0 5px 10px rgba(0, 242, 255, 0.5);
    }
    100% {
        transform: translateY(0px);
        opacity: 0.7;
    }
}

.message-content p {
    margin: 0;
    line-height: 1.5;
}

.bot-message .message-content p {
    position: relative;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.chat-bot-window::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(0, 242, 255, 0.05), 
        transparent);
    opacity: 0.3;
    pointer-events: none;
    animation: scanline 8s linear infinite;
    z-index: 5;
}

@media (max-width: 480px) {
    .chat-bot-window {
        width: 320px;
        height: 480px;
        bottom: 70px;
        right: 0;
    }
    
    .chat-bot-toggle {
        width: 55px;
        height: 55px;
    }
    
    .chat-bot-toggle i {
        font-size: 24px;
    }
    
    .chat-bot-header {
        padding: 12px;
    }
    
    .chat-bot-avatar {
        width: 38px;
        height: 38px;
    }
    
    .chat-bot-info h3 {
        font-size: 16px;
    }
    
    .quick-responses {
        gap: 5px;
    }
    
    .quick-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
}