* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #1a1a1a;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    transition: background 0.3s ease, color 0.3s ease;
}

body.light-mode {
    background: #f0f0f0;
    color: #333333;
}

/* Glassmorphism Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}

.theme-toggle i {
    font-size: 1.2em;
    color: #ffffff;
}

body.light-mode .theme-toggle {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.18);
}

body.light-mode .theme-toggle i {
    color: #333333;
}

/* Header Section */
.header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 40px;
}

body.light-mode .header {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

body.light-mode .header img {
    border: 3px solid rgba(0, 0, 0, 0.2);
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

body.light-mode .header p {
    color: rgba(0, 0, 0, 0.7);
}

/* Skills Section */
.skills {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, height 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    z-index: 2;
    height: 60px;
}

body.light-mode .skill-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.skill-card:hover {
    transform: translateY(-5px);
    height: 120px;
}

.skill-card i {
    font-size: 1.5em;
    margin-right: 15px;
    vertical-align: middle;
}

.skill-card h3 {
    display: inline-block;
    font-size: 1.2em;
    color: #fff;
}

body.light-mode .skill-card h3 {
    color: #333;
}

.skill-card p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

body.light-mode .skill-card p {
    color: rgba(0, 0, 0, 0.7);
}

.skill-card:hover p {
    max-height: 100px;
    opacity: 1;
}

/* Background Animation Circles */
.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
    z-index: 1;
}

.circle:nth-child(1) {
    width: 200px;
    height: 200px;
    background: rgba(255, 100, 100, 0.4);
    top: 10%;
    left: 10%;
    animation-duration: 20s;
}

.circle:nth-child(2) {
    width: 150px;
    height: 150px;
    background: rgba(100, 255, 100, 0.4);
    top: 50%;
    right: 10%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.circle:nth-child(3) {
    width: 180px;
    height: 180px;
    background: rgba(100, 100, 255, 0.4);
    bottom: 10%;
    left: 20%;
    animation-duration: 22s;
    animation-delay: 4s;
}

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

/* Mobile Responsive */
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    .header img {
        width: 120px;
        height: 120px;
    }

    .header h1 {
        font-size: 2em;
    }

    .header p {
        font-size: 1em;
    }

    .skill-card h3 {
        font-size: 1.1em;
    }

    .theme-toggle {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}