/* COMMON STYLES - Shared across all pages */
:root {
    --primary: #0c0c0c;
    --secondary: #111;
    --accent: #f2b200;
    --accent-light: rgba(242, 178, 0, 0.15);
    --text: #ffffff;
    --text-light: #d5d5d5;
    --border: #333;
    --success: #4CAF50;
    --warning: #ff9800;
    --danger: #f44336;
    --info: #2196F3;
}

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

body {
    font-family: "Inter", sans-serif;
    background: var(--primary);
    color: var(--text);
    overflow-x: hidden;
}

/* NAVBAR - Common */
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #000;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
    transition: color 0.3s;
}

.nav-left:hover {
    color: var(--accent);
}

.film-icon {
    width: 34px;
    height: 34px;
    background: url('../img/film-logo.png') center/cover no-repeat;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 700;
    font-size: 16px;
}

.nav-links {
    display: flex;
    gap: 40px;
    font-size: 16px;
}

.nav-links span {
    cursor: pointer;
    transition: color 0.3s;
}

.nav-links span:hover {
    color: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Buttons - Common */
.btn-yellow {
    background: var(--accent);
    padding: 12px 24px;
    border: none;
    color: #000;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-yellow:hover {
    background: #ffcc00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 178, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    padding: 12px 24px;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-primary {
    background: var(--accent);
    color: #000;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary:hover {
    background: #ffcc00;
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

/* Form Elements - Common */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-light);
}

/* Messages - Common */
.success-message {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    color: #4CAF50;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.error-message {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    color: #f44336;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* Footer - Common */
.footer {
    background: #000;
    padding: 60px 40px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    text-decoration: none;
    color: var(--text);
    transition: color 0.3s;
}

.footer-logo:hover {
    color: var(--accent);
}

.footer-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 14px;
}

/* Hamburger Menu - Common */
.hamburger { 
    display: none; 
    flex-direction: column; 
    gap: 5px; 
    cursor: pointer; 
    z-index: 1001;
}

.hamburger div { 
    width: 28px; 
    height: 3px; 
    background: #fff; 
    border-radius: 4px; 
    transition: all 0.3s;
}

.hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #000;
    padding: 80px 20px 20px;
    gap: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    overflow-y: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu span {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: color 0.3s;
    font-size: 18px;
}

.mobile-menu span:hover {
    color: var(--accent);
}

/* Section Headers - Common */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Badges - Common */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Responsive - Common */
@media(max-width: 850px){
    .nav-links { display: none; }
    .nav-right { display: none; }
    .hamburger { display: flex; }
    .navbar { padding: 20px; }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

@media(max-width: 480px){
    .section-title {
        font-size: 32px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.ng-badge {
    --size: 32px;
    --bg: #fff;
    --color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: var(--size);
    height: var(--size);
    margin-left: 10px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--color);
    font-size: calc(var(--size) * 0.45);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.ng-badge--sm { --size: 24px; }
.ng-badge--md { --size: 32px; }
.ng-badge--lg { --size: 40px; }

/* Wrapper link */
.global-badge-link {
  text-decoration: none;
  display: inline-block;
}

/* Badge style */
.global-badge {
  background: #FFD700; /* yellow/gold */
  color: #000;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

/* Hover */
.global-badge-link:hover .global-badge {
  transform: scale(1.05);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Active click */
.global-badge-link:active .global-badge {
  transform: scale(0.98);
  box-shadow: none;
}

/* Force left alignment helper */
.global-badge-left {
  display: inline-block;
  margin-right: auto;
}

