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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #00bfff 0%, #005f8e 50%, #050d1a 100%);
    min-height: 100vh;
}

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

header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 30px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    margin-bottom: 40px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

h1 {
    font-size: 2.5em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin: 0;
    animation: fadeInDown 1s;
}

h1::before {
    content: '';
}

.tagline {
    font-size: 1.1em;
    color: #fff;
    max-width: 100%;
    margin: 20px 0;
    line-height: 1.8;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    font-family: 'Noto Sans Devanagari', sans-serif;
    text-align: center;
    width: 100%;
}

.social-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.social-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.social-group h3 {
    color: white;
    font-size: 1em;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.social-links a svg {
    width: 24px;
    height: 24px;
}

.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeInUp 0.6s;
}

.nav-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.nav-card {
    background: linear-gradient(135deg, #e0f0ff 0%, #4fc3f7 50%, #0277bd 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.nav-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.nav-card h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-card p {
    color: #666;
    font-size: 1em;
}

.nav-card .icon {
    font-size: 3em;
    margin-bottom: 15px;
}

section {
    background: linear-gradient(160deg, #f0f4ff 0%, #dce8ff 40%, #c3d4ff 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.back-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    margin-bottom: 30px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1em;
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

h2 {
    font-size: 2.2em;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.item-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    transition: all 0.3s;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.item-card img {
    height: auto !important;
    max-height: 110px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin-bottom: 5px !important;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.item-card h3 {
    color: #764ba2;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.item-card p {
    color: #555;
    margin-bottom: 15px;
}

.item-card a {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
}

.item-card a:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.resource-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    transition: all 0.3s;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

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

.resource-card h3 {
    color: #667eea;
    margin-bottom: 10px;
}

.download-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
}

.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.booking-content {
    text-align: center;
}

.booking-content p {
    font-size: 1.1em;
    margin: 20px 0;
    color: #555;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

.movie-card {
    background: linear-gradient(160deg, #f3e8ff 0%, #c084fc 55%, #7c3aed 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.movie-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: contain;
    background: #111;
    display: block;
}

.movie-info {
    padding: 20px;
}

.movie-info h3 {
    color: #764ba2;
    margin-bottom: 10px;
}

.star-rating {
    display: inline-flex;
    gap: 3px;
    margin: 10px 0;
}

.star {
    position: relative;
    display: inline-block;
    font-size: 2.2em;
    font-weight: 900;
    color: #ddd;
    line-height: 1;
}

.star.filled {
    color: #FFD700;
}

/* Half star: base is grey, left half shown in gold via ::before */
.star.half {
    color: #ddd;
}

.star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #FFD700;
}

.movie-info a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
}

.movie-info a:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ── MOVIE SEARCH ─────────────────────────────────────── */
.search-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.search-input {
    width: 100%;
    padding: 16px 52px 16px 20px;
    font-size: 1.05em;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102,126,234,0.15);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    pointer-events: none;
}

.suggestions-box {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    border: 1.5px solid #e0e0e0;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 100;
    overflow: hidden;
    display: none;
}

.suggestion-item {
    padding: 13px 20px;
    cursor: pointer;
    font-size: 0.98em;
    color: #333;
    transition: background 0.15s;
    border-bottom: 1px solid #f5f5f5;
}

.suggestion-item:last-child { border-bottom: none; }

.suggestion-item:hover,
.suggestion-item.active {
    background: linear-gradient(135deg, #667eea22, #764ba222);
    color: #667eea;
}

.suggestion-item mark {
    background: none;
    color: #764ba2;
    font-weight: 700;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #aaa;
    font-size: 1.1em;
    display: none;
}

.movie-card.hidden { display: none; }

.colorful-text-container {
    text-align: center;
    margin-top: 40px;
    padding: 40px;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

.colorful-text-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 182, 193, 0.3),
        transparent
    );
    animation: shimmer 3s infinite;
}

.colorful-text {
    font-size: 2.8em;
    font-weight: bold;
    background: linear-gradient(
        90deg,
        #FF6B6B 0%,
        #4ECDC4 16.66%,
        #45B7D1 33.33%,
        #FFA07A 50%,
        #98D8C8 66.66%,
        #F7DC6F 83.33%,
        #FF6B6B 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowFlow 8s linear infinite;
    position: relative;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
    letter-spacing: 2px;
}

@keyframes rainbowFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-50%) translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(50%) translateY(50%) rotate(360deg);
    }
}

footer {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.9);
    margin-top: 40px;
    border-radius: 20px;
    color: #764ba2;
    font-weight: bold;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.6em;
    }

    .item-grid, .nav-section {
        grid-template-columns: 1fr;
    }

    section {
        padding: 25px;
    }

    .social-container {
        gap: 30px;
    }

    .colorful-text {
        font-size: 1.8em;
    }
}
.highlight-card {
    border: 2px solid #fff;
    animation: pulse-glow 2s infinite;
    transform: scale(1.02);
}

.highlight-card:hover {
    transform: scale(1.05) translateY(-10px);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.6), 0 8px 30px rgba(0,0,0,0.15);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 105, 180, 0), 0 8px 30px rgba(0,0,0,0.15);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 105, 180, 0), 0 8px 30px rgba(0,0,0,0.15);
    }
}
