* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter;
}

:root {
    --primary-color: #F5F3ED;
    --secondary-color: #7A967A;
    --title-color: #333333;
    --text-color: #5A5A5A;
    --text2-color: #8C8C8C;
    --input-color: #ECEAE4;
}

body {
    background: var(--primary-color);
    color: var(--title-color);
    transition: background 0.4s ease, color 0.4s ease;
}

html.dark {
    --primary-color: #1a1d1a;
    --title-color: #e0e0d8;
    --text-color: #b0b0a8;
    --text2-color: #888880;
    --input-color: #2a2d2a;
}

html.dark .navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

html.dark .card {
    background: #242724;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(122, 150, 122, 0.08);
}

html.dark .card h3 {
    opacity: 0.8;
}

html.dark .about-content {
    background: var(--primary-color);
}

html.dark .card button {
    background: #5a7a5a;
}

html.dark .skills-hobbies,
html.dark .cards-row .card {
    background: #242724;
}

html.dark .bar {
    background: linear-gradient(90deg, #2a2d2a 0%, #303430 100%);
}

html.dark .chat-box {
    background: #2a2d2a;
    border-color: rgba(122, 150, 122, 0.08);
}

html.dark .msg {
    background: #303430;
}

html.dark .msg.bot {
    background: rgba(122, 150, 122, 0.12);
}

html.dark #chatInput {
    background: #2a2d2a;
    border-color: #3a3d3a;
    color: var(--text-color);
}

html.dark .product {
    background: #2a2d2a;
}

html.dark .hobby-grid div {
    color: var(--text-color);
}

html.dark .hobby-grid div:hover {
    background: rgba(122, 150, 122, 0.08);
}

html.dark .hobby-quote {
    background: rgba(122, 150, 122, 0.06);
}

html.dark footer {
    background: #1a1d1a;
    border-top-color: rgba(122, 150, 122, 0.08);
}

html.dark .footer-bottom {
    border-top-color: rgba(122, 150, 122, 0.08);
}

html.dark .social-links a {
    background: rgba(122, 150, 122, 0.08);
}

html.dark .social-links a:hover {
    background: rgba(122, 150, 122, 0.15);
}

html.dark .navbar nav a:hover {
    background: rgba(122, 150, 122, 0.08);
}

html.dark .btn-outline:hover {
    background: rgba(122, 150, 122, 0.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 60px;
    align-items: center;
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.logo img {
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.navbar nav {
    display: flex;
    gap: 10px;
}

.navbar nav a {
    padding: 8px 15px;
    text-decoration: none;
    color: var(--title-color);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
}

.navbar nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar nav a:hover {
    color: var(--secondary-color);
    background: rgba(122, 150, 122, 0.1);
}

.navbar nav a:hover::after {
    width: 30px;
}

#themeToggle {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

#themeToggle img {
    display: block;
    width: 26px;
    height: 26px;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

html.dark #themeToggle img {
    transform: rotate(360deg);
}

#themeToggle:hover {
    transform: rotate(20deg);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero span {
    color: var(--secondary-color);
    font-weight: 700;
}

.hero-subtitle {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(122, 150, 122, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 150, 122, 0.3);
}

.btn-outline {
    border: 2px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    padding: 12px 26px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(122, 150, 122, 0.1);
    transform: translateY(-2px);
}

.hero-right {
    flex: 1;
    position: relative;
    height: 400px;
}

.hero-decoration {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.hero-image-right {
    height: 80%;
    width: auto;
    object-fit: contain;
}





.character {
    position: relative;
    width: 240px;
    height: 320px;
}

.character img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.planet {
    position: absolute;
    top: 30px;
    right: 50px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, rgba(200, 220, 200, 0.8), rgba(180, 200, 180, 0.4));
    border-radius: 50%;
    opacity: 0.5;
    animation: float 4s ease-in-out infinite;
}

.planet::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 8px;
    background: rgba(150, 170, 150, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(60deg);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    padding: 0 120px;
    margin-bottom: 40px;
}

.card {
    background: #EEECE5;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease, background 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(122, 150, 122, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(122, 150, 122, 0.15);
}

.card h3 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--title-color);
    margin-bottom: 20px;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card h3 img,
.card button img,
.skills-section h2 img,
.hobbies-section h2 img,
#themeToggle img,
.social-links a img,
.hobby-grid div img,
.card.about div img {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.card p {
    color: var(--text-color);
    margin: 8px 0;
    line-height: 1.6;
}

.card p img {
    vertical-align: middle;
}

.card button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card button:hover {
    background: #6a8a6a;
    transform: translateY(-2px);
}

.products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 15px 0;
}

.product {
    text-align: center;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.product p {
    font-size: 13px;
    margin: 5px 0;
    color: var(--title-color);
    font-weight: 600;
}

.product span {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 14px;
}

.card.chat {
    display: flex;
    flex-direction: column;
}

.chat-box {
    height: 180px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #F0F0E8;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(122, 150, 122, 0.1);
}

.msg {
    margin: 8px 0;
    padding: 8px 12px;
    background: #E8E6DF;
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-color);
    animation: slideIn 0.3s ease;
}

.msg.bot {
    background: rgba(122, 150, 122, 0.15);
    color: var(--secondary-color);
    font-weight: 600;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#chatInput {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
}

#chatInput:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(122, 150, 122, 0.1);
}

.skills {
    padding: 80px 60px;
    background: var(--primary-color);
    position: relative;
}

.skills h2,
.hobbies h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--title-color);
}

.skill {
    margin-bottom: 30px;
}

.skill span {
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--title-color);
}

.bar {
    background: linear-gradient(90deg, #E8E6DF 0%, #F0EEEA 100%);
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bar div {
    background: linear-gradient(90deg, #7A967A 0%, #8fa98f 100%);
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 10px rgba(122, 150, 122, 0.3);
}

.hobbies {
    padding: 80px 60px;
    text-align: center;
    background: linear-gradient(135deg, #E8E5DD 0%, #EDEBE5 100%);
}

.skills-hobbies {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    padding: 60px;
    background: #EEECE5;
    align-items: start;
    border-radius: 24px;
    margin: 0 40px;
    transition: background 0.4s ease;
}

.skills-section h2,
.hobbies-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--title-color);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skill-header span:first-child {
    font-weight: 600;
    color: var(--title-color);
    font-size: 15px;
}

.skill-header .percentage {
    font-size: 13px;
    color: var(--secondary-color);
    font-weight: 700;
}

.skill {
    margin-bottom: 25px;
}

.bar {
    background: linear-gradient(90deg, #E8E6DF 0%, #F0EEEA 100%);
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bar div {
    background: linear-gradient(90deg, #7A967A 0%, #8fa98f 100%);
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 10px rgba(122, 150, 122, 0.3);
}

.skills-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.skills-hero img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.hobbies-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.hobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.hobby-grid div {
    background: transparent;
    padding: 20px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.hobby-grid div:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(122, 150, 122, 0.15);
    background: transparent;
}

.hobby-quote {
    background: rgba(122, 150, 122, 0.08);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid var(--secondary-color);
    margin-top: 20px;
}

.hobby-quote p:first-child {
    color: var(--title-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    font-style: italic;
}

.hobby-quote p:last-child {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 500;
}

/* ===== Banner ===== */
.banner {
    width: 100%;
    min-height: 160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../src/banner-bg.png');
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    padding: 30px 60px;
}

.banner p {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

footer {
    background: var(--primary-color);
    padding: 60px 60px 0;
    color: var(--title-color);
    border-top: 1px solid rgba(122, 150, 122, 0.15);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr;
    gap: 40px;
}

.footer-image {
    position: absolute;
    right: 40px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: stretch;
}

.footer-image img {
    height: 100%;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.footer-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-logo-col {
    justify-content: flex-start;
    align-items: flex-start;
}

.footer-logo-col img {
    width: auto;
    max-width: 100%;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-logo-col img:hover {
    opacity: 1;
}

/* Column 2: Info */
.footer-info {
    gap: 12px;
}

.footer-info p {
    font-size: 14px;
    color: #7D8C7D;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-info p img {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Column 3: Quick Links */
.footer-links h4,
.footer-social h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.quick-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.quick-links-list a {
    color: var(--title-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.quick-links-list a:hover {
    color: var(--secondary-color);
}

/* Column 4: Social */
.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(122, 150, 122, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(122, 150, 122, 0.2);
    transform: translateY(-3px);
}

/* Bottom bar */
.footer-bottom {
    margin-top: 40px;
    padding: 16px 0;
    border-top: 1px solid rgba(122, 150, 122, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text2-color);
}

.card.about {
    display: flex;
    flex-direction: column;
}

.about-content {
    background: var(--primary-color);
    border-radius: 12px;
    padding: 16px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--title-color);
    margin: 0;
}

.profile-role {
    font-size: 13px;
    color: var(--text-color);
    margin: 0;
}

.profile-tagline {
    font-size: 12px;
    color: var(--text2-color);
    margin: 0;
}

.about-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.about-row {
    font-size: 13px;
    color: var(--text-color);
}

.about-row p {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.about-row p img {
    flex-shrink: 0;
    opacity: 0.7;
}

.about-row-split {
    display: flex;
    justify-content: space-between;
}

.about-label {
    color: var(--text2-color);
    font-size: 12px;
    margin-right: 4px;
}

.card.about button {
    margin-top: auto;
    width: 50%;
    justify-content: space-between;
    padding: 10px 16px;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.shop-header h3 {
    margin-bottom: 0 !important;
}

.shop-more {
    font-size: 13px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.shop-more:hover {
    color: #5a7a5a;
}

/* ===== Inner Page Hero ===== */
.page-hero {
    text-align: center;
    padding: 80px 60px 60px;
    position: relative;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 12px;
}

.page-hero h1 span {
    color: var(--secondary-color);
}

.page-hero .hero-subtitle {
    color: var(--text-color);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== Section Title ===== */
.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-subtitle {
    color: var(--text2-color);
    font-size: 14px;
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-title {
    justify-content: center;
}

/* ===== Containers ===== */
.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.content-section {
    padding: 60px 0;
}

/* ===== About Page ===== */
.about-hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}

.about-hero-img {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 8px 30px rgba(122, 150, 122, 0.2);
}

.about-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-text {
    text-align: left;
}

.about-hero-text h2 {
    font-size: 30px;
    color: var(--title-color);
    margin-bottom: 8px;
}

.about-hero-text .role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 12px;
}

.about-hero-text .bio {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #EEECE5;
    border-radius: 16px;
    transition: all 0.3s ease;
}

html.dark .stat-item {
    background: #242724;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(122, 150, 122, 0.15);
}

.stat-item .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}

.stat-item .stat-label {
    font-size: 13px;
    color: var(--text2-color);
    margin-top: 6px;
}

/* ===== Timeline (Resume & About) ===== */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--secondary-color);
    opacity: 0.3;
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 0 3px rgba(122, 150, 122, 0.2);
}

.timeline-item .time-badge {
    display: inline-block;
    background: rgba(122, 150, 122, 0.12);
    color: var(--secondary-color);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-item h3 {
    font-size: 18px;
    color: var(--title-color);
    margin-bottom: 4px;
}

.timeline-item .timeline-sub {
    color: var(--text2-color);
    font-size: 13px;
    margin-bottom: 8px;
}

.timeline-item p {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== Resume Page ===== */
.resume-section {
    margin-bottom: 60px;
}

.resume-section .section-title {
    margin-bottom: 30px;
}

.download-cv {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    color: #fff;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(122, 150, 122, 0.2);
}

.download-cv:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 150, 122, 0.3);
}

.resume-skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* ===== Shop Page ===== */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.shop-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 1.5px solid rgba(122, 150, 122, 0.3);
    background: transparent;
    color: var(--text-color);
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.shop-card {
    background: #EEECE5;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(122, 150, 122, 0.08);
}

html.dark .shop-card {
    background: #242724;
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(122, 150, 122, 0.15);
}

.shop-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #ddd;
}

.shop-card-body {
    padding: 20px;
}

.shop-card-body h3 {
    font-size: 16px;
    color: var(--title-color);
    margin-bottom: 6px;
}

.shop-card-body .shop-card-desc {
    font-size: 13px;
    color: var(--text2-color);
    margin-bottom: 12px;
    line-height: 1.5;
}

.shop-card-body .shop-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shop-card-body .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
}

.shop-card-body .contact-hint {
    font-size: 13px;
    color: var(--secondary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.shop-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.shop-card:hover .contact-hint {
    color: #5a8a5a;
    text-decoration: underline;
}

/* ===== QQ Modal ===== */
.qq-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.qq-modal-overlay.active {
    display: flex;
}

.qq-modal {
    background: var(--primary-color);
    border-radius: 16px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.qq-modal h3 {
    margin-bottom: 8px;
    color: var(--title-color);
}

.qq-modal #qqModalProduct {
    font-size: 15px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.qq-modal-qq {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(122,150,122,0.1);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 8px;
}

.qq-modal-hint {
    font-size: 13px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.qq-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.qq-modal-actions .btn-outline {
    padding: 10px 24px;
    border: 1.5px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.qq-modal-actions .btn-outline:hover {
    background: rgba(122,150,122,0.08);
}

.qq-modal-actions .btn-primary {
    padding: 10px 24px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.qq-modal-actions .btn-primary:hover {
    background: #6a8a6a;
}

/* ===== Empty State ===== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--secondary);
    font-size: 1.05rem;
}

/* ===== Blog Page ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: #EEECE5;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(122, 150, 122, 0.08);
    cursor: pointer;
}

html.dark .blog-card {
    background: #242724;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(122, 150, 122, 0.15);
}

.blog-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card-body {
    padding: 20px;
}

.blog-card-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--text2-color);
}

.blog-card-tag {
    background: rgba(122, 150, 122, 0.12);
    color: var(--secondary-color);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 11px;
}

.blog-card-body h3 {
    font-size: 17px;
    color: var(--title-color);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-body p {
    font-size: 13px;
    color: var(--text2-color);
    line-height: 1.6;
    margin-bottom: 12px;
}

.blog-card-body .read-more {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.blog-card-body .read-more:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(122, 150, 122, 0.15);
}

.pagination a:hover,
.pagination a.active {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

/* ===== Post Detail Page ===== */
.post-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.post-loading,
.post-error {
    text-align: center;
    padding: 80px 20px;
    color: var(--secondary);
}

.post-error h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--title-color);
}

.post-error a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.post-hero {
    margin-bottom: 32px;
}

.post-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
}

.post-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--secondary);
}

.post-category {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(122,150,122,0.12);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--secondary-color);
}

.post-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--title-color);
    line-height: 1.3;
}

.post-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-color);
}

.post-body h1, .post-body h2, .post-body h3,
.post-body h4, .post-body h5, .post-body h6 {
    color: var(--title-color);
    margin: 32px 0 12px;
    line-height: 1.4;
}

.post-body h2 { font-size: 24px; }
.post-body h3 { font-size: 20px; }

.post-body p {
    margin: 0 0 16px;
}

.post-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 16px 0;
}

.post-body blockquote {
    border-left: 3px solid var(--secondary-color);
    padding: 8px 20px;
    margin: 16px 0;
    color: var(--secondary);
    background: rgba(122,150,122,0.05);
    border-radius: 0 8px 8px 0;
}

.post-body code {
    background: rgba(122,150,122,0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.post-body pre {
    background: rgba(122,150,122,0.06);
    padding: 16px 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 16px 0;
}

.post-body pre code {
    background: none;
    padding: 0;
}

.post-body ul, .post-body ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.post-body li {
    margin-bottom: 6px;
}

.post-body hr {
    border: none;
    border-top: 1px solid rgba(122,150,122,0.15);
    margin: 32px 0;
}

.post-back {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.post-back a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.post-back a:hover {
    opacity: 0.7;
}

@media (max-width: 900px) {
    .post-title {
        font-size: 24px;
    }
    .post-body {
        font-size: 15px;
    }
    .post-body h2 { font-size: 20px; }
    .post-body h3 { font-size: 18px; }
}

/* ===== AI Chat Full Page ===== */
.chat-full {
    display: flex;
    flex-direction: column;
    height: 65vh;
    max-width: 800px;
    margin: 0 auto;
    background: #EEECE5;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(122, 150, 122, 0.1);
}

html.dark .chat-full {
    background: #242724;
}

.chat-full-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(122, 150, 122, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-full-header .chat-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.chat-full-header .chat-name {
    font-weight: 600;
    color: var(--title-color);
    font-size: 15px;
}

.chat-full-header .chat-status {
    font-size: 12px;
    color: var(--secondary-color);
}

.chat-full-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-full-body .msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.6;
    animation: slideIn 0.3s ease;
}

.chat-full-body .msg.user-msg {
    align-self: flex-end;
    background: var(--secondary-color);
    color: #fff;
}

.chat-full-body .msg.bot-msg {
    align-self: flex-start;
    background: rgba(122, 150, 122, 0.12);
    color: var(--text-color);
}

html.dark .chat-full-body .msg.bot-msg {
    background: rgba(122, 150, 122, 0.1);
}

.chat-suggestions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 16px 24px;
    border-top: 1px solid rgba(122, 150, 122, 0.1);
}

.chat-suggestions button {
    padding: 8px 16px;
    background: rgba(122, 150, 122, 0.08);
    border: 1px solid rgba(122, 150, 122, 0.15);
    color: var(--text-color);
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.chat-suggestions button:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.chat-full-input {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid rgba(122, 150, 122, 0.1);
}

.chat-full-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(122, 150, 122, 0.2);
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    background: var(--primary-color);
    color: var(--title-color);
    transition: border-color 0.3s ease;
}

.chat-full-input input:focus {
    border-color: var(--secondary-color);
}

.chat-full-input button {
    padding: 12px 24px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.chat-full-input button:hover {
    background: #6a8a6a;
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(122, 150, 122, 0.2);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    background: var(--primary-color);
    color: var(--title-color);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(122, 150, 122, 0.1);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .submit-btn {
    padding: 14px 32px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(122, 150, 122, 0.2);
}

.contact-form .submit-btn:hover {
    background: #6a8a6a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 150, 122, 0.3);
}

.form-feedback {
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
}

.feedback-success {
    background: rgba(106, 138, 106, 0.15);
    color: #4a7a4a;
    border: 1px solid rgba(106, 138, 106, 0.3);
}

.feedback-error {
    background: rgba(200, 80, 80, 0.12);
    color: #b04040;
    border: 1px solid rgba(200, 80, 80, 0.25);
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #EEECE5;
    border-radius: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(122, 150, 122, 0.08);
}

html.dark .contact-info-card {
    background: #242724;
}

.contact-info-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(122, 150, 122, 0.12);
}

.contact-info-card .info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(122, 150, 122, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card .info-text h4 {
    font-size: 14px;
    color: var(--title-color);
    margin-bottom: 2px;
}

.contact-info-card .info-text p {
    font-size: 13px;
    color: var(--text2-color);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(122, 150, 122, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-social a:hover img {
    filter: brightness(0) invert(1);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .cards-row {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .skills-hobbies {
        grid-template-columns: 1fr;
        margin: 0 20px;
    }

    .skills-hero {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-right {
        height: 250px;
        margin-top: 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .navbar {
        padding: 8px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .navbar .logo img {
        height: 38px;
    }

    .navbar nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .navbar nav a {
        padding: 5px 10px;
        font-size: 13px;
    }

    .about-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .about-hero-text {
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-grid,
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .resume-skills-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-image {
        display: none;
    }
}

@media (max-width: 600px) {

    .navbar {
        padding: 6px 12px;
        gap: 6px;
    }

    .navbar .logo img {
        height: 32px;
    }

    .navbar nav {
        gap: 2px;
    }

    .navbar nav a {
        padding: 4px 8px;
        font-size: 12px;
    }

    .shop-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}