:root {
    --primary: #e50914; /* Netflix Red */
    --primary-hover: #b81d24;
    --bg-base: #000000;
    --bg-surface: rgba(20, 20, 20, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-light: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

/* Background Effects */
.background-elements {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.4;
    animation: organicFloat 20s infinite ease-in-out alternate;
}

@keyframes organicFloat {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    33% { transform: translate(50px, -50px) scale(1.1) rotate(15deg); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    66% { transform: translate(-30px, 30px) scale(0.9) rotate(-10deg); border-radius: 50% 50% 40% 60% / 40% 60% 50% 60%; }
    100% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

/* Navigation */
.navbar {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    background: rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    padding-right: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo i {
    color: var(--primary);
    font-size: 28px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    transition: all 0.3s;
    cursor: pointer;
    font-family: inherit;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Main & Hero */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 24px 20px;
    text-align: center;
}

.hero-content {
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease-out forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.glow-text {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ef4444 0%, #fca5a5 30%, #ffffff 50%, #fca5a5 70%, #ef4444 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 3s linear infinite;
    filter: drop-shadow(0 0 30px rgba(239, 68, 68, 0.4));
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Search Container */
.search-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.1s forwards;
    opacity: 0;
}

/* Skeleton Loader */
.skeleton-container {
    margin-top: 20px;
    animation: fadeIn 0.4s ease-out;
}

.skeleton-header {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
}

.skeleton-badge {
    height: 28px;
    width: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    animation: skeletonPulse 1.5s infinite ease-in-out;
}

.skeleton-btn {
    height: 28px;
    width: 90px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    animation: skeletonPulse 1.5s infinite ease-in-out;
}

.skeleton-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.skeleton-row {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    margin-bottom: 10px;
    animation: skeletonPulse 1.5s infinite ease-in-out;
}

.skeleton-row:last-child {
    margin-bottom: 0;
}

@keyframes skeletonPulse {
    0% { background-color: rgba(255, 255, 255, 0.03); }
    50% { background-color: rgba(255, 255, 255, 0.08); }
    100% { background-color: rgba(255, 255, 255, 0.03); }
}

/* Staggered Animations */
.stagger-item {
    opacity: 0;
    transform: translateY(15px);
    animation: staggerFadeInUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes staggerFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.glass-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.1);
    text-align: left;
}

/* Premium 3D Glass Card with Pulsing Glow */
@keyframes borderPulse3D {
    0% {
        box-shadow: 
            0 30px 60px -10px rgba(0, 0, 0, 0.8),
            0 15px 30px -15px rgba(0, 0, 0, 0.5),
            0 0 10px rgba(239, 68, 68, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border-color: rgba(239, 68, 68, 0.3);
    }
    50% {
        box-shadow: 
            0 30px 60px -10px rgba(0, 0, 0, 0.8),
            0 15px 30px -15px rgba(0, 0, 0, 0.5),
            0 0 25px rgba(239, 68, 68, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
        border-color: rgba(239, 68, 68, 0.8);
    }
    100% {
        box-shadow: 
            0 30px 60px -10px rgba(0, 0, 0, 0.8),
            0 15px 30px -15px rgba(0, 0, 0, 0.5),
            0 0 10px rgba(239, 68, 68, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border-color: rgba(239, 68, 68, 0.3);
    }
}

.premium-glow-card {
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    animation: borderPulse3D 3s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
}

.premium-glow-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 40px 80px -10px rgba(0, 0, 0, 0.9),
        0 20px 40px -15px rgba(0, 0, 0, 0.6),
        0 0 35px rgba(239, 68, 68, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(239, 68, 68, 1) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.search-header {
    margin-bottom: 24px;
}

.search-header h2 {
    font-size: 22px;
    margin-bottom: 6px;
}

.search-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.search-box {
    display: flex;
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 6px;
    position: relative;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2), inset 0 0 5px rgba(239, 68, 68, 0.1);
    transform: translateY(-2px);
    background: rgba(10, 10, 10, 0.8);
}

.search-box .icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 20px;
    transition: color 0.3s ease;
}

.search-box:focus-within .icon {
    color: #ef4444;
}

.search-box input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    padding: 16px 10px 16px 50px;
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
    width: 100%;
}

.search-box .clear-icon {
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 12px;
    transition: color 0.2s;
}

.search-box .clear-icon:hover {
    color: #ef4444;
}

.search-box .clear-icon.hidden {
    display: none;
}

.search-box input::placeholder {
    color: #475569;
}

@keyframes gradientShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.search-submit-btn,
.search-box button {
    background: linear-gradient(135deg, #ef4444, #f43f5e, #ff4b2b, #ef4444);
    background-size: 300% 100%;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 24px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
    position: relative;
    overflow: hidden;
    animation: gradientShimmer 3s ease infinite;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.search-submit-btn::after,
.search-box button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: none;
}

.search-submit-btn:hover::after,
.search-box button:hover::after {
    animation: buttonShine 0.7s forwards;
}

@keyframes buttonShine {
    to { left: 200%; }
}

.search-submit-btn:hover,
.search-box button:hover {
    background-position: 100% 0;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 22px -4px rgba(239, 68, 68, 0.55);
}

.search-submit-btn:active,
.search-box button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.search-history {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    list-style: none;
    padding: 8px 0;
    z-index: 50;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.search-history li {
    padding: 10px 20px 10px 50px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-history li i {
    color: var(--primary);
    font-size: 14px;
}

.search-history li:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

/* Loading & Results */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    color: var(--text-secondary);
    gap: 12px;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

.result-container {
    margin-top: 24px;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 16px;
    padding: 24px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.badge-active { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.badge-pending { background: rgba(234, 179, 8, 0.15); color: #fde047; border: 1px solid rgba(234, 179, 8, 0.3); }
.badge-expired { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-notfound { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }

.pending-warning-box {
    margin-bottom: 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.5);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    color: #ef4444;
    font-weight: 700;
    font-size: 14px;
    animation: flashWarning 1.5s infinite;
}

@keyframes flashWarning {
    0% { opacity: 1; box-shadow: 0 0 5px rgba(239, 68, 68, 0.2); }
    50% { opacity: 0.5; box-shadow: 0 0 15px rgba(239, 68, 68, 0.6); }
    100% { opacity: 1; box-shadow: 0 0 5px rgba(239, 68, 68, 0.2); }
}

.badge-error { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

.result-content {
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.result-content .link { color: #60a5fa; text-decoration: none; word-break: break-all; }
.result-content .link:hover { text-decoration: underline; }

.truncate-link {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

@keyframes border-glow {
    0% {
        box-shadow: 0 0 5px #ff4b2b, inset 0 0 2px #ff4b2b;
        border-color: #ff4b2b;
        color: #ffca28;
    }
    50% {
        box-shadow: 0 0 20px #ff416c, inset 0 0 8px #ff416c;
        border-color: #ff416c;
        color: #fff;
    }
    100% {
        box-shadow: 0 0 5px #ff4b2b, inset 0 0 2px #ff4b2b;
        border-color: #ff4b2b;
        color: #ffca28;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both !important;
}

.copy-btn {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.copy-btn.highlight-copy {
    animation: border-glow 1.5s infinite;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.copy-btn.copied {
    animation: none;
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.5);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.3);
}

.guide-btn {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.5px;
}

.guide-btn:hover {
    background: rgba(59, 130, 246, 0.25);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.5);
}

/* Blog/Guide List Styles */
.blog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.blog-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.blog-info {
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.blog-info h3 {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-info h3 span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-info p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-copy-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    margin-left: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}

.blog-copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.blog-copy-btn.copied {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 20px rgba(59, 130, 246, 0.2);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast i {
    font-size: 18px;
    color: #60a5fa;
}

/* Features Section */
.features {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid var(--border-light);
    padding: 30px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(15, 23, 42, 0.5);
    transform: translateY(-5px);
    border-color: rgba(239, 68, 68, 0.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Footer */
footer {
    background: rgba(2, 6, 23, 0.8);
    border-top: 1px solid var(--border-light);
    padding: 40px 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-secondary);
}

.footer-logo i {
    color: var(--primary);
    font-size: 24px;
}

.footer-content p {
    color: #475569;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 20px;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--text-primary);
}

/* Contact Modal Luxury Styling */
.contact-card {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.5);
}

.contact-card:hover::before {
    transform: translateX(100%);
}

.contact-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-card.facebook .contact-icon { background: linear-gradient(135deg, #1877F2, #0A58CA); color: white; box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3); }
.contact-card.messenger .contact-icon { background: linear-gradient(135deg, #00B2FF, #006AFF); color: white; box-shadow: 0 5px 15px rgba(0, 106, 255, 0.3); }
.contact-card.zalo .contact-icon { background: linear-gradient(135deg, #0068FF, #0045B2); color: white; box-shadow: 0 5px 15px rgba(0, 104, 255, 0.3); }

.contact-info {
    flex: 1;
    text-align: left;
}

.contact-info h3 {
    margin: 0 0 4px 0;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

.contact-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
}

.contact-card .arrow {
    font-size: 20px;
    color: var(--text-secondary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-card:hover .arrow {
    transform: translateX(4px);
    color: var(--text-primary);
}

/* Modal & Products */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    width: 92%;
    max-width: 820px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transform: translateY(0) scale(1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 !important;
    overflow: hidden;
}

.modal.hidden .modal-container {
    transform: translateY(20px) scale(0.95);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
    background: rgba(2, 6, 23, 0.6);
    border-radius: 24px 24px 0 0;
}

/* Modal Shop Logo Component */
.modal-shop-logo {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

.modal-shop-logo:hover {
    background: rgba(229, 9, 20, 0.15) !important;
    border-color: rgba(229, 9, 20, 0.35) !important;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.3) !important;
    transform: translateY(-1px);
}

.modal-shop-logo-img {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    object-fit: contain;
    border-radius: 5px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    display: block;
}

.modal-shop-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e50914 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.3px;
}

.card-badge-top {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 8.5px;
    font-weight: 800;
    color: white;
    padding: 2.5px 7px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 5;
}

.modal-header h2 {
    font-size: 20px;
    flex: 1;
    text-align: center;
}

.modal-close-btn, .modal-back-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover, .modal-back-btn:hover {
    color: white;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5);
}

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 16px;
    color: white;
    background: linear-gradient(135deg, #334155, #0f172a);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.product-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.product-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Product Detail */
.product-detail {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}

.detail-title h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.detail-title p {
    color: var(--text-secondary);
    font-size: 15px;
}

.detail-content {
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.6;
}

.detail-content h4 {
    color: var(--text-primary);
    font-size: 16px;
    margin: 16px 0 8px;
}

.detail-content ul {
    list-style-position: inside;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.detail-content li {
    margin-bottom: 8px;
}

.buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 24px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.5);
}

/* Highlight Buttons for Modals & Header */
.nav-btn-highlight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    white-space: nowrap !important;
    letter-spacing: 0.3px;
}

.proxy-btn-highlight {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    border: 1px solid #38bdf8;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.proxy-btn-highlight:hover {
    transform: translateY(-2px) scale(1.08);
    background: linear-gradient(135deg, #38bdf8, #1d4ed8);
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.95);
}

.tool-btn-highlight {
    background: linear-gradient(135deg, #059669, #10b981);
    border: 1px solid #34d399;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.4);
}

.tool-btn-highlight:hover {
    transform: translateY(-2px) scale(1.08);
    background: linear-gradient(135deg, #34d399, #047857);
    box-shadow: 0 0 22px rgba(52, 211, 153, 0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .glow-text { font-size: 36px; margin-bottom: 12px; }
    .hero { padding: 40px 20px 30px; }
    .hero-content { margin-bottom: 30px; }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }

    .nav-actions {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 5px !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
        padding: 0 !important;
    }

    .nav-actions .nav-btn {
        width: 100% !important;
        padding: 7px 2px !important;
        font-size: 11px !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    .nav-actions .nav-btn i {
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .navbar { padding: 12px 0; }
    .nav-content { flex-direction: column; gap: 12px; }
    .nav-top { padding-right: 0; width: 100%; margin-bottom: 8px; }
    .nav-actions {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 5px !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
        padding: 0 !important;
    }
    .nav-actions .nav-btn {
        width: 100% !important;
        padding: 7px 2px !important;
        font-size: 11px !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }
    .nav-actions .nav-btn i {
        font-size: 11px !important;
    }
    .logo { font-size: 18px; }
    
    .hero { padding: 20px 16px; }
    .hero-content { margin-bottom: 20px; }
    .badge { padding: 4px 12px; font-size: 11px; margin-bottom: 12px; }
    .glow-text { font-size: 28px; margin-bottom: 8px; }
    .subtitle { font-size: 13px; line-height: 1.4; }
    
    .glass-card { padding: 20px; border-radius: 20px; }
    .premium-glow-card { 
        transform: none; /* Disable hover float on mobile */
        animation: borderPulse3D 3s ease-in-out infinite; 
    }
    .search-header { margin-bottom: 16px; }
    .search-header h2 { font-size: 18px; margin-bottom: 4px; }
    .search-header p { font-size: 12px; }
    
    .search-box { flex-direction: row; padding: 5px; gap: 4px; background: rgba(2, 6, 23, 0.6); border: 1px solid var(--border-light); border-radius: 14px; }
    .search-box input { background: transparent; border: none; padding: 12px 6px 12px 38px; font-size: 13px; border-radius: 0; min-width: 0 !important; }
    .search-box .icon { top: 50%; left: 14px; transform: translateY(-50%); font-size: 18px; }
    .search-submit-btn,
    .search-box button { padding: 0 14px !important; border-radius: 10px !important; justify-content: center !important; font-size: 13px !important; height: auto !important; white-space: nowrap !important; flex-shrink: 0 !important; }
    
    .search-history { top: calc(100% + 6px); z-index: 100; }
    .search-history li { padding: 10px 16px 10px 45px; font-size: 13px; }
    
    .result-container { margin-top: 16px; padding: 16px; border-radius: 12px; }
    .status-badge { font-size: 11px; padding: 4px 10px; margin-bottom: 12px; }
    .result-content { font-size: 13px; margin-bottom: 16px; line-height: 1.5; }
    .copy-btn { padding: 10px; font-size: 13px; }

    /* Mobile Modal & Products */
    .modal {
        padding: 10px !important;
        align-items: flex-start !important;
    }
    .modal-container {
        width: 100% !important;
        max-height: 94vh !important;
        border-radius: 16px !important;
    }
    .modal-header {
        padding: 10px 8px !important;
        gap: 4px !important;
    }
    .modal-header .proxy-btn-highlight:not(.hidden) span,
    .modal-header .tool-btn-highlight:not(.hidden) span {
        display: inline !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }
    .modal-header .proxy-btn-highlight:not(.hidden),
    .modal-header .tool-btn-highlight:not(.hidden) {
        padding: 4px 6px !important;
        width: auto !important;
        height: auto !important;
        border-radius: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    .modal-header .proxy-btn-highlight:not(.hidden) i,
    .modal-header .tool-btn-highlight:not(.hidden) i {
        font-size: 12px !important;
        margin: 0 !important;
    }
    .modal-body {
        padding: 14px 12px !important;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .product-card {
        padding: 12px 8px !important;
        border-radius: 12px !important;
        min-height: 135px !important;
    }
    .product-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
        margin-bottom: 8px !important;
        border-radius: 10px !important;
    }
    .product-card h3 {
        font-size: 13px !important;
        margin-bottom: 4px !important;
        font-weight: 700 !important;
    }
    .product-card p {
        font-size: 10.5px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .modal-shop-logo {
        padding: 4px 6px !important;
        gap: 4px !important;
        border-radius: 8px !important;
    }
    .modal-shop-logo-img {
        width: 18px !important;
        height: 18px !important;
    }
    .modal-shop-logo-text {
        font-size: 12px !important;
    }
    .hide-mobile {
        display: none !important;
    }
    .blog-item {
        padding: 11px 12px !important;
        gap: 8px !important;
    }
    .blog-info h3 {
        font-size: 13.5px !important;
    }
    .blog-copy-btn {
        padding: 5px 8px !important;
        font-size: 11.5px !important;
        margin-left: 6px !important;
    }
}
