/* ==========================================================================
   1. SISTEM WARNA & STRUKTUR TEMA WARNA COKLAT, SOFT BLUE, HITAM
   ========================================================================== */
:root {
    --bg-primary: #faf8f5;                  /* Putih pudar hangat */
    --bg-card: rgba(255, 255, 255, 0.8);    /* Kaca putih */
    --text-main: #1f140e;                   /* Coklat gelap hampir hitam */
    --text-muted: #6e5e55;                  /* Coklat tanah */
    --primary-color: #b37a3d;               /* Coklat Karamel / Emas */
    --primary-gradient: linear-gradient(135deg, #b37a3d, #70471e); /* Gradien Coklat */
    --soft-blue: #3b82f6;                   /* Biru untuk elemen interaktif */
    --soft-blue-glow: rgba(59, 130, 246, 0.15);
    --border-color: rgba(179, 122, 61, 0.15);
    --blur-effect: blur(16px);
    --neon-glow: 0 0 30px rgba(179, 122, 61, 0.3);
}

.dark-theme {
    --bg-primary: #0a0806;                  /* Hitam Pekat dengan tint Coklat */
    --bg-card: rgba(18, 14, 11, 0.75);      /* Kaca Coklat Gelap */
    --text-main: #f5eedc;                   /* Krim lembut hangat */
    --text-muted: #a39587;                  /* Coklat Kelabu */
    --border-color: rgba(179, 122, 61, 0.28);
    --soft-blue: #93c5fd;                   /* Soft Blue Neon */
    --soft-blue-glow: rgba(147, 197, 253, 0.35);
    --neon-glow: 0 0 35px rgba(179, 122, 61, 0.5);
}

/* Reset Asas & Scrollbar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
    cursor: none;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
    border: 3px solid var(--bg-primary);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}
.custom-cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background-color: var(--soft-blue);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10001;
}
.cursor-hover {
    width: 50px;
    height: 50px;
    background-color: rgba(179, 122, 61, 0.1);
    border-color: var(--soft-blue);
}

/* ==========================================================================
   2. INTRO PRELOADER: PORTAL MEGA
   ========================================================================== */
.intro-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.95)), url('./images/boat.png');
    background-size: cover; background-position: center;
    z-index: 9999; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden;
    animation: fadeOutOverlay 0.6s cubic-bezier(0.85, 0, 0.15, 1) 4.8s forwards;
}
.intro-text-wrapper { text-align: center; z-index: 5; margin-bottom: 30px; animation: fadeOutText 0.8s cubic-bezier(0.55, 0, 1, 0.45) 2.2s forwards; }
.intro-title { font-family: 'Cinzel', serif; font-size: 2.2rem; font-weight: 700; color: #ffffff; letter-spacing: 6px; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8); opacity: 0; transform: translateY(25px); animation: fadeInText 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards; }
.intro-line { width: 0px; height: 2px; background: var(--primary-gradient); margin: 15px auto; box-shadow: 0 0 15px rgba(179, 122, 61, 0.9); animation: expandLine 1s cubic-bezier(0.25, 1, 0.5, 1) 0.8s forwards; }
.intro-subtitle { font-size: 0.95rem; font-weight: 300; color: rgba(255, 255, 255, 0.8); letter-spacing: 4px; text-transform: uppercase; opacity: 0; transform: translateY(20px); animation: fadeInText 1s cubic-bezier(0.25, 1, 0.5, 1) 1.2s forwards; }

.portal-scene { position: relative; width: 420px; height: 420px; display: flex; justify-content: center; align-items: center; opacity: 0; transform: scale(0.85) translateY(40px); animation: portalEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 2.2s forwards; }
.portal-frame-circle { position: relative; width: 100%; height: 100%; border-radius: 50%; padding: 8px; background: linear-gradient(135deg, var(--primary-color), var(--soft-blue), #503114, var(--primary-color)); background-size: 400% 400%; animation: borderSpin 6s linear infinite; box-shadow: 0 0 40px rgba(179, 122, 61, 0.5), 0 0 80px rgba(147, 197, 253, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; }
.portal-frame-circle::before { content: ''; position: absolute; top: 6px; left: 6px; right: 6px; bottom: 6px; border-radius: 50%; border: 2.5px dashed rgba(255, 255, 255, 0.4); z-index: 2; pointer-events: none; animation: borderSpinReverse 12s linear infinite; }
.portal-inner-image-wrap { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; position: relative; z-index: 1; background: #000; }
.selfie-inside-portal { width: 100%; height: 100%; object-fit: cover; transform-origin: 41.5% 61.5%; filter: brightness(0.95) contrast(1.05) saturate(1.05); animation: cameraZoomInCircleSmooth 2.3s cubic-bezier(0.8, 0, 0.1, 1) 3.1s forwards; }
.camera-flash { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #ffffff; opacity: 0; z-index: 10000; pointer-events: none; animation: flashTrigger 0.4s ease-out 4.4s forwards; }

@keyframes fadeInText { to { opacity: 1; transform: translateY(0); } }
@keyframes expandLine { to { width: 180px; } }
@keyframes fadeOutText { to { opacity: 0; transform: translateY(-25px) scale(0.95); filter: blur(4px); } }
@keyframes portalEntrance { to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes borderSpin { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes borderSpinReverse { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }
@keyframes cameraZoomInCircleSmooth { 0% { transform: scale(1); filter: brightness(0.95) contrast(1.05) blur(0px); } 15% { transform: scale(1.03); filter: brightness(1) contrast(1.1) blur(0px); } 80% { filter: brightness(1.2) contrast(1.15) blur(0.5px); } 100% { transform: scale(28); filter: brightness(0) blur(12px); } }
@keyframes flashTrigger { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fadeOutOverlay { to { opacity: 0; visibility: hidden; } }

.main-content { opacity: 0; position: relative; z-index: 1; animation: fadeInMainContent 0.8s cubic-bezier(0.25, 1, 0.5, 1) 4.6s forwards; }
@keyframes fadeInMainContent { to { opacity: 1; } }

/* ==========================================================================
   3. BACKGROUND ZON KANAN & INTERAKTIF (7 SAAT ZOOM & FADE IN)
   ========================================================================== */
.homepage-hero-bg {
    position: absolute;
    top: 0;
    right: 0; 
    width: 100%;
    height: 100vh;
    background-image: 
        linear-gradient(to left, rgba(10, 8, 6, 0.05) 0%, rgba(10, 8, 6, 0.7) 60%, var(--bg-primary) 100%), 
        url('./images/wall.png');
    background-size: cover;
    background-position: right center; 
    opacity: 0;
    z-index: -2;
    pointer-events: none;
    animation: zoomFirstBG 7s cubic-bezier(0.1, 0.8, 0.2, 1) 4.6s forwards;
}

.homepage-hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(to left, rgba(10, 8, 6, 0.05) 0%, rgba(10, 8, 6, 0.7) 60%, var(--bg-primary) 100%), 
        url('./images/wall.png'); 
    background-size: cover;
    background-position: right center;
    opacity: 0;
    animation: fadeInSecondBG 7s ease-in-out 4.6s forwards;
}

@keyframes zoomFirstBG {
    0% { opacity: 0; transform: scale(1.15); }
    30% { opacity: 0.85; }
    100% { opacity: 0.9; transform: scale(1); }
}
@keyframes fadeInSecondBG {
    0%, 50% { opacity: 0; }
    100% { opacity: 1; }
}

/* ==========================================================================
   4. HEADER DENGAN JAM & TARIKH DIGITAL WIDGET
   ========================================================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    position: sticky;
    top: 15px;
    margin: 0 8%;
    border-radius: 50px;
    z-index: 1000;
    background: var(--bg-card);
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
header .logo { font-size: 20px; font-weight: 800; color: var(--text-main); }
header .logo span { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
header nav { display: flex; align-items: center; gap: 25px; }
header nav a { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 14px; transition: color 0.3s; }
header nav a:hover { color: var(--primary-color); }

.header-widgets { display: flex; align-items: center; gap: 15px; }

.clock-widget {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(179, 122, 61, 0.06);
    border: 1px solid rgba(179, 122, 61, 0.15);
    border-radius: 30px;
}
.clock-icon { font-size: 16px; color: var(--primary-color); }
.clock-info { display: flex; flex-direction: column; text-align: left; }
.time-display { font-size: 13px; font-weight: 700; color: var(--text-main); font-family: monospace; letter-spacing: 0.5px; }
.date-display { font-size: 9px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }

.theme-btn {
    background: none; border: none; color: var(--text-main); display: flex; align-items: center; padding: 8px; border-radius: 50%; background: var(--border-color);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero { min-height: 85vh; display: flex; align-items: center; padding: 0 8%; position: relative; }
.hero-container { 
    display: grid; 
    grid-template-columns: 1fr; 
    width: 100%; 
    margin-top: 140px; /* Memberi ruang untuk kedudukan Audio Player di atas */
}
.hero-content { max-width: 650px; }

.academic-badge {
    display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px;
    background: rgba(179, 122, 61, 0.08); border: 1.5px solid rgba(179, 122, 61, 0.25); border-radius: 20px; margin-bottom: 25px;
}
.academic-badge .ring-icon { font-size: 28px; color: var(--primary-color); }
.academic-info .course { font-size: 11px; font-weight: 800; color: var(--text-main); }
.academic-info .student-id { font-size: 10px; font-weight: 600; color: var(--soft-blue); }

.hero h1 { font-size: 54px; font-weight: 800; line-height: 1.15; margin-bottom: 25px; color: #ffffff; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.text-gradient { background: linear-gradient(135deg, var(--primary-color), var(--soft-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 17px; color: var(--text-muted); line-height: 1.6; margin-bottom: 35px; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero-btns { display: flex; gap: 15px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 12px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; }
.btn-primary { background: var(--primary-gradient); color: white; box-shadow: 0 10px 20px rgba(179, 122, 61, 0.2); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px var(--soft-blue-glow); background: var(--soft-blue); }
.btn-secondary { background: var(--bg-card); color: var(--text-main); border: 1px solid var(--border-color); }
.btn-secondary:hover { background: var(--border-color); transform: translateY(-2px); }

/* ==========================================================================
   6. PREMIUM GLASSMORPHISM AUDIO PLAYER (LEBAR & BERADA DI ATAS KANAN)
   ========================================================================== */
.audio-player-wrapper {
    position: absolute;
    top: 25px; /* Tepat di bawah Glass Menu Bar */
    right: 8%; /* Selari dengan border margin portfolio */
    width: 100%;
    max-width: 520px; /* Diubah suai menjadi lebih lebar dan besar */
    z-index: 10;
}

.modern-audio-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.12); /* Warna putih transparan */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255,255,255,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-audio-card:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 45px rgba(255, 255, 255, 0.12);
}

/* Bahagian Atas Kad Muzik */
.audio-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 8px;
}

.audio-tagline {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.audio-time {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    font-family: monospace;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 20px;
}

/* Bahagian Utama Kawalan Muzik */
.audio-card-main {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.audio-controls-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.audio-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.audio-btn span { font-size: 22px; }

.audio-btn:hover {
    background: #ffffff;
    color: #1f140e;
    transform: scale(1.06);
}

/* Butang Utama Play/Pause */
.audio-btn.main-play {
    width: 48px;
    height: 48px;
    background: #ffffff;
    color: #1f140e;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.audio-btn.main-play:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5);
}

/* Struktur Informasi Lagu & Bar Kemajuan */
.audio-track-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.audio-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.audio-progress-wrap {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.audio-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ffffff, var(--soft-blue));
    border-radius: 10px;
    transition: width 0.1s linear;
}

.audio-btn.mute-control {
    width: 36px;
    height: 36px;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.15);
}

/* Animasi Kemasukan Elemen */
.animate-profile-in {
    opacity: 0;
    transform: translateY(-15px);
    animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) 4.9s forwards;
}

/* ==========================================================================
   7. SKILLS BENTO GRID & PROJECTS
   ========================================================================== */
.skills-section, .projects-section { padding: 80px 8%; position: relative; }
.section-title { text-align: center; margin-bottom: 45px; }
.section-tag { font-size: 11px; font-weight: 800; color: var(--primary-color); letter-spacing: 2px; }
.section-title h2 { font-size: 36px; font-weight: 800; margin-top: 8px; }
.section-title p { color: var(--text-muted); font-size: 15px; margin-top: 8px; }

.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.bento-card { background: var(--bg-card); backdrop-filter: var(--blur-effect); border: 1px solid var(--border-color); padding: 35px; border-radius: 24px; transition: all 0.3s ease; }
.bento-card:hover { transform: translateY(-6px); border-color: var(--soft-blue); box-shadow: var(--neon-glow); }
.card-large { grid-column: span 2; }
.card-icon { width: 45px; height: 45px; border-radius: 12px; background: rgba(179, 122, 61, 0.1); display: flex; justify-content: center; align-items: center; color: var(--primary-color); margin-bottom: 20px; }
.bento-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.bento-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
.tech-tags { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.tech-tags span { padding: 6px 12px; background: var(--border-color); border-radius: 8px; font-size: 11px; font-weight: 600; }

/* Animations Elements Entrance */
.animate-fade-down { opacity: 0; transform: translateY(-20px); animation: slideIn 1s ease-out 4.8s forwards; }
.animate-pop-in { opacity: 0; transform: scale(0.9); animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 5s forwards; }
.animate-text-reveal { opacity: 0; transform: translateY(25px); animation: slideIn 1s ease-out 5.1s forwards; }
.animate-fade-in-up { opacity: 0; transform: translateY(20px); animation: slideIn 1s ease-out 5.3s forwards; }
.animate-fade-in-up-delayed { opacity: 0; transform: translateY(20px); animation: slideIn 1s ease-out 5.5s forwards; }

@keyframes slideIn { to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { to { opacity: 1; transform: scale(1); } }

/* Filter Controls & Projects Grid */
.filter-container { display: flex; justify-content: center; gap: 12px; margin-bottom: 35px; }
.filter-btn { padding: 8px 20px; border-radius: 50px; border: 1px solid var(--border-color); background: var(--bg-card); color: var(--text-main); font-weight: 600; font-size: 14px; transition: all 0.3s; }
.filter-btn.active, .filter-btn:hover { background: var(--primary-gradient); color: white; border-color: transparent; box-shadow: var(--neon-glow); }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; }
.project-card { background: var(--bg-card); backdrop-filter: var(--blur-effect); border: 1px solid var(--border-color); border-radius: 24px; overflow: hidden; transition: all 0.3s ease; }
.project-card:hover { transform: translateY(-8px); box-shadow: var(--neon-glow); border-color: var(--soft-blue); }
.project-img-placeholder { height: 200px; background: linear-gradient(45deg, rgba(179, 122, 61, 0.05), rgba(147, 197, 253, 0.05)); display: flex; justify-content: center; align-items: center; border-bottom: 1px solid var(--border-color); }
.project-img-placeholder span { font-size: 50px; color: var(--primary-color); }
.project-info { padding: 25px; }
.project-info h3 { font-size: 19px; font-weight: 700; margin: 8px 0; }
.project-info p { color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.project-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--primary-color); font-weight: 700; margin-top: 15px; font-size: 14px; }
.project-link:hover { color: var(--soft-blue); }

/* Contact Section & Footer */
.contact-section { padding: 40px 8% 80px 8%; }
.contact-box { position: relative; background: var(--primary-gradient); padding: 60px 30px; border-radius: 32px; text-align: center; color: white; overflow: hidden; }
.contact-glow { position: absolute; width: 350px; height: 350px; background: rgba(255,255,255,0.1); filter: blur(50px); border-radius: 50%; top: -100px; left: -100px; }
.contact-box h2 { font-size: 36px; margin-bottom: 12px; font-weight: 800; }
.contact-box p { margin-bottom: 30px; opacity: 0.9; font-size: 16px; max-width: 550px; margin-left: auto; margin-right: auto; }
.contact-box .btn-primary { background: white; color: var(--primary-color); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.contact-box .btn-primary:hover { transform: translateY(-3px); background: var(--soft-blue); color: white; box-shadow: 0 15px 30px var(--soft-blue-glow); }

footer { text-align: center; padding: 35px; color: var(--text-muted); font-size: 13.5px; border-top: 1px solid var(--border-color); }

/* ==========================================================================
   7. SEKSYEN HUBUNGI (PREMIUM UPGRADED DESIGN)
   ========================================================================== */
.contact-section { 
    padding: 60px 8% 100px 8%; 
}

.contact-box { 
    position: relative; 
    /* Gabungan warna coklat gelap ultra-premium */
    background: linear-gradient(145deg, rgba(24, 18, 14, 0.95), rgba(13, 9, 7, 0.98));
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
    border: 1px solid var(--border-color);
    padding: 70px 50px; 
    border-radius: 36px; 
    text-align: center; 
    color: #ffffff; 
    overflow: hidden; 
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.05);
}

/* Modifikasi khas sekiranya dalam mod cerah/gelap portfolio */
.dark-theme .contact-box {
    background: linear-gradient(145deg, rgba(14, 10, 8, 0.9), rgba(8, 6, 5, 0.95));
}

.contact-glow { 
    position: absolute; 
    width: 500px; 
    height: 500px; 
    background: radial-gradient(circle, rgba(179, 122, 61, 0.22) 0%, transparent 70%); 
    filter: blur(50px); 
    border-radius: 50%; 
    top: -200px; 
    right: -150px; 
    pointer-events: none;
}

.contact-box h2 { 
    font-size: 46px; 
    font-weight: 800;
    letter-spacing: -1px;
    margin-top: 10px;
    margin-bottom: 16px; 
    background: linear-gradient(135deg, #ffffff, #f5eedc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-box p { 
    margin-bottom: 50px; 
    opacity: 0.85; 
    font-size: 16.5px; 
    max-width: 620px; 
    margin-left: auto; 
    margin-right: auto; 
    line-height: 1.65;
    color: #e3dcd0;
}

/* Reka Bentuk Grid Kad Media Sosial */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card-link {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 24px;
    border-radius: 22px;
    text-decoration: none;
    color: #ffffff;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.contact-card-link:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
}

/* Bekas Ikon Semasa Keadaan Statik */
.contact-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    color: #e3dcd0;
    transition: all 0.3s ease;
}

.contact-icon-wrap svg, 
.contact-icon-wrap span {
    transition: transform 0.3s ease;
}

/* Efek Hover Mengikut Warna Tema Jenama */
.contact-card-link:hover .whatsapp-icon { 
    background: #25D366; color: white; box-shadow: 0 0 20px rgba(37, 211, 102, 0.4); 
}
.contact-card-link:hover .instagram-icon { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white; box-shadow: 0 0 20px rgba(220, 39, 67, 0.4); 
}
.contact-card-link:hover .email-icon { 
    background: var(--soft-blue); color: white; box-shadow: 0 0 20px rgba(59, 130, 246, 0.4); 
}

/* Sempadan kad bertukar warna lembut apabila di-hover */
.contact-card-link:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-card-link:hover .contact-icon-wrap svg,
.contact-card-link:hover .contact-icon-wrap span {
    transform: scale(1.1);
}

/* Rekaan Tipografi Maklumat Kad */
.contact-card-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.contact-value {
    font-size: 14.5px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.2px;
}

/* Integrasi Responsif Media Query */
@media (max-width: 950px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .contact-box {
        padding: 50px 30px;
    }
    .contact-box h2 {
        font-size: 34px;
    }
}

/* Kekalkan Style Laluan Asal Footer */
footer { text-align: center; padding: 35px; color: var(--text-muted); font-size: 13.5px; border-top: 1px solid var(--border-color); }
/* ==========================================================================
   8. RESPONSIVITI PERANTI
   ========================================================================== */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: 1fr; }
    .card-large { grid-column: span 1; }
    .hero { padding-top: 160px; }
    .audio-player-wrapper { left: 50%; right: auto; transform: translateX(-50%); width: 90%; top: 20px; }
    .hero-container { margin-top: 80px; text-align: center; }
    .hero-btns { justify-content: center; }
}
@media (max-width: 900px) {
    * { cursor: auto !important; }
    .custom-cursor, .custom-cursor-dot { display: none !important; }
    .hero h1 { font-size: 36px; }
    header { margin: 10px 4%; padding: 10px 20px; }
    header nav a { display: none; }
    .portal-scene { width: 300px; height: 300px; }
    .intro-title { font-size: 1.4rem; letter-spacing: 3px; }
}