/* Modern Vivid Theme for KATZEN IP TV PLAYER */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-primary: #ff00cc;
    --accent-secondary: #333399;
    --accent-gradient: linear-gradient(45deg, #ff00cc, #333399);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --hover-transform: translateY(-5px);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    /* Keeps gradient fixed on scroll */
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.logo {
    width: 180px;
    height: auto;
    margin: 0 auto 30px;
    filter: drop-shadow(0 0 15px rgba(255, 0, 204, 0.5));
    animation: float 6s ease-in-out infinite;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Disclaimer Box */
.disclaimer {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 25px;
    border-radius: 16px;
    margin: 40px auto;
    max-width: 800px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.disclaimer strong {
    color: #ff4d4d;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--glass-shadow);
    transition: all 0.4s ease;
}

.card:hover {
    transform: var(--hover-transform);
    border-color: rgba(255, 0, 204, 0.3);
    box-shadow: 0 15px 40px rgba(255, 0, 204, 0.15);
}

.card img {
    width: 100%;
    height: 200px;
    /* Reduced height to ensure fit */
    object-fit: contain;
    /* Ensures image fits within the area */
    padding: 10px;
    /* Add padding so image doesn't touch edges */
    transition: transform 0.5s ease;
}

.card-content {
    padding: 25px;
    word-wrap: break-word;
    /* Ensure long words break */
    overflow-wrap: break-word;
}

.card-content h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 60px 0;
}

.nav-btn {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-btn:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(255, 0, 204, 0.4);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--card-border);
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }

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

    .nav-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .nav-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Form Styles for Contact Page */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 14px 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(255, 0, 204, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.form-control::placeholder {
    color: transparent;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 10px;
    font-size: 1rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.2s ease;
    padding: 0 5px;
    background: transparent;
}

/* Floating label effect */
.form-control:focus~label,
.form-control:not(:placeholder-shown)~label {
    top: -10px;
    left: 10px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    background: var(--bg-gradient);
    /* Match body bg to hide line behind label if needed, or just transparent */
    border-radius: 4px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

select.form-control option {
    background-color: #1e1e2f;
    /* Dark background for options */
    color: white;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: var(--accent-gradient);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 0, 204, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 204, 0.5);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Accordion Styles for FAQ */
.faq-card {
    cursor: pointer;
}

.faq-card .card-content {
    max-height: 80px;
    /* Initial height showing only title */
    overflow: hidden;
    transition: max-height 0.5s ease, background 0.3s ease;
    position: relative;
}

.faq-card .card-content::after {
    content: '+';
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.faq-card .card-content.active {
    max-height: 500px;
    /* Expand to show content */
    background: rgba(255, 255, 255, 0.08);
}

.faq-card .card-content.active::after {
    transform: rotate(45deg);
    content: '+';
    /* Keep plus but rotate to x */
}

.faq-card h2 {
    margin-bottom: 15px;
    padding-right: 40px;
    font-size: 1.1rem;
    /* Reduced from default h2 size */
    line-height: 1.4;
}

.faq-card p {
    font-size: 0.9rem;
    /* Reduced from default p size */
    line-height: 1.5;
    color: var(--text-secondary);
}