* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin-left: -20px;
}

.logo-img {
    height: 100px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Auth Navigation */
.nav-login, .nav-logout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-decoration: none;
    position: relative;
    line-height: 1.6;
    vertical-align: baseline;
    margin: 0;
    height: auto;
    white-space: nowrap;
}

.nav-login:hover, .nav-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
    background: linear-gradient(135deg, #1a73e8, #1557b0);
}

.nav-login::after, .nav-logout::after {
    display: none;
}

.login-icon, .logout-icon {
    font-size: 1rem;
}

.nav-logout {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.nav-logout:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
    border: 2px solid #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    line-height: 1.6;
    vertical-align: baseline;
    margin: 0;
    height: auto;
    white-space: nowrap;
}

.user-avatar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
    background: linear-gradient(135deg, #1a73e8, #1557b0);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.user-name {
    font-weight: 500;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.user-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f9fafb;
}

.dropdown-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Voucher Dialog */
.voucher-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.voucher-dialog.show {
    display: flex;
}

.voucher-dialog-content {
    background: white;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: voucherDialogSlideIn 0.3s ease;
}

@keyframes voucherDialogSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.voucher-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
}

.voucher-dialog-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.voucher-dialog-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.voucher-dialog-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.voucher-dialog-body {
    padding: 2rem;
}

.voucher-input-group {
    margin-bottom: 1.5rem;
}

.voucher-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.voucher-input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    text-transform: uppercase;
}

.voucher-input-group input:focus {
    outline: none;
    border-color: #4285f4;
}

.voucher-hint {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.voucher-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.voucher-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #4285f4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.voucher-result {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    display: none;
}

.voucher-result.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.voucher-result.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.voucher-dialog-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
}

.voucher-dialog-footer .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a73e8, #1557b0);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

@media (max-width: 768px) {
    .voucher-dialog-content {
        width: 95%;
        margin: 1rem;
    }
    
    .voucher-dialog-header,
    .voucher-dialog-body,
    .voucher-dialog-footer {
        padding: 1rem;
    }
    
    .voucher-dialog-footer {
        flex-direction: column;
    }
    
    .voucher-dialog-footer .btn {
        width: 100%;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 3rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite;
}

.decoration-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.decoration-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    animation-delay: 5s;
}

.decoration-circle:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 400;
    font-family: 'Pacifico', cursive;
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-features {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: nowrap;
    animation: fadeInUp 0.8s ease 0.3s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    min-width: 0;
}

.hero-feature-icon {
    font-size: 2.5rem;
}

.hero-feature-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: white;
}

.hero-feature-text p {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
    margin: 0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Themes Section */
.themes-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Filter Buttons */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Themes Grid */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.more-templates {
    text-align: center;
    margin-top: 3rem;
}

.btn-more-templates {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-more-templates:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: white;
    text-decoration: none;
}

.theme-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.theme-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.theme-card.hidden {
    display: none;
}

.theme-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.theme-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.theme-card:hover .theme-image-img {
    transform: scale(1.05);
}

.theme-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.theme-card:hover .theme-image::before {
    opacity: 1;
}

.theme-info {
    padding: 1.5rem;
}

.theme-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.theme-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.theme-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.theme-tag {
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.theme-tag-free {
    background: #dcfce7;
    color: #16a34a;
    font-weight: 600;
}

.theme-actions {
    display: flex;
    gap: 0.75rem;
}

.btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

/* Guide Section */
.guide-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.guide-steps {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.guide-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.step-content p:last-child {
    margin-bottom: 0;
}

.guide-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--text-light);
    line-height: 2;
}

.guide-list li {
    margin-bottom: 0.5rem;
}

.guide-note {
    margin-top: 3rem;
    padding: 2rem;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 10px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.note-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.note-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.note-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.note-contacts {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.note-contact-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.note-contact-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
    text-decoration: none;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.contact-item:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.contact-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-features {
        flex-direction: row;
        gap: 0.75rem;
        justify-content: center;
    }

    .hero-feature {
        flex-direction: row;
        text-align: left;
        padding: 0.75rem 1rem;
        flex: 1;
        min-width: 0;
    }

    .hero-feature-icon {
        font-size: 2rem;
        flex-shrink: 0;
    }

    .hero-feature-text h3 {
        font-size: 1rem;
    }

    .hero-feature-text p {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .themes-grid {
        grid-template-columns: 1fr;
    }

    .guide-step {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .guide-note {
        flex-direction: column;
        gap: 1rem;
    }

    .note-contacts {
        flex-direction: column;
    }

    .note-contact-link {
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav {
        gap: 1rem;
    }
    
    .nav-login, .nav-logout {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .login-text, .logout-text {
        display: none;
    }
    
    .login-icon, .logout-icon {
        font-size: 1.2rem;
    }
    
    .user-avatar-btn {
        padding: 0.4rem 0.8rem;
    }
    
    .user-name {
        display: none;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
    }
    
    .dropdown-arrow {
        font-size: 0.7rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
    }
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: translateX(0);
    will-change: opacity, transform;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    background: white;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.floating-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.floating-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.2s ease;
    will-change: transform;
}

.floating-btn:hover img {
    transform: scale(1.05);
}

.floating-tiktok {
    background: white;
    border: 2px solid #0068ff;
}

.floating-tiktok:hover {
    border-color: #0068ff;
    background: #f8f8f8;
    box-shadow: 0 6px 20px rgba(0, 104, 255, 0.25);
}

.floating-zalo {
    background: linear-gradient(135deg, #0068ff 0%, #0052cc 100%);
    border-color: #0068ff;
}

.floating-zalo:hover {
    border-color: #0052cc;
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
    box-shadow: 0 6px 20px rgba(0, 104, 255, 0.25);
}

/* Contact Section States */
.contact-section {
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: opacity, transform;
    display: block;
}

.contact-section.contact-hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    display: block;
}

.contact-section.show-at-bottom {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    display: block;
}

/* Hide floating buttons when at bottom */
.floating-contact.hide-at-bottom {
    opacity: 0;
    transform: translateX(100px);
    pointer-events: none;
}

/* Responsive for floating buttons */
@media (max-width: 768px) {
    .floating-contact {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
    }
    
    .floating-btn img {
        width: 28px;
        height: 28px;
    }
}
