/* Modern Pink Theme CSS for AVDB AGC Website */

/* CSS Variables for Pink Color Scheme with Black Background */
:root {
    --primary-pink: #e91e63;
    --secondary-pink: #f06292;
    --light-pink: #fce4ec;
    --dark-pink: #ad1457;
    --accent-pink: #ff4081;
    --gradient-pink: linear-gradient(135deg, #e91e63, #f06292);
    --gradient-pink-light: linear-gradient(135deg, #fce4ec, #f8bbd9);
    --text-dark: #ffffff;
    --text-light: #cccccc;
    --text-muted: #999999;
    --bg-light: #000000;
    --bg-white: #1a1a1a;
    --shadow-light: 0 2px 10px rgba(233, 30, 99, 0.3);
    --shadow-medium: 0 4px 20px rgba(233, 30, 99, 0.4);
    --shadow-heavy: 0 8px 30px rgba(233, 30, 99, 0.5);
}

/* Global Styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-light) !important;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 400;
}

/* Force consistent black background on all devices */
html, body {
    background-color: #000000 !important;
    background: #000000 !important;
}

/* Typography */
h1, h3, h4, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

h2.section-title {
    color: white;
}

 
.h5 {
    font-weight: 600;
    color:white;
}

.display-4 {
    font-weight: 700;
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Navigation */
.navbar {
    background: var(--bg-white) !important;
    box-shadow: var(--shadow-light);
    padding: 1rem 0;
    border-bottom: 3px solid var(--light-pink);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand i {
    color: var(--primary-pink);
    margin-right: 0.5rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    background: var(--light-pink);
    color: var(--primary-pink) !important;
    transform: translateY(-2px);
}

/* Simple Hero Section */
.simple-hero {
    background: var(--gradient-pink);
    color: white;
    border-radius: 15px;
    margin: 2rem 0;
}

.simple-hero .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.simple-hero .hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.simple-hero .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Simple Hero */
@media (max-width: 768px) {
    .simple-hero .hero-title {
        font-size: 2rem;
    }
    
    .simple-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .simple-hero .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .simple-hero .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Video Cards */
.video-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    background: var(--bg-white);
    box-shadow: var(--shadow-light);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-pink);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.video-card:hover::before {
    opacity: 1;
}

.video-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 20px 20px 0 0;
}

.video-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.video-card .card-body {
    padding: 1.5rem;
    background: var(--bg-white);
    color: white !important;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: white !important;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    height: 3em;
    transition: color 0.3s ease;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.video-title:hover {
    color: var(--primary-pink) !important;
    text-decoration: none;
}

.video-meta {
    font-size: 0.85rem;
    color: #555555;
    margin-top: auto;
    padding-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--light-pink);
}

.video-meta .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
}

.video-card .mt-2 small {
    color: rgba(255, 255, 255, 0.8) !important;
}

.video-meta i {
    color: #e91e63 !important;
    margin-right: 0.25rem;
    font-weight: 600;
}

.video-category {
    display: inline-block;
    background: var(--gradient-pink);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
    line-height: 1.2;
}

.video-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

.video-quality {
    display: inline-block;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0.5rem;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.video-duration {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Pagination */
.pagination {
    justify-content: center;
    margin: 2rem 0;
    gap: 0.25rem;
}

.page-link {
    color: var(--primary-pink);
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-weight: 400;
    transition: all 0.2s ease;
    text-decoration: none;
    background-color: white;
}

.page-link:hover {
    color: white;
    background: var(--primary-pink);
    border-color: var(--primary-pink);
    text-decoration: none;
}

.page-item.active .page-link {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
    color: white;
}

.page-item.disabled .page-link {
    color: #6c757d;
    background-color: white;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.page-item:first-child .page-link {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.page-item:last-child .page-link {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* Search Form */
.search-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 2rem;
    border: 1px solid var(--light-pink);
}

.form-control {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 0.15rem rgba(233, 30, 99, 0.2);
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
}

.form-control:not(:placeholder-shown) {
    color: white !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Ensure search input text stays white */
input[type="search"].form-control,
input[type="text"].form-control {
    color: white !important;
}

input[type="search"].form-control:focus,
input[type="text"].form-control:focus {
    color: white !important;
}

.btn-primary {
    background: var(--gradient-pink);
    border: 2px solid var(--primary-pink);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-primary:hover {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-outline-pink {
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
    background: transparent;
    border-radius: 15px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-pink:hover {
    color: white;
    background: var(--gradient-pink);
    border-color: var(--primary-pink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: white;
    color: var(--primary-pink);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-outline-light:focus {
    box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.4);
    border-color: white;
    color: var(--primary-pink);
    background: rgba(255, 255, 255, 0.9);
}

/* Video Detail Page */
.video-detail {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    margin-bottom: 0;
}

/* Video Detail Buttons and Badges */
.video-detail .badge.bg-primary {
    background: var(--gradient-pink) !important;
    color: white;
    border: none;
}

.video-detail .btn-outline-primary {
    border-color: var(--primary-pink);
    color: var(--primary-pink);
    background: transparent;
    border-radius: 8px;
}

.video-detail .btn-outline-primary:hover {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
    color: white;
    border-radius: 8px;
}

.video-detail .btn-info {
    background: var(--gradient-pink);
    border-color: var(--primary-pink);
    color: white;
    border-radius: 8px;
}

.video-detail .btn-info:hover {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
    color: white;
    transform: translateY(-1px);
    border-radius: 8px;
}

.video-detail .btn-primary {
    background: var(--gradient-pink);
    border-color: var(--primary-pink);
    color: white;
    border-radius: 8px;
}

.video-detail .btn-primary:hover {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
    color: white;
    transform: translateY(-1px);
    border-radius: 8px;
}

.video-detail .btn-outline-secondary {
    border-color: var(--primary-pink);
    color: var(--primary-pink);
    background: transparent;
    border-radius: 8px;
}

.video-detail .btn-outline-secondary:hover {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
    color: white;
    border-radius: 8px;
}

.video-player {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    margin-bottom: 1.5rem;
}

.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-poster {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.video-poster:hover {
    transform: scale(1.02);
}

.video-info {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.video-info h1 {
    color: #333;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    border-bottom: 2px solid var(--light-pink);
    padding-bottom: 1rem;
}

.video-info h6 {
    color: var(--primary-pink);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-info h6 i {
    color: var(--primary-pink);
    font-size: 1.1rem;
}

.video-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-pink);
}

.video-actors, .video-directors {
    margin-bottom: 1.5rem;
}

.actor-tag, .director-tag {
    display: inline-block;
    background: rgba(233, 30, 99, 0.1);
    color: var(--primary-pink) !important;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(233, 30, 99, 0.2);
}

.actor-tag:hover, .director-tag:hover {
    background: var(--primary-pink);
    color: white !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

/* Video Details Sidebar */
.video-detail .col-lg-3 > div {
    background: white;
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: none;
    margin-bottom: 0.75rem;
}

.video-detail .col-lg-3 h6 {
    color: var(--primary-pink);
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-pink);
    font-size: 0.9rem;
}

.video-detail .row.mb-2 {
    margin-bottom: 0.75rem !important;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.video-detail .row.mb-2:last-child {
    border-bottom: none;
    margin-bottom: 0 !important;
}

.video-detail .row.mb-2 .col-5 {
    font-weight: 600;
    color: #555;
    font-size: 0.8rem;
}

.video-detail .row.mb-2 .col-7 {
    color: #333;
    font-size: 0.8rem;
}

/* Loading Spinner */
.loading {
    text-align: center;
    padding: 4rem;
}

.spinner-border {
    color: var(--primary-pink);
    width: 3rem;
    height: 3rem;
}

/* Statistics Cards */
.stats-card {
    background: var(--gradient-pink);
    color: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--light-pink);
}

.breadcrumb-item a {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--dark-pink);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: white;
}

/* Alert Messages */
.alert {
    border-radius: 15px;
    border: none;
    padding: 1.5rem;
    font-weight: 500;
}

.alert-info {
    background: var(--light-pink);
    color: var(--primary-pink);
    border-left: 4px solid var(--primary-pink);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a) !important;
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

footer a {
    color: var(--secondary-pink) !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

footer a:hover {
    color: var(--accent-pink) !important;
    text-decoration: underline;
}

/* Category Header */
.category-header {
    background: var(--gradient-pink);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-heavy);
}

.category-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.category-description {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-card img {
        height: 180px;
    }
    
    .video-title {
        font-size: 0.9rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .video-info h1 {
        font-size: 1.5rem;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    /* Force 2 columns on mobile devices */
    .video-grid .col-lg-3,
    .video-grid .col-md-3,
    .video-grid .col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Simple Alert Styles */
.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 350px;
    pointer-events: none;
}

.simple-alert {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 8px;
    pointer-events: auto;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.simple-alert.show {
    transform: translateX(0);
    opacity: 1;
}

.simple-alert.fade-out {
    transform: translateX(100%);
    opacity: 0;
}

.alert-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.alert-message {
    font-size: 14px;
    color: #333;
    flex: 1;
    margin-right: 8px;
}

.alert-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-close:hover {
    color: #666;
}

/* Alert Type Colors */
.simple-alert.alert-warning {
    border-left: 4px solid #f39c12;
    background: #fef9e7;
}

.simple-alert.alert-success {
    border-left: 4px solid #27ae60;
    background: #eafaf1;
}

.simple-alert.alert-danger {
    border-left: 4px solid #e74c3c;
    background: #fdf2f2;
}

.simple-alert.alert-info {
    border-left: 4px solid #3498db;
    background: #ebf3fd;
}

/* Responsive Alert */
@media (max-width: 768px) {
    .alert-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .alert-content {
        padding: 10px 12px;
    }
    
    .alert-message {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .video-card img {
        height: 150px;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .search-form {
        padding: 1.5rem;
    }
    
    .video-card {
        border-radius: 15px;
    }
    
    .video-card .card-body {
        padding: 1rem;
    }
}

/* Dark Mode Support - Disabled to prevent mobile background issues */
/* 
@media (prefers-color-scheme: dark) {
    :root {
        --bg-light: #1a1a1a;
        --bg-white: #2d2d2d;
        --text-dark: #e0e0e0;
        --text-light: #b0b0b0;
        --text-muted: #888888;
    }
    
    body {
        background: var(--bg-light);
        color: var(--text-dark);
    }
    
    .navbar {
        background: var(--bg-white) !important;
        border-bottom-color: var(--primary-pink);
    }
    
    .video-card {
        background: var(--bg-white);
        border-color: #404040;
    }
    
    .search-form {
        background: var(--bg-white);
        border-color: #404040;
    }
    
    .breadcrumb {
        background: var(--bg-white);
        border-color: #404040;
    }
}
*/

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

.video-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Lazy Loading */
.lazy {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Video Player */
.video-player {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-pink);
}

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

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--dark-pink), var(--primary-pink));
}

/* Legal Buttons Styling */
.legal-buttons {
    gap: 0.75rem !important;
}

.legal-buttons .btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.legal-buttons .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.legal-buttons .btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .legal-buttons {
        justify-content: center;
    }
    
    .legal-buttons .btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
}

/* Telegram Widget Styling */
.telegram-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.telegram-btn {
    position: relative;
    background: linear-gradient(135deg, #0088cc, #229ed9);
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.telegram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 136, 204, 0.4);
    background: linear-gradient(135deg, #229ed9, #0088cc);
}

.telegram-btn:active {
    transform: translateY(-1px);
}

.telegram-btn i {
    font-size: 20px;
    animation: bounce 2s infinite;
}

.telegram-text {
    white-space: nowrap;
}

.telegram-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(0, 136, 204, 0.3);
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Telegram Modal Styling */
.telegram-modal {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.telegram-modal .modal-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px 20px 0 0;
}

.telegram-modal .modal-title {
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
}

.telegram-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0088cc, #229ed9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
    animation: float 3s ease-in-out infinite;
}

.telegram-icon-large i {
    font-size: 40px;
    color: white;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.telegram-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.benefit-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #229ed9);
    border: none;
    color: white;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #229ed9, #0088cc);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 136, 204, 0.4);
    color: white;
}

.btn-telegram:active {
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .telegram-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .telegram-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .telegram-text {
        display: none;
    }
    
    .telegram-btn {
        border-radius: 50%;
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
    }
    
    .telegram-benefits {
        gap: 10px;
    }
    
    .benefit-item {
        padding: 8px 15px;
        font-size: 14px;
    }
}