/* Custom animations and effects */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glass morphism effect */
.glass {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animated gradient background */
.gradient-bg {
    background: linear-gradient(45deg, #000000, #1a1a1a);
    min-height: 100vh;
}

/* Card hover effects */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 144, 0, 0.15);
}

/* Button animations */
.btn-animate {
    transition: all 0.3s ease;
}

.btn-animate:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 144, 0, 0.2);
}

.btn-animate.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

/* Form input animations */
.input-animate {
    transition: all 0.3s ease;
}

.input-animate:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 144, 0, 0.1);
}

/* Loading animation */
.loading {
    animation: pulse 2s infinite;
}

/* Page transitions */
.page-transition {
    animation: fadeIn 0.5s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #ff9000;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6b00;
}

/* Text gradient effect */
.text-gradient {
    background: linear-gradient(45deg, #ff9000, #ff6b00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Shine effect */
.shine {
    position: relative;
    overflow: hidden;
}

.shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 144, 0, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Tailwind overrides */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, #ff9000, #ff6b00);
}

.hover\:from-blue-700:hover {
    --tw-gradient-from: #ff6b00;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.hover\:to-blue-800:hover {
    --tw-gradient-to: #ff9000;
}

.text-blue-300 {
    color: #ff9000;
}

.hover\:text-blue-300:hover {
    color: #ff6b00;
}

.focus\:ring-blue-500:focus {
    --tw-ring-color: #ff9000;
}

.border-blue-500 {
    border-color: #ff9000;
}

/* Loading spinner */
.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Select dropdown styling */
select option {
    background-color: #1f2937 !important;
    color: white !important;
}

select:focus option:checked {
    background-color: #3b82f6 !important;
    color: white !important;
}

/* Base styles */
:root {
    --primary-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Responsive container */
.container {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}

/* Responsive breakpoints */
@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}

/* Responsive video container */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive grid layouts */
.grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Responsive navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

@media (max-width: 640px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
}

/* Responsive cards */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .card:hover {
        transform: translateY(-5px);
    }
}

/* Responsive typography */
@media (max-width: 640px) {
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.25rem;
    }
    h3 {
        font-size: 1.125rem;
    }
}

/* Responsive forms */
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
}

/* Responsive buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

@media (max-width: 640px) {
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Responsive modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: var(--glass-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Responsive tables */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    min-width: 640px;
}

/* Responsive images */
.img-responsive {
    max-width: 100%;
    height: auto;
}

/* Responsive spacing */
@media (max-width: 640px) {
    .p-8 {
        padding: 1rem;
    }
    .m-8 {
        margin: 1rem;
    }
    .space-y-8 > * + * {
        margin-top: 1rem;
    }
}

/* Responsive utilities */
@media (max-width: 640px) {
    .hidden-mobile {
        display: none;
    }
}

@media (min-width: 641px) {
    .hidden-desktop {
        display: none;
    }
}

/* TV-specific styles */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .card {
        padding: 2rem;
    }
    
    .video-container {
        max-height: 80vh;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
} 