* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    color: #f0f0f0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a2e;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border-radius: 10px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #e2e2e2;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: #a855f7;
}

.burger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid #a855f7;
    color: #a855f7;
}

.btn-outline:hover {
    background: rgba(168, 85, 247, 0.1);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    animation: pulse 8s infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: #a855f7;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title .gradient {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Background Image */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
}

.section-title:after {
    content: '';
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #b0b0b0;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* About Section */
.about-grid {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-text p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: #b0b0b0;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #12121a, #0a0a0f);
    min-height: 300px;
    border-radius: 24px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.clapper-logo {
    font-size: 8rem;
    color: #a855f7;
    animation: pulse 2s infinite;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

.clapper-logo i {
    transition: transform 0.3s ease;
}

.clapper-logo i:hover {
    transform: scale(1.05);
}

/* Studio Section */
.studio-section {
    background: linear-gradient(135deg, #0f0f1a, #0a0a0f);
}

.studio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.studio-card {
    background: #12121a;
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.studio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.3);
}

.studio-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(59, 130, 246, 0.2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #a855f7;
}

.studio-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.studio-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    background: #1a1a2e;
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border-color: transparent;
    transform: translateY(-2px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: #12121a;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-video {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0a0a0f;
}

.portfolio-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.portfolio-card-content {
    padding: 20px;
}

.portfolio-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.portfolio-card-content p {
    color: #b0b0b0;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Video formats */
.landscape-video {
    padding-bottom: 56.25%; /* 16:9 */
}

.portrait-video {
    padding-bottom: 177.77%; /* 9:16 */
}

/* Portrait card width limit */
.portrait-card {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
}

/* Gaming Card Styles */
.gaming-card {
    background: #12121a;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.gaming-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gaming-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.gaming-card:hover img {
    transform: scale(1.05);
}

.gaming-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.gaming-card p {
    color: #a855f7;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.gaming-link {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gaming-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}

/* Testimonials Swiper */
.testimonials-swiper {
    padding: 20px 0 50px;
}

.testimonial-card {
    background: #12121a;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    margin: 0 15px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.3);
}

.stars {
    color: #fbbf24;
    margin-bottom: 15px;
    font-size: 1rem;
}

.testimonial-text {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #d0d0d0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.8rem;
    color: #a855f7;
}

.swiper-button-prev,
.swiper-button-next {
    color: #a855f7;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 18px;
}

.swiper-pagination-bullet-active {
    background: #a855f7;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.contact-info {
    background: #12121a;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #1e1e2a;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #a855f7;
}

/* Footer */
footer {
    background: #050507;
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-right {
    text-align: right;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #666;
}

.footer-copyright a {
    color: #a855f7;
    text-decoration: none;
}

/* Fade-up Animation */
.fade-up {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        background: #0a0a0f;
        width: 80%;
        height: calc(100vh - 80px);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        gap: 2rem;
        transition: 0.3s;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-links.active {
        left: 0;
    }
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .about-grid {
        flex-direction: column;
        text-align: center;
    }
    .about-stats {
        justify-content: center;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .footer-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .footer-right {
        text-align: center;
    }
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
    .portrait-card {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .portfolio-filters {
        gap: 8px;
    }
    .filter-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
    .clapper-logo {
        font-size: 5rem;
    }
    .portrait-card {
        max-width: 260px;
    }
}
