/* ============================================
   AISport - Dark Minimal Theme with Glow Effects
   ============================================ */

/* CSS Variables - AISport Brand Colors */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f1018;
    --bg-tertiary: #151821;
    --bg-card: #1a1d2a;

    --text-primary: #fafafa;
    --text-secondary: #a1a8b8;
    --text-muted: #6b7280;

    /* Brand Colors - Navy Blue + Orange-Red */
    --accent-primary: #1e2a5e;
    --accent-secondary: #2d3a80;
    --accent-orange: #DC3522;
    --accent-tertiary: #DC3522;

    --glow-primary: rgba(30, 42, 94, 0.6);
    --glow-secondary: rgba(45, 58, 128, 0.5);
    --glow-tertiary: rgba(220, 53, 34, 0.4);
    --glow-orange: rgba(220, 53, 34, 0.5);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(220, 53, 34, 0.4);

    --gradient-text: linear-gradient(135deg, #2d3a80 0%, #DC3522 100%);
    --gradient-glow: linear-gradient(135deg, var(--accent-secondary), var(--accent-orange));
    --gradient-brand: linear-gradient(135deg, #1e2a5e 0%, #2d3a80 50%, #DC3522 100%);

    --font-sans: 'Inter', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 110%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.05rem;
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 11, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: var(--transition-base);
    filter: drop-shadow(0 0 10px var(--glow-orange));
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 20px var(--glow-orange));
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-glow);
    transition: var(--transition-base);
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

/* Hero Background Image */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/hero-bg.jpg') center center / cover no-repeat;
    opacity: 0.55;
    filter: grayscale(10%);
}

/* Dark Overlay */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 15, 0.5) 0%,
        rgba(10, 10, 15, 0.65) 50%,
        rgba(10, 10, 15, 0.9) 100%
    );
    overflow: hidden;
}

/* Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.7;
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

.glow-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 42, 94, 0.7) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 53, 34, 0.5) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -2s;
}

.glow-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 58, 128, 0.6) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -4s;
}

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

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(220, 53, 34, 0.1);
    border: 1px solid rgba(220, 53, 34, 0.4);
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #DC3522;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #DC3522;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

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

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #DC3522 0%, #B82D1C 100%);
    color: white;
    box-shadow: 0 0 30px var(--glow-orange);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px var(--glow-orange);
}

.btn-primary:hover::before {
    opacity: 1;
}

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

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--border-glow);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.35rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeIn 1s ease 1s forwards;
    opacity: 0;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    51% {
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

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

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

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(45, 58, 128, 0.15);
    border: 1px solid rgba(45, 58, 128, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5a6fd6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.35rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition-base);
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
}

.service-card:hover .service-glow {
    opacity: 1;
}

.service-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--glow-primary) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e2a5e 0%, #2d3a80 70%, #DC3522 100%);
    border-radius: 14px;
    margin-bottom: 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(30, 42, 94, 0.4);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ============================================
   Portfolio Section
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.portfolio-item-large {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    overflow: hidden;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.portfolio-overlay p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-tag {
    margin-bottom: 16px;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 34, 0.15);
    border-radius: 8px;
    color: #DC3522;
}

.feature span {
    font-size: 1.05rem;
    font-weight: 500;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-card {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
}

.about-card-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient-glow);
    border-radius: 26px;
    opacity: 0.5;
    filter: blur(20px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

.about-card-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.about-card-number {
    display: block;
    font-size: 4.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.about-card-label {
    display: block;
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-base);
}

.contact-item:hover {
    border-color: var(--border-glow);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}

a.contact-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.contact-link:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 0 30px rgba(220, 53, 34, 0.2);
    transform: translateX(8px);
}

a.contact-link:hover .contact-icon {
    background: rgba(220, 53, 34, 0.25);
    transform: scale(1.1);
}

a.contact-link:hover .contact-icon.line-icon {
    background: rgba(0, 185, 0, 0.25);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 34, 0.15);
    border-radius: 12px;
    color: #DC3522;
    transition: var(--transition-base);
}

.contact-icon.line-icon {
    background: rgba(0, 185, 0, 0.15);
    color: #00b900;
}

.contact-detail h4 {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 1.05rem;
    font-weight: 600;
}

.contact-cta {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-card {
    position: relative;
    width: 100%;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

.cta-card h3 {
    position: relative;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-card p {
    position: relative;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.cta-card .btn {
    position: relative;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ============================================
   Animations for Scroll
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: -1;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-desc {
        text-align: center;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-item-large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: var(--bg-secondary);
        padding: 100px 40px;
        gap: 24px;
        transition: var(--transition-base);
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-stats {
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .portfolio-item-large {
        grid-column: span 1;
        aspect-ratio: 16/9;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    section {
        padding: 80px 0;
    }
}

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .cta-card {
        padding: 32px 24px;
    }

    .about-card {
        width: 220px;
        height: 220px;
    }

    .about-card-number {
        font-size: 3.5rem;
    }
}

/* ============================================
   Selection & Scrollbar
   ============================================ */
::selection {
    background: #DC3522;
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #DC3522;
}

/* ============================================
   Floating Contact Button
   ============================================ */
.floating-contact {
    position: fixed;
    bottom: 40px;
    right: 50px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.floating-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff7b5a 100%);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(220, 53, 34, 0.4);
    transition: all 0.3s ease;
    position: relative;
    animation: floatingPulse 2s ease-in-out infinite;
}

.floating-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff7b5a 100%);
    opacity: 0.4;
    animation: floatingRing 2s ease-in-out infinite;
    z-index: -1;
}

.floating-contact.active .floating-btn {
    animation: none;
}

.floating-contact.active .floating-btn::before {
    animation: none;
    opacity: 0;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(220, 53, 34, 0.5);
    animation: none;
}

@keyframes floatingPulse {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.05) translateY(-5px);
    }
}

@keyframes floatingRing {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.floating-btn .icon-contact,
.floating-btn .icon-close {
    position: absolute;
    transition: all 0.3s ease;
}

.floating-btn .icon-close {
    opacity: 0;
    transform: rotate(-90deg);
}

.floating-contact.active .floating-btn .icon-contact {
    opacity: 0;
    transform: rotate(90deg);
}

.floating-contact.active .floating-btn .icon-close {
    opacity: 1;
    transform: rotate(0deg);
}

.floating-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.floating-contact.active .floating-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    transform: translateX(20px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-contact.active .floating-option {
    transform: translateX(0);
    opacity: 1;
}

.floating-contact.active .floating-option:nth-child(1) {
    transition-delay: 0.1s;
}

.floating-contact.active .floating-option:nth-child(2) {
    transition-delay: 0.2s;
}

.floating-option.line {
    background: linear-gradient(135deg, #00B900 0%, #00D900 100%);
}

.floating-option.line:hover {
    background: linear-gradient(135deg, #00D900 0%, #00FF00 100%);
    transform: translateX(-5px);
}

.floating-option.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #42A5F5 100%);
}

.floating-option.facebook:hover {
    background: linear-gradient(135deg, #42A5F5 0%, #64B5F6 100%);
    transform: translateX(-5px);
}

.floating-option svg {
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .floating-contact {
        bottom: 30px;
        right: 20px;
    }

    .floating-btn {
        width: 60px;
        height: 60px;
    }

    .floating-option {
        padding: 10px 16px;
        font-size: 1.05rem;
    }
}
