* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.5s ease, color 0.3s ease, transform 0.3s ease;
}

:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --accent-color: #4a6cf7;
    --section-bg: #f5f8ff;
    --shadow: rgba(0, 0, 0, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.9);
    --skill-bg: #ffffff;
    --footer-bg: #f5f8ff;
}

.dark-mode {
    --bg-color: #121212;
    --text-color: #f0f0f0;
    --accent-color: #6d8cff;
    --section-bg: #1e1e1e;
    --shadow: rgba(0, 0, 0, 0.3);
    --nav-bg: rgba(30, 30, 30, 0.9);
    --skill-bg: #2d2d2d;
    --footer-bg: #1e1e1e;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px var(--shadow);
    animation: slideDown 0.8s ease-out;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo span {
    color: var(--accent-color);
}

.nav-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-icons a {
    color: var(--text-color);
    font-size: 20px;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
    overflow: hidden;
}

.nav-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-icons a:hover::before {
    left: 0;
}

.nav-icons a:hover {
    color: white;
    transform: translateY(-3px) scale(1.1);
}

.theme-toggle, .admin-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle::before, .admin-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.theme-toggle:hover::before, .admin-toggle:hover::before {
    left: 0;
}

.theme-toggle:hover, .admin-toggle:hover {
    color: white;
    transform: translateY(-3px) scale(1.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.animate-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-color);
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeIn 2s ease-in-out;
}

/* Interactive Robot Guide */
.mini-robot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.mini-robot {
    width: 80px;
    height: 90px;
    background: linear-gradient(145deg, #667eea, #764ba2);
    border-radius: 15px;
    position: relative;
    box-shadow: 
        0 10px 25px rgba(102, 126, 234, 0.3),
        inset 0 -5px 10px rgba(0, 0, 0, 0.1),
        inset 0 5px 10px rgba(255, 255, 255, 0.4);
    border: 3px solid #5a6fd8;
    cursor: pointer;
    animation: mini-robot-bounce 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.dark-mode .mini-robot {
    background: linear-gradient(145deg, #764ba2, #667eea);
    box-shadow: 
        0 10px 25px rgba(118, 75, 162, 0.4),
        inset 0 -5px 10px rgba(0, 0, 0, 0.2),
        inset 0 5px 10px rgba(255, 255, 255, 0.1);
}

.mini-robot:hover {
    transform: scale(1.1);
    animation: mini-robot-happy 0.6s ease-in-out;
}

.mini-antenna {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mini-antenna-top {
    width: 5px;
    height: 15px;
    background: #5a6fd8;
    border-radius: 3px 3px 0 0;
    position: relative;
    animation: mini-antenna-wiggle 2s ease-in-out infinite;
}

.mini-antenna-top::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #ff6b9d;
    border-radius: 50%;
    animation: mini-antenna-glow 1.5s ease-in-out infinite;
}

.mini-screen {
    position: absolute;
    top: 15px;
    left: 10px;
    right: 10px;
    bottom: 25px;
    background: linear-gradient(145deg, #a8c0ff, #8a9fff);
    border-radius: 10px;
    border: 2px solid #8a9fff;
    overflow: hidden;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1);
}

.mini-eyes {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
}

.mini-eye {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #5a6fd8;
    animation: mini-blink 5s infinite;
}

.mini-pupil {
    width: 10px;
    height: 10px;
    background: #5a6fd8;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.mini-mouth-container {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 15px;
}

.mini-mouth {
    width: 100%;
    height: 8px;
    background: #5a6fd8;
    border-radius: 0 0 6px 6px;
    position: relative;
    animation: mini-mouth-smile 5s ease-in-out infinite;
}

.mini-speech-bubble {
    position: absolute;
    bottom: 100px;
    right: 90px;
    background: white;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    color: #5a6fd8;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    border: 2px solid #5a6fd8;
    min-width: 120px;
    text-align: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.mini-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 15px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.dark-mode .mini-speech-bubble {
    background: #2d2d2d;
    color: #8a9fff;
    border-color: #8a9fff;
}

.dark-mode .mini-speech-bubble::after {
    border-top-color: #2d2d2d;
}

.mini-speech-bubble.show {
    opacity: 1;
}

/* Robot Animations */
@keyframes mini-robot-bounce {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(1deg);
    }
    75% {
        transform: translateY(-3px) rotate(-1deg);
    }
}

@keyframes mini-robot-happy {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes mini-blink {
    0%, 45%, 55%, 100% {
        height: 20px;
        border-radius: 50%;
    }
    48%, 52% {
        height: 2px;
        border-radius: 50%;
    }
}

@keyframes mini-mouth-smile {
    0%, 100% {
        height: 8px;
        border-radius: 0 0 6px 6px;
    }
    50% {
        height: 10px;
        border-radius: 0 0 8px 8px;
    }
}

@keyframes mini-antenna-wiggle {
    0%, 100% {
        transform: translateX(-50%) rotate(0deg);
    }
    25% {
        transform: translateX(-50%) rotate(3deg);
    }
    75% {
        transform: translateX(-50%) rotate(-3deg);
    }
}

@keyframes mini-antenna-glow {
    0%, 100% {
        opacity: 0.8;
        box-shadow: 0 0 8px #ff6b9d;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px #ff6b9d, 0 0 20px #ff6b9d;
    }
}

/* Section Styles */
.about-section, .skills-section, .projects-section, .contact-section, .reviews-section {
    background-color: var(--section-bg);
    border-radius: 15px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 10px 30px var(--shadow);
    transform: translateY(50px);
    opacity: 0;
    animation: slideUpFade 1s ease-out forwards;
}

.about-section {
    animation-delay: 0.5s;
}

.skills-section {
    animation-delay: 1.2s;
}

.projects-section {
    animation-delay: 1.8s;
}

.contact-section {
    animation-delay: 2.4s;
}

.reviews-section {
    animation-delay: 3s;
}

.animate-slide-left {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50px);
    opacity: 0;
    animation: slideLeft 1s ease-out 0.8s forwards;
}

.animate-slide-right {
    font-size: 18px;
    margin-bottom: 15px;
    transform: translateX(50px);
    opacity: 0;
    animation: slideRight 1s ease-out 1s forwards;
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.highlight:hover::after {
    width: 100%;
}

/* Skills Section */
.skills-intro {
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.skill-item {
    background: var(--skill-bg);
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    position: relative;
    overflow: hidden;
}

.skill-item::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.5s ease;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px var(--shadow);
}

.animate-bounce-in {
    opacity: 0;
    transform: scale(0.3);
    animation: bounceIn 0.8s ease-out forwards;
}

.skill-icon {
    font-size: 50px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.skill-item:hover .skill-icon {
    transform: scale(1.2) rotate(10deg);
}

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

.html-color { color: #e34f26; }
.css-color { color: #1572b6; }
.js-color { color: #f7df1e; }
.c-color { color: #00599c; }
.python-color { color: #3776ab; }
.java-color { color: #007396; }

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: var(--skill-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: floatUp 0.8s ease-out forwards;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow);
}

.project-image {
    height: 180px;
    background: linear-gradient(145deg, var(--accent-color), #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image i {
    font-size: 60px;
    color: white;
    opacity: 0.8;
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.project-description {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-color);
    opacity: 0.8;
}

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

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #3a5bd9;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-item {
    background: var(--skill-bg);
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px var(--shadow);
}

.animate-float {
    opacity: 0;
    transform: translateY(30px);
    animation: floatUp 0.8s ease-out forwards;
}

.contact-icon {
    font-size: 50px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.2);
}

.contact-name {
    font-size: 18px;
    font-weight: 600;
}

.instagram-color { color: #E4405F; }
.github-color { color: #333; }
.linkedin-color { color: #0A66C2; }
.email-color { color: #EA4335; }

.dark-mode .github-color { color: #f0f0f0; }

/* Reviews Section */
.rating-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 30px;
    background: var(--skill-bg);
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow);
}

.rating-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-color);
    text-align: center;
}

.stars {
    display: flex;
    gap: 10px;
}

.star {
    font-size: 40px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.star:hover {
    transform: scale(1.1);
}

.star.active {
    color: #ffc107;
    transform: scale(1.1);
}

.rating-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
}

.name-input, .comment-input {
    padding: 12px 15px;
    border: 1px solid var(--section-bg);
    border-radius: 6px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.name-input:focus, .comment-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(74, 108, 247, 0.2);
}

.comment-input {
    min-height: 80px;
    resize: vertical;
}

.submit-rating {
    padding: 12px 25px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-rating:hover {
    background: #3a5bd9;
    transform: translateY(-2px);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.review-card {
    background: var(--skill-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px var(--shadow);
    animation: fadeIn 0.5s ease-out;
    position: relative;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.reviewer {
    font-weight: 600;
    color: var(--accent-color);
}

.review-date {
    font-size: 14px;
    opacity: 0.7;
}

.review-stars {
    color: #ffc107;
    margin-bottom: 10px;
    font-size: 18px;
}

.review-text {
    font-size: 16px;
    line-height: 1.5;
}

.no-reviews {
    text-align: center;
    padding: 40px;
    color: var(--text-color);
    opacity: 0.7;
    font-style: italic;
}

/* Admin Panel */
.admin-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--section-bg);
    box-shadow: -5px 0 15px var(--shadow);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.admin-panel.active {
    right: 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--shadow);
    background: var(--accent-color);
    color: white;
}

.admin-header h3 {
    margin: 0;
}

.close-admin {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-admin:hover {
    background: rgba(255, 255, 255, 0.2);
}

.admin-content {
    padding: 20px;
}

.admin-content h4 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.admin-reviews {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-review-item {
    background: var(--skill-bg);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
}

.admin-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.admin-review-name {
    font-weight: 600;
    color: var(--accent-color);
}

.admin-review-date {
    font-size: 12px;
    opacity: 0.7;
}

.admin-review-stars {
    color: #ffc107;
    margin-bottom: 8px;
}

.admin-review-text {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.delete-review {
    background: #ff4757;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.delete-review:hover {
    background: #ff3742;
}

.no-admin-reviews {
    text-align: center;
    padding: 20px;
    color: var(--text-color);
    opacity: 0.7;
    font-style: italic;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--footer-bg);
    margin-top: 40px;
    box-shadow: 0 -2px 10px var(--shadow);
    animation: fadeIn 2s ease-in-out;
}

/* Animation Keyframes */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

@keyframes slideUpFade {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
    80% {
        opacity: 0.9;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(74, 108, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(106, 17, 203, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 219, 88, 0.1) 0%, transparent 50%);
    animation: backgroundShift 10s ease-in-out infinite;
    z-index: -1;
}

.dark-mode::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(74, 108, 247, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(106, 17, 203, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 219, 88, 0.05) 0%, transparent 50%);
}

@keyframes backgroundShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(180deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    .animate-title {
        font-size: 36px;
    }
    
    .animate-fade-in {
        font-size: 18px;
    }
    
    .about-section, .skills-section, .contact-section, .projects-section, .reviews-section {
        padding: 25px;
    }
    
    .skills-grid, .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .skill-icon, .contact-icon {
        font-size: 40px;
    }
    
    .mini-robot-container {
        bottom: 20px;
        right: 20px;
    }
    
    .mini-robot {
        width: 60px;
        height: 70px;
    }
    
    .mini-speech-bubble {
        bottom: 80px;
        right: 70px;
        font-size: 10px;
        padding: 8px 12px;
        min-width: 100px;
    }
    
    .star {
        font-size: 35px;
    }
    
    .admin-panel {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .skills-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-icons {
        gap: 10px;
    }
    
    .nav-icons a, .theme-toggle, .admin-toggle {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .mini-robot-container {
        bottom: 15px;
        right: 15px;
    }
    
    .mini-robot {
        width: 50px;
        height: 60px;
    }
    
    .mini-speech-bubble {
        bottom: 70px;
        right: 60px;
        font-size: 9px;
        padding: 6px 10px;
        min-width: 90px;
    }
    
    .mini-screen {
        top: 10px;
        left: 5px;
        right: 5px;
        bottom: 15px;
    }
    
    .mini-eye {
        width: 15px;
        height: 15px;
    }
    
    .mini-pupil {
        width: 7px;
        height: 7px;
    }
    
    .mini-mouth-container {
        width: 25px;
    }
    
    .star {
        font-size: 30px;
    }
}
