:root {
    --kick-green: #53FC18;
    --kick-black: #0B0E0F;
    --kick-dark: #191B1F;
    --kick-gray: #24272C;
    --text-white: #FFFFFF;
    --text-gray: #A8A8A8;
    --font-main: 'Inter', sans-serif;
    --sidebar-width: 240px;
    --chat-width: 300px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--kick-black);
    color: var(--text-white);
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Common */
.sidebar {
    background-color: var(--kick-black);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    height: 100vh;
    border-right: 1px solid var(--kick-gray);
    z-index: 100;
}

.left-sidebar {
    width: var(--sidebar-width);
    padding: 20px;
}

.right-sidebar {
    width: var(--chat-width);
    border-left: 1px solid var(--kick-gray);
    border-right: none;
    background-color: var(--kick-black);
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.kick-green {
    color: var(--kick-green);
}

.nav-section {
    margin-bottom: 30px;
}

.nav-section h5 {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.nav-section ul {
    list-style: none;
}

.nav-section li {
    margin-bottom: 5px;
}

.nav-section a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.nav-section a:hover,
.nav-section a.active {
    background-color: var(--kick-gray);
}

.nav-section i {
    width: 20px;
    text-align: center;
}

.live-badge {
    background-color: #FF0000;
    color: white;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: auto;
    font-weight: 700;
}

.avatar {
    width: 24px;
    height: 24px;
    background-color: #333;
    border-radius: 50%;
}

.sidebar-footer {
    margin-top: auto;
}

/* Chat Sidebar */
.chat-header {
    padding: 15px;
    border-bottom: 1px solid var(--kick-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.chat-msg {
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-msg .user {
    font-weight: 700;
    cursor: pointer;
}

.chat-msg .user:hover {
    text-decoration: underline;
}

.chat-msg .text {
    color: #ddd;
}

.system-msg {
    color: var(--text-gray);
    font-style: italic;
    font-size: 0.8rem;
    margin: 5px 0;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid var(--kick-gray);
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    background: var(--kick-dark);
    border: 1px solid var(--kick-gray);
    color: white;
    padding: 8px;
    border-radius: 4px;
    flex-grow: 1;
    outline: none;
}

.btn-chat {
    background: var(--kick-green);
    border: none;
    padding: 0 15px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

/* Main Content */
.main-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px 40px;
    background-color: var(--kick-black);
    min-width: 0;
    /* Prevent flex overflow */
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-white);
}

.search-bar {
    background-color: var(--kick-dark);
    padding: 10px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 300px;
    border: 1px solid var(--kick-gray);
}

.search-bar input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    width: 100%;
}

.search-bar i {
    color: var(--text-gray);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-kick {
    background-color: var(--kick-green);
    color: black;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

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

.btn-kick-outline {
    display: block;
    text-align: center;
    border: 1px solid var(--kick-green);
    color: var(--kick-green);
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}

.btn-kick-outline:hover {
    background-color: var(--kick-green);
    color: black;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--kick-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-weight: bold;
}

/* Featured Stream */
.featured-stream {
    margin-bottom: 40px;
}

.stream-container {
    background-color: var(--kick-black);
}

.stream-video {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: black;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    opacity: 0.8;
    transition: transform 0.2s;
    cursor: pointer;
}

.play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    color: var(--kick-green);
}

.live-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #FF0000;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.9rem;
}

.viewers-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--kick-green);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
}

.stream-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.streamer-profile {
    display: flex;
    gap: 15px;
    flex-grow: 1;
}

.profile-pic {
    width: 60px;
    height: 60px;
    background-color: #333;
    border-radius: 50%;
    border: 2px solid var(--kick-green);
}

.profile-details h1 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.category {
    color: var(--kick-green);
    font-size: 0.9rem;
    font-weight: 600;
}

.stream-desc {
    width: 100%;
    color: var(--text-gray);
    margin-top: 10px;
    max-width: 800px;
}

.stream-tags {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.tag {
    background-color: var(--kick-gray);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 600;
}

/* Clips Section */
.clips-section {
    margin-bottom: 40px;
}

.clips-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.clips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.clip-card {
    cursor: pointer;
    transition: transform 0.2s;
}

.clip-card:hover {
    transform: translateY(-5px);
}

.clip-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #333;
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.clip-duration {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 3px;
}

.clip-info h4 {
    font-size: 0.9rem;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clip-info p {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* Categories */
.categories-section {
    margin-bottom: 40px;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.view-all {
    color: var(--kick-green);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: var(--kick-dark);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: white;
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(83, 252, 24, 0.1);
}

.card-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.card-tags span {
    background-color: var(--kick-gray);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    color: var(--text-gray);
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .right-sidebar {
        display: none;
        /* Hide chat on smaller tablets/laptops initially */
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        z-index: 200;
        transform: translateX(100%);
        transition: transform 0.3s;
    }

    .right-sidebar.open {
        display: flex;
        transform: translateX(0);
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .left-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        z-index: 200;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .left-sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        padding: 15px;
    }

    .top-bar {
        gap: 10px;
    }

    .search-bar {
        display: none;
        /* Hide search on mobile to save space */
    }
}

/* Stream Alerts */
#alert-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.stream-alert {
    background: rgba(11, 14, 15, 0.95);
    border: 2px solid var(--kick-green);
    border-radius: 8px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;
    box-shadow: 0 0 20px rgba(83, 252, 24, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.stream-alert.show {
    opacity: 1;
    transform: translateY(0);
}

.alert-icon {
    font-size: 2rem;
    color: var(--kick-green);
    animation: pulse 1s infinite;
}

.alert-content h4 {
    color: var(--kick-green);
    font-size: 1rem;
    margin-bottom: 2px;
    text-transform: uppercase;
    font-weight: 900;
}

.alert-content p {
    color: white;
    font-size: 0.9rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Confetti */
.confetti {
    position: fixed;
    top: -10px;
    width: 10px;
    height: 10px;
    background: var(--kick-green);
    z-index: 9999;
    animation: fall linear forwards;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(720deg);
    }
}

/* Services/Marketing Grid Page */
.services-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.service-card-large {
    background-color: var(--kick-dark);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-large:hover {
    transform: translateY(-5px);
    border-color: var(--kick-green);
    box-shadow: 0 10px 30px rgba(83, 252, 24, 0.1);
}

.service-card-large .card-image {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.service-card-large .card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-large h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.service-card-large p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.service-card-large .btn-kick {
    text-align: center;
    width: 100%;
    display: block;
    margin-top: auto;
}

/* Detail Pages Hero */
.detail-hero {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.detail-content {
    margin-top: 40px;
}

.info-col h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--kick-green);
}

.info-col ul li {
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-col {
    position: sticky;
    top: 20px;
}

/* Pricing Section */
.pricing-section {
    margin-top: 50px;
    margin-bottom: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.pricing-card {
    background-color: var(--kick-dark);
    border: 1px solid var(--kick-gray);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--kick-green);
}

.pricing-card.featured {
    border-color: var(--kick-green);
    background: linear-gradient(180deg, rgba(83, 252, 24, 0.05) 0%, var(--kick-dark) 100%);
    box-shadow: 0 0 20px rgba(83, 252, 24, 0.1);
}

.pricing-card.featured::before {
    content: "RECOMENDADO";
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--kick-green);
    color: black;
    padding: 5px 30px;
    font-size: 0.7rem;
    font-weight: 800;
    transform: rotate(45deg);
}

.pricing-header h4 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 10px;
}

.price-tag {
    font-size: 2rem;
    font-weight: 900;
    color: var(--kick-green);
    margin-bottom: 20px;
}

.price-tag span {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--kick-green);
}

.pricing-card .btn-kick,
.pricing-card .btn-kick-outline {
    width: 100%;
    text-align: center;
    display: block;
}

/* Landing Hero Section */
.hero-landing {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%), url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=1470');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid var(--kick-gray);
    position: relative;
    overflow: hidden;
}

.hero-landing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(83, 252, 24, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-landing h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero-landing p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-hero-primary {
    background-color: var(--kick-green);
    color: black;
    box-shadow: 0 0 20px rgba(83, 252, 24, 0.4);
}

.btn-hero-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(83, 252, 24, 0.6);
}

.btn-hero-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-hero-secondary:hover {
    background-color: white;
    color: black;
}

/* Trust Section */
.trust-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
    padding: 20px;
    background: var(--kick-dark);
    border-radius: 10px;
    border: 1px solid var(--kick-gray);
}

.trust-item {
    color: #666;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-item i {
    font-size: 1.5rem;
}

/* Profile Hero (Team Pages) */
.profile-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--kick-dark);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--kick-gray);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 4px solid var(--kick-green);
    box-shadow: 0 0 20px rgba(83, 252, 24, 0.3);
    flex-shrink: 0;
}

.profile-content {
    flex-grow: 1;
}

.profile-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.profile-role {
    color: var(--kick-green);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: block;
}

.profile-bio {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 600px;
}

.profile-skills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .hero-landing h1 {
        font-size: 2.5rem;
    }

    .profile-hero {
        flex-direction: column;
        text-align: center;
    }

    .profile-skills {
        justify-content: center;
    }
}

/* Distinct Marketing Button */
.btn-hero-marketing {
    background-color: #5d3fd3;
    /* Deep Purple */
    color: white;
    border: 2px solid #5d3fd3;
    box-shadow: 0 0 20px rgba(93, 63, 211, 0.4);
}

.btn-hero-marketing:hover {
    background-color: #4b32a8;
    border-color: #4b32a8;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(93, 63, 211, 0.6);
}

/* Responsive Buttons */
/* Responsive Buttons */
@media (max-width: 992px) {
    .hero-actions {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-hero {
        width: 100%;
        max-width: 400px;
        /* Prevent them from being too wide on tablets */
        text-align: center;
        display: block;
        margin-bottom: 10px;
        /* Fallback for gap */
    }

    .btn-hero:last-child {
        margin-bottom: 0;
    }
}

/* Ensure gap on desktop */
.hero-actions {
    gap: 25px;
    /* Increased gap */
}