body {
    background-color: #FFF8F0 !important;
    font-family: 'Rubik Bubbles', sans-serif !important;
}

.chill-main ~ header,
header {
    background: linear-gradient(135deg, #F5E6D3 0%, #E8D4B8 100%) !important;
    border-bottom: 3px solid #FFB5A7 !important;
    box-shadow: 0 4px 15px rgba(196, 167, 125, 0.15) !important;
}

header nav a {
    color: #8B7355 !important;
    font-weight: 600 !important;
}

header nav a:hover {
    color: #FFB5A7 !important;
    background-color: rgba(255, 181, 167, 0.1) !important;
}

header nav a.active {
    color: #FFB5A7 !important;
    background-color: rgba(255, 181, 167, 0.15) !important;
    font-weight: 700 !important;
}

header nav a.active::after {
    background-color: #FFB5A7 !important;
}

footer {
    background: linear-gradient(135deg, #E8D4B8 0%, #C4A77D 100%) !important;
    border-top: 3px solid #FFB5A7 !important;
}

footer_but a {
    color: #FFF8F0 !important;
}

footer_but a:hover {
    background-color: rgba(255, 181, 167, 0.2) !important;
    color: #ffffff !important;
}

footer_but a.active {
    background-color: #FFB5A7 !important;
    color: #ffffff !important;
}

.chill-hero {
    background: linear-gradient(135deg, #FFE5D0 0%, #FFD4B8 50%, #FFB5A7 100%);
    padding: 120px 20px 80px 20px;
    position: relative;
    overflow: hidden;
}

.chill-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 248, 240, 0.4);
    z-index: 1;
}

.chill-hero .hero-content {
    position: relative;
    z-index: 2;
}

.chill-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #8B7355;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.chill-hero p {
    font-size: 20px;
    color: #C4A77D;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

.chill-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.chill-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #8B7355;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.chill-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFB5A7 0%, #E8D4B8 100%);
    border-radius: 2px;
}

.chill-section {
    margin-bottom: 100px;
}

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.instrument-card {
    position: relative;
    height: 300px;
    perspective: 1000px;
    cursor: pointer;
}

.instrument-front,
.instrument-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.instrument-front {
    background: linear-gradient(135deg, #FFE5D0 0%, #FFD4B8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 3px solid #FFB5A7;
}

.instrument-card.expanded .instrument-front {
    transform: rotateY(180deg);
}

.instrument-back {
    background: #FFF8F0;
    transform: rotateY(180deg);
    overflow-y: auto;
    height: 300px;
    border: 3px solid #FFB5A7;
}

.instrument-card.expanded .instrument-back {
    transform: rotateY(0deg);
}

.instrument-icon-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 12px;
}

.instrument-front h3 {
    font-size: 24px;
    font-weight: 700;
    color: #8B7355;
    margin-bottom: 10px;
}

.instrument-front p {
    font-size: 16px;
    color: #C4A77D;
    margin-bottom: 20px;
    font-weight: 500;
}

.expand-but {
    background-color: #FFB5A7;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 181, 167, 0.3);
}

.expand-but:hover {
    background-color: #FF9F8E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 181, 167, 0.5);
}

.close-but {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FFE5D0;
    border: 2px solid #FFB5A7;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 24px;
    color: #8B7355;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-but:hover {
    background-color: #FFB5A7;
    color: #ffffff;
    border-color: #FFB5A7;
}

.instrument-img {
    width: 100%;
    max-width: 200px;
    margin: 0 auto 20px auto;
    display: block;
    border-radius: 12px;
}

.instrument-back h3 {
    font-size: 22px;
    font-weight: 700;
    color: #8B7355;
    margin-bottom: 15px;
    text-align: center;
}

.instrument-back p {
    font-size: 16px;
    color: #8B7355;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
    padding: 20px;
}

.instrument-audio {
    width: 100%;
    margin: 20px 0;
}

.fun-fact {
    background: linear-gradient(135deg, #FFF0F3 0%, #FFE4E9 100%);
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid #E8989F;
    margin-top: 20px;
}

.fun-fact strong {
    color: #E8989F;
}

.section-description {
    text-align: center;
    font-size: 16px;
    color: #C4A77D;
    margin-bottom: 40px;
    font-weight: 500;
}

.spotify-embeds {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.subsection-title {
    font-size: 24px;
    font-weight: 700;
    color: #8B7355;
    margin: 60px 0 30px 0;
    text-align: left;
    padding-left: 10px;
    border-left: 5px solid #FFB5A7;
}

.contribution-container {
    margin-bottom: 60px;
}

.contribution-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.contribution-header .subsection-title {
    margin: 0;
}

.last-updated {
    font-size: 13px;
    color: #C4A77D;
    background: #FFE5D0;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 500;
}

#github-contributions {
    text-align: center;
    padding: 30px;
    background: #FFF8F0;
    border-radius: 16px;
    border: 3px solid #FFB5A7;
    position: relative;
}

#github-contributions img {
    max-width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#github-contributions img.loaded {
    opacity: 1;
}

.subsection-title {
    color: #8B7355;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.repo-card {
    background: #FFF8F0;
    border: 3px solid #FFB5A7;
    border-radius: 16px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 167, 125, 0.1);
}

.repo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(196, 167, 125, 0.2);
}

.repo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.repo-icon {
    font-size: 24px;
}

.repo-name {
    font-size: 18px;
    font-weight: 700;
    color: #8B7355;
    margin: 0;
}

.repo-description {
    font-size: 14px;
    color: #C4A77D;
    line-height: 1.6;
    margin-bottom: 15px;
    min-height: 40px;
}

.repo-language {
    display: inline-block;
    background: #FFE5D0;
    color: #8B7355;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.repo-link {
   display: inline-block;
    background-color: #FFB5A7;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.repo-link:hover {
    background-color: #FF9F8E;
    transform: translateY(-2px);
}

.scratch-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.scratch-card {
    background: #FFF8F0;
    border: 3px solid #FFB5A7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(196, 167, 125, 0.1);
}

.scratch-card iframe {
    width: 100%;
    height: 402px;
    border: none;
}

.scratch-info {
    padding: 20px;
}

.scratch-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #8B7355;
    margin-bottom: 10px;
}

.scratch-info p {
    font-size: 14px;
    color: #C4A77D;
    line-height: 1.6;
    margin-bottom: 15px;
}

.scratch-link {
    display: inline-block;
    background-color: #FF8C42;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.scratch-link:hover {
    background-color: #FF7028;
    transform: translateY(-2px);
}

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.food-slider {
    display: flex;
    overflow-x: hidden;
    gap: 25px;
    padding: 20px 10px;
    scroll-behavior: smooth;
    width: 100%;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #FFB5A7;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.prev-btn { left: -20px; }
.next-btn { right: -20px; }

.nav-btn:hover { background: #8B7355; }

.food-card {
    min-width: 300px;
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(255, 181, 167, 0.2);
    scroll-snap-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #FFB5A7;
}

.food-card:hover {
    transform: scale(1.02);
}

.food-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.food-info {
    padding: 20px;
}

.food-info h3 {
    color: #8B7355;
    margin-bottom: 10px;
}

.food-info p {
    color: #C4A77D;
    font-size: 14px;
    line-height: 1.5;
}

.map-wrapper {
    padding: 40px 20px;
    border-radius: 20px;
    border: 3px solid #FFB5A7;
    display: flex;
    justify-content: center;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 800px;
}

.world-svg {
    width: 100%;
    height: autopx;
    opacity: 0.6;
    filter: sepia(0.5) hue-rotate(-30deg);
}

.map-label {
    position: absolute;
    font-size: 10px;
    font-weight: bold;
    color: #8B7355;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
}

.map-marker {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #FFB5A7;
    border: 1.5px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-marker::before {
    content: attr(data-name);
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #8B7355;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.map-marker:hover {
    background-color: #8B7355;
    transform: translate(-50%, -50%) scale(1.5);
    z-index: 100;
}

.map-marker:hover::before {
    opacity: 1;
}

.social-section {
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

.find-me-text {
    color: #8B7355;
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link img {
    width: 40px;
    height: 40px;
    filter: invert(85%) sepia(21%) saturate(952%) hue-rotate(314deg) brightness(101%) contrast(101%);
    
    transition: filter 0.3s ease;
}


.social-link:hover {
    transform: scale(1.2);
}

.social-link:hover img {
    filter: brightness(0); 
}

.drama-section {
    margin-bottom: 80px;
}

.drama-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #8B7355;
    margin-bottom: 40px;
    text-align: center;
}

.section-description {
    text-align: center;
    font-size: 16px;
    color: #C4A77D;
    margin-bottom: 40px;
}

.slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.drama-grid {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
}

.drama-grid::-webkit-scrollbar {
    display: none;
}

.drama-card {
    flex: 0 0 300px;
    background: #FFF8F0;
    border: 3px solid #FFB5A7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(196, 167, 125, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.drama-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(196, 167, 125, 0.25);
}

.drama-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.drama-info {
    padding: 20px;
}

.drama-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #8B7355;
    margin-bottom: 10px;
    line-height: 1.3;
}

.drama-info p {
    font-size: 14px;
    color: #8B7355;
    line-height: 1.6;
    margin-bottom: 15px;
}

drama_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px 20px 20px;
}

.drama-link {
    display: inline-block;
    background-color: #FFB5A7;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.drama-link:hover {
    background-color: #FF9F8E;
    transform: translateY(-2px);
}

.nav-drama-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #FFB5A7;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.nav-drama-btn:hover {
     background: #8B7355;
}

.drama-prev-btn {
    left: -20px;
}

.drama-next-btn {
    right: -20px;
}

@media (max-width: 768px) {
    .slider-wrapper {
        padding: 0 50px;
    }
    
    .drama-card {
        flex: 0 0 280px;
    }
    
    .drama-card img {
        height: 380px;
    }
    
    .nav-drama-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .slider-wrapper {
        padding: 0 45px;
    }
    
    .drama-card {
        flex: 0 0 250px;
    }
    
    .drama-card img {
        height: 350px;
    }
}

