/**
 * 6ickzone Global Styles
 * Cyan/Teal Theme - Dark & Light Mode
 * Version: 1.0
 */

/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
    --primary: #06b6d4;
    --primary-dark: #0891b2;
    --primary-light: #67e8f9;
    --primary-gradient: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #0e7490 100%);
    --primary-gradient-soft: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(8, 145, 178, 0.15) 100%);
    --accent: #06b6d4;
    --accent-glow: 0 0 20px rgba(6, 182, 212, 0.3);
    --accent-glow-strong: 0 0 40px rgba(6, 182, 212, 0.2);
}

/* ============================================================
   DARK MODE (Default)
   ============================================================ */
[data-theme="dark"] {
    --bg-body: #0a0e17;
    --bg-card: #1a2332;
    --bg-input: #1e293b;
    --bg-hover: rgba(6, 182, 212, 0.08);
    --bg-submenu: rgba(0,0,0,0.3);
    --bg-item: #1e293b;
    --bg-email: rgba(6, 182, 212, 0.06);
    --bg-skill: rgba(6, 182, 212, 0.15);
    
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --text-inverse: #0a0e17;
    
    --border: #1e293b;
    --border-soft: rgba(255,255,255,0.06);
    
    --shadow: 0 10px 25px -5px rgba(0,0,0,0.4);
    --shadow-hover: 0 15px 40px -10px rgba(6, 182, 212, 0.2);
    --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
    
    --scrollbar-track: #0a0e17;
    --scrollbar-thumb: #06b6d4;
    
    --overlay-bg: rgba(0,0,0,0.6);
    --loader-bg: rgba(10, 14, 23, 0.95);
    
    --logo-color: #ffffff;
    --hero-text: #ffffff;
    
    --skill-color: #67e8f9;
    --disclaimer-bg: rgba(6, 182, 212, 0.08);
    --disclaimer-border: #06b6d4;
    --disclaimer-text: #67e8f9;
    
    --social-bg: #1e293b;
    --social-color: #94a3b8;
    
    --footer-color: #475569;
    --quote-color: #64748b;
    
    --heart-color: #f43f5e;
    --ltc-bg: #1a2a4a;
    --ltc-text: #e2e8f0;
    --ltc-border: rgba(52, 93, 157, 0.3);
    --saweria-bg: rgba(250, 173, 20, 0.1);
    --saweria-border: rgba(250, 173, 20, 0.2);
    --saweria-text: #faad14;
    
    --email-icon: #06b6d4;
    --whatsapp: #25d366;
    --telegram: #0088cc;
    --instagram: #e1306c;
}

/* ============================================================
   LIGHT MODE
   ============================================================ */
[data-theme="light"] {
    --bg-body: #f0f9ff;
    --bg-card: #ffffff;
    --bg-input: #f1f5f9;
    --bg-hover: rgba(6, 182, 212, 0.08);
    --bg-submenu: #f8fafc;
    --bg-item: #f1f5f9;
    --bg-email: rgba(6, 182, 212, 0.04);
    --bg-skill: rgba(6, 182, 212, 0.1);
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --text-inverse: #ffffff;
    
    --border: #e2e8f0;
    --border-soft: rgba(0,0,0,0.05);
    
    --shadow: 0 10px 25px -5px rgba(0,0,0,0.08);
    --shadow-hover: 0 15px 40px -10px rgba(6, 182, 212, 0.15);
    --shadow-card: 0 4px 20px rgba(0,0,0,0.06);
    
    --scrollbar-track: #f1f5f9;
    --scrollbar-thumb: #06b6d4;
    
    --overlay-bg: rgba(0,0,0,0.4);
    --loader-bg: rgba(240, 249, 255, 0.95);
    
    --logo-color: #0f172a;
    --hero-text: #ffffff;
    
    --skill-color: #0891b2;
    --disclaimer-bg: rgba(6, 182, 212, 0.05);
    --disclaimer-border: #06b6d4;
    --disclaimer-text: #0891b2;
    
    --social-bg: #f1f5f9;
    --social-color: #475569;
    
    --footer-color: #94a3b8;
    --quote-color: #94a3b8;
    
    --heart-color: #f43f5e;
    --ltc-bg: #e8edf5;
    --ltc-text: #1f2937;
    --ltc-border: rgba(52, 93, 157, 0.2);
    --saweria-bg: rgba(250, 173, 20, 0.05);
    --saweria-border: rgba(250, 173, 20, 0.15);
    --saweria-text: #d48806;
    
    --email-icon: #06b6d4;
    --whatsapp: #25d366;
    --telegram: #0088cc;
    --instagram: #e1306c;
}

/* ============================================================
   GLOBAL STYLES
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 10px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}
@keyframes fadeInUp { 
    from { opacity: 0; transform: translateY(30px); } 
    to { opacity: 1; transform: translateY(0); } 
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(6, 182, 212, 0.1); }
    50% { box-shadow: 0 0 40px rgba(6, 182, 212, 0.25); }
}
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}
@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes glitchText {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(2px, 2px); }
    100% { transform: translate(0); }
}

.animate-in { animation: fadeIn 0.6s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============================================================
   CARD COMPONENT
   ============================================================ */
.card {
    background: var(--bg-card);
    padding: 45px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    max-width: 900px;
    margin: 0 auto;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.card-header {
    margin-bottom: 30px;
    position: relative;
}
.card-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 10px;
}

.card-header .icon-wrap {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: rgba(6, 182, 212, 0.12);
    border-radius: 50%;
    line-height: 70px;
    margin-bottom: 15px;
    font-size: 2rem;
    color: var(--primary);
    border: 2px solid rgba(6, 182, 212, 0.15);
    transition: 0.3s;
}
.card-header .icon-wrap:hover {
    animation: pulseGlow 1.5s infinite;
    transform: scale(1.05);
}

/* ============================================================
   TEXT STYLES
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    transition: color 0.4s ease;
}
h1 { font-size: 2rem; font-weight: 700; }
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--accent-glow);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-main);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
input, textarea, select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: 0.3s;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
input::placeholder, textarea::placeholder {
    color: var(--text-light);
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}
.badge-primary { background: var(--primary); color: #fff; }
.badge-cyan { background: rgba(6, 182, 212, 0.15); color: var(--primary); }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-warning { background: #fef3c7; color: #92400e; }

/* ============================================================
   GRID HELPERS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }

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

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
    height: 1px;
    background: var(--border);
    margin: 30px 0;
    transition: background 0.4s ease;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    body { padding: 15px; }
    .card { padding: 25px 20px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-auto { grid-template-columns: 1fr; }
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }
    .flex-between { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
    .card { padding: 20px 15px; }
    .btn { width: 100%; justify-content: center; }
}