*,

*::before,

*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: #f7f2f7;
  color: #333;
  font-family: "Segoe UI",

        Tahoma,

        Geneva,

        Verdana,

        sans-serif;
  line-height: 1.6;
}

a,

a:link,

a:visited,

a:hover,

a:active,

a:focus {
  text-decoration: none;
}

.site-header {
  background: linear-gradient(

            135deg,

            #7a4fa3,

            #5d3883

        );
  color: white;
  box-shadow: 0 4px 18px rgba(

            0,

            0,

            0,

            0.18

        );
}

.header-inner {
  max-width: 1400px;
  margin: auto;
  padding: 25px;
}

.site-header h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
}

.site-title,

.site-title:link,

.site-title:visited,

.site-title:hover,

.site-title:active {
  color: white;
  text-decoration: none;
}

.site-nav {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-nav a,

.site-nav a:link,

.site-nav a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(

            255,

            255,

            255,

            0.18

        );
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s,

        transform .15s;
}

.site-nav a:hover {
  background: rgba(

            255,

            255,

            255,

            0.30

        );
  color: white;
  transform: translateY(-2px);
}

.site-nav a:focus,

.site-nav a:active {
  outline: none;
  border: none;
  color: white;
  box-shadow: 0 0 0 3px rgba(

            255,

            255,

            255,

            0.25

        );
}

.container {
  max-width: 1400px;
  margin: auto;
  padding: 35px;
}

h1 {
  margin-top: 0;
  color: #6a3c96;
  font-size: 42px;
}

h2 {
  color: #7a4fa3;
  margin-top: 35px;
}

h3 {
  color: #7a4fa3;
}

.card,

.widget,

.stat-card,

.section-card,

.movie-card,

.event-card {
  background: white;
  border-radius: 22px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(

            0,

            0,

            0,

            0.08

        );
}

.card {
  margin-bottom: 25px;
}

.widget-grid,

.stats-grid,

.movie-grid,

.event-grid {
  display: grid;
  gap: 25px;
}

.widget-grid,

.stats-grid {
  grid-template-columns: repeat(

            auto-fit,

            minmax(

                260px,

                1fr

            )

        );
}

.movie-grid,

.event-grid {
  grid-template-columns: repeat(

            auto-fit,

            minmax(

                320px,

                1fr

            )

        );
}

.widget,

.stat-card {
  text-align: center;
}

.widget-number,

.stat-number {
  font-size: 48px;
  font-weight: bold;
  color: #7a4fa3;
  margin-top: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(

            0,

            0,

            0,

            0.08

        );
}

th {
  background: #efe5fa;
  color: #5f3c7a;
  text-align: left;
  padding: 16px;
  font-size: 14px;
  text-transform: uppercase;
}

td {
  padding: 16px;
  border-bottom: 1px solid #f1f1f1;
}

tr:hover {
  background: #faf7fd;
}

form {
  margin-bottom: 25px;
}

input,

select,

textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  background: white;
  font-size: 15px;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

input:focus,

select:focus,

textarea:focus {
  outline: none;
  border-color: #9c72c5;
  box-shadow: 0 0 0 3px rgba(

            122,

            79,

            163,

            0.15

        );
}

button,

.button {
  display: inline-block;
  background: #7a4fa3;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: background .15s,

        transform .15s;
}

button:hover,

.button:hover {
  background: #653889;
  color: white;
  transform: translateY(-2px);
}

.badge {
  display: inline-block;
  background: #efe5fa;
  color: #6a3c96;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin: 4px;
}

.poster,

.event-card img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(

            0,

            0,

            0,

            0.15

        );
}

.login-box {
  max-width: 450px;
  margin: 100px auto;
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(

            0,

            0,

            0,

            0.12

        );
}

.login-box h1 {
  text-align: center;
}

.error {
  background: #ffe4e4;
  color: #a52a2a;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.hero {
  position: relative;
  min-height: 420px;
  margin-bottom: 40px;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 35px

        rgba(

            0,

            0,

            0,

            0.18

        );
}

.hero-overlay {
  min-height: 420px;
  background: linear-gradient(

            rgba(

                0,

                0,

                0,

                0.25

            ),

            rgba(

                0,

                0,

                0,

                0.72

            )

        );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
}

.hero-content {
  max-width: 900px;
  color: white;
}

.hero-content h1 {
  margin-top: 0;
  margin-bottom: 20px;
  color: white;
  font-size: 58px;
}

.hero-content p {
  margin-bottom: 30px;
  font-size: 22px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-buttons .button {
  background: rgba(

            255,

            255,

            255,

            0.18

        );
  color: white;
  backdrop-filter: blur(6px);
}

.hero-buttons .button:hover {
  background: rgba(

            255,

            255,

            255,

            0.30

        );
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(

            auto-fit,

            minmax(

                220px,

                1fr

            )

        );
  gap: 25px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 30px

        rgba(

            0,

            0,

            0,

            .08

        );
}

.stat-number {
  font-size: 36px;
  font-weight: bold;
  color: #7a4fa3;
  margin-bottom: 10px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(

            auto-fit,

            minmax(

                220px,

                1fr

            )

        );
  gap: 25px;
}

.featured-card {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(

            0,

            0,

            0,

            0.08

        );
  transition: transform .15s;
}

.featured-card:hover {
  transform: translateY(-4px);
}

.featured-card img {
  display: block;
  width: 100%;
}

.featured-card-content {
  padding: 20px;
}

.featured-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.site-title {
  color: white;
  text-decoration: none;
}

.site-title:hover {
  color: white;
}

footer {
  margin-top: 60px;
  text-align: center;
  color: #777;
  padding: 40px 0;
}

footer p {
  margin: 8px 0;
}

input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(180px,1fr));
  gap: 10px;
  margin-top: 15px;
  margin: 15px 0;
}

.genre-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #faf7fd;
  border: 1px solid #e9dff5;
  padding: 10px 12px;
  border-radius: 12px;
}

.media-thumb {
  width: 180px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(

            0,

            0,

            0,

            0.15

        );
}

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

.image-card {
  background: #fff;
  padding: 15px;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.image-card img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.image-caption {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.upload-box {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(

            0,

            0,

            0,

            0.08

        );
  margin-bottom: 30px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(

            auto-fit,

            minmax(320px, 1fr)

        );
  gap: 25px;
}

.image-counts {
  line-height: 1.9;
  color: #666;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(

            auto-fit,

            minmax(220px, 1fr)

        );
  gap: 12px;
  margin-top: 15px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #faf7fd;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
}

.checkbox-item input {
  width: auto;
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(

            auto-fill,

            minmax(

                220px,

                1fr

            )

        );
  gap: 20px;
}

.gallery-image {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 15px;
  transition: transform .15s;
}

.gallery-image:hover {
  transform: scale(1.03);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.calendar-day {
  min-height: 250px;
}

.calendar-poster {
  width: 70px;
  border-radius: 10px;
}

.media-hero {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 40px;
}

.media-overlay {
  background: linear-gradient(

            rgba(0,0,0,.15),

            rgba(0,0,0,.80)

        );
  min-height: 420px;
  display: flex;
  align-items: end;
  padding: 40px;
}

.media-hero-content {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: end;
}

.media-poster {
  width: 250px;
  border-radius: 18px;
  box-shadow: 0 15px 40px

        rgba(0,0,0,.45);
}

.media-info {
  color: white;
}

.media-info h1 {
  color: white;
  margin-bottom: 10px;
}

.media-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.media-chip {
  background: rgba(

            255,

            255,

            255,

            .18

        );
  padding: 8px 14px;
  border-radius: 999px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(

            auto-fit,

            minmax(

                200px,

                1fr

            )

        );
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 16px;
  transition: transform .15s;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

main {
  min-height: 500px;
}

@media (max-width: 768px) {
  .container {
    padding: 20px;
  }
  
  .site-header h1 {
    font-size: 30px;
  }
  
  h1 {
    font-size: 32px;
  }
  
  .site-nav {
    gap: 8px;
  }
  
  .site-nav a {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .hero {
    min-height: 300px;
  }
  
  .hero-overlay {
    min-height: 300px;
    padding: 40px 25px;
  }
  
  .hero-content h1 {
    font-size: 38px;
  }
  
  .hero-content p {
    font-size: 18px;
  }
  
  .stats-grid,
  
      .featured-grid {
    gap: 20px;
  }
}

@media (max-width: 1000px) {
  .calendar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .calendar-grid {
    grid-template-columns: 1fr;
  }
}
