body.sunset-mode .coin-front {
opacity: 0;
animation: none;
}

body.sunset-mode .coin-back {
opacity: 1;
transform: scale(1);
animation: none;
}

body.sunset-mode .tool-tags span {
background: rgba(255, 221, 184, 0.13);
border-color: rgba(255, 211, 106, 0.24);
color: #fff1dc;
}

body.sunset-mode {
--bg: #26113d;
--card: rgba(255, 221, 184, 0.12);
--blue: #ff7a45;
--cyan: #ffd36a;
--text: #fff8ef;
--muted: #f4d2bd;
--border: rgba(255, 211, 106, 0.24);
--particle: rgba(255, 214, 135, 0.86);
--particle-line: 255, 177, 109;
--particle-mouse: rgba(255, 229, 171, 0.36);
--profile-photo: url("/assets/img/foto-rahman-sunset-display.webp");
--profile-photo-position: center center;
}

body.sunset-mode {
background:
radial-gradient(circle at 90% 8%, rgba(255, 211, 106, 0.14), transparent 28%),
radial-gradient(circle at 12% 76%, rgba(255, 122, 69, 0.12), transparent 30%),
linear-gradient(
180deg,
#1c1232 0%,
#28163c 42%,
#351a38 100%
);
}

body.sunset-mode .hero::before {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(90deg, rgba(28, 18, 50, 0.88), rgba(28, 18, 50, 0.58) 36%, rgba(28, 18, 50, 0.16) 68%),
linear-gradient(180deg, rgba(28, 18, 50, 0.18), rgba(28, 18, 50, 0.84)),
var(--sunset-hero-image);
background-size: cover;
background-position: center right;
z-index: 0;
}

body.sunset-mode header {
background: rgba(38, 17, 61, 0.68);
border-bottom-color: rgba(255, 211, 106, 0.22);
}

body.sunset-mode .logo {
color: #fff7ed;
}

body.sunset-mode nav a {
color: #f4d2bd;
}

body.sunset-mode nav a:hover {
color: #ffe5ab;
}

body.sunset-mode .hero h1 span {
background: linear-gradient(90deg, #ff7a45, #ffd36a, #ffe5ab);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
}

body.sunset-mode .badge {
background: rgba(255, 229, 171, 0.12);
color: #ffe5ab;
border-color: rgba(255, 211, 106, 0.28);
}

body.sunset-mode .btn {
color: #fff7ed;
background: rgba(255, 221, 184, 0.10);
border-color: rgba(255, 211, 106, 0.24);
}

body.sunset-mode .btn.primary {
color: #301409;
background: linear-gradient(135deg, #ff7a45, #ffd36a);
box-shadow: 0 0 28px rgba(255, 142, 88, 0.34);
}

body.sunset-mode .hero-card,
body.sunset-mode .contact-box {
background: rgba(48, 24, 56, 0.28);
border-color: rgba(255, 211, 106, 0.28);
box-shadow:
inset 0 0 35px rgba(255, 229, 171, 0.055),
0 18px 45px rgba(54, 20, 49, 0.20);
}

body.sunset-mode .hero-card::before {
border-color: rgba(255, 211, 106, 0.20);
}

body.sunset-mode .hero-card::after {
background: linear-gradient(
90deg,
transparent,
rgba(255, 229, 171, 0.18),
transparent
);
}

body.sunset-mode .profile-frame {
background: linear-gradient(135deg, #ff7a45, #ffd36a, #ffb8a0);
box-shadow:
0 0 20px rgba(255, 211, 106, 0.50),
0 0 52px rgba(255, 122, 69, 0.24);
}

body.sunset-mode .profile-frame::before {
border-color: rgba(255, 229, 171, 0.30);
}

body.sunset-mode .profile-frame::after {
border-color: rgba(255, 122, 69, 0.18);
}

body.sunset-mode .coin-face {
background: #26113d;
}

body.sunset-mode .coin-front {
color: #ffd36a;
background: radial-gradient(circle, #6f2f4e, #26113d 72%);
}

body.sunset-mode .card {
background: rgba(48, 24, 56, 0.30);
border-color: rgba(255, 211, 106, 0.22);
}

body.sunset-mode .card:hover {
border-color: rgba(255, 229, 171, 0.46);
box-shadow: 0 0 32px rgba(255, 122, 69, 0.18);
}

body.sunset-mode .card i,
body.sunset-mode .title span,
body.sunset-mode .project-img i {
color: #ffd36a;
}

body.sunset-mode .project-img {
background: linear-gradient(135deg, rgba(255, 122, 69, 0.36), rgba(255, 211, 106, 0.18), rgba(91, 45, 114, 0.20));
border: 1px solid rgba(255, 211, 106, 0.22);
}

body.sunset-mode .about-photo {
background: linear-gradient(
135deg,
rgba(255, 122, 69, 0.56),
rgba(255, 211, 106, 0.46),
rgba(213, 95, 114, 0.36)
);
border: 1px solid rgba(255, 211, 106, 0.26);
box-shadow:
0 14px 35px rgba(213, 95, 114, 0.18),
inset 0 0 40px rgba(255, 229, 171, 0.22);
}

body.sunset-mode .about-photo i {
color: #ffe5ab;
}

body.sunset-mode .about-photo:hover {
border-color: rgba(255, 229, 171, 0.46);
box-shadow:
0 18px 45px rgba(255, 122, 69, 0.24),
inset 0 0 45px rgba(255, 229, 171, 0.30);
}

body.sunset-mode .skill {
background: rgba(255, 221, 184, 0.14);
border: 1px solid rgba(255, 211, 106, 0.26);
color: #fff1dc;
}

body.sunset-mode .socials a,
body.sunset-mode .theme-toggle {
color: #ffe5ab;
background: rgba(255, 221, 184, 0.10);
border-color: rgba(255, 211, 106, 0.24);
}

body.sunset-mode footer {
background: rgba(38, 17, 61, 0.42);
}

body.sunset-mode .blob.one {
background: radial-gradient(
circle,
rgba(255, 211, 106, 0.42),
rgba(255, 122, 69, 0.24),
transparent 70%
);
filter: blur(82px);
}

body.sunset-mode .blob.two {
background: radial-gradient(
circle,
rgba(213, 95, 114, 0.30),
rgba(91, 45, 114, 0.18),
transparent 70%
);
filter: blur(88px);
}

body.sunset-mode .blob.three {
top: -150px;
left: 20%;
width: 500px;
height: 500px;

background: radial-gradient(
circle,
rgba(91, 45, 114, 0.30),
rgba(255, 184, 160, 0.16),
transparent 70%
);

filter: blur(90px);
animation: blobMove 14s infinite alternate ease-in-out;
}

@media (max-width: 900px) {
body.sunset-mode .hero::before {
background:
linear-gradient(180deg, rgba(28, 18, 50, 0.76), rgba(28, 18, 50, 0.48) 42%, rgba(28, 18, 50, 0.92)),
var(--sunset-hero-image);
background-size: cover;
background-position: 72% center;
}

}

@media (max-width: 900px) {
body.sunset-mode .hero-text {
padding: 24px 20px;
border-radius: 26px;
background: rgba(33, 18, 48, 0.40);
border: 1px solid rgba(255, 211, 106, 0.18);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}

}

body.sunset-mode {
  --theme-menu-bg: rgba(38, 17, 61, 0.92);
  --theme-menu-hover: rgba(255, 229, 171, 0.10);
  --theme-menu-active: rgba(255, 177, 109, 0.16);
}

@media (max-width: 768px) {
body.sunset-mode .hero {
    min-height: auto;
    padding-top: 112px;
    gap: 28px;
  }

}

@media (max-width: 768px) {
body.sunset-mode .badge {
    font-size: 12px;
    padding: 7px 12px;
    margin-bottom: 16px;
  }

}

@media (max-width: 768px) {
body.sunset-mode .hero h1 {
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.16;
  }

}

@media (max-width: 768px) {
body.sunset-mode .hero h2 {
    font-size: 21px;
    margin-bottom: 14px;
  }

}

@media (max-width: 768px) {
body.sunset-mode .hero p {
    font-size: 14px;
    line-height: 1.75;
  }

}

@media (max-width: 768px) {
body.sunset-mode .buttons {
    gap: 10px;
  }

}

@media (max-width: 768px) {
body.sunset-mode .btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
  }

}

@media (max-width: 768px) {
body.sunset-mode .hero-card {
    min-height: 285px;
    border-radius: 28px;
  }

}

@media (max-width: 768px) {
body.sunset-mode .profile-frame {
    width: 190px;
    height: 190px;
  }

}

@media (max-width: 768px) {
body.sunset-mode .hero::before {
    background-position: 76% center;
  }

}

@media (max-width: 768px) {
body.sunset-mode .hero-card {
    background: rgba(48, 24, 56, 0.34);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

}

@media (max-width: 420px) {
body.sunset-mode .logo {
    max-width: calc(100vw - 132px);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

}

@media (max-width: 420px) {
body.sunset-mode .theme-toggle {
    width: 44px;
    min-width: 44px;
    height: 40px;
    padding: 0;
  }

}

@media (max-width: 420px) {
body.sunset-mode .hero h1 {
    font-size: 30px;
  }

}

body.sunset-mode .coin-back {
background: var(--profile-photo) var(--profile-photo-position) / cover no-repeat;
}

