/* rookie-tales/styles.css
   Shared styles for Privacy Policy and Terms & Conditions
   - Place in /rookie-tales/styles.css
*/

@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;600&family=Suez+One&display=swap');

:root{
  --bg-navy: #0D0C2D;
  --card-bg: #F7F5F4; /* subtle off-white card */
  --text-primary: #272443;
  --text-body: #30343a;
  --muted: #6d6d6d;
  --accent-red: #E74C3C;
  --max-width: 900px;
}

/* Reset-ish */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Cabin", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg-navy);
  color: var(--text-body);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.7;
  font-size:16px;
}

/* Top bar / pill logo */
.site-topbar{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 20px;
  position:sticky;
  top:0;
  z-index:30;
  background: transparent;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
}

.brand .pill{
  background: var(--accent-red);
  color: #fff;
  padding:10px 16px;
  border-radius:12px;
  font-weight:700;
  font-family:"Suez One", serif;
  font-size:18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* optional top nav container on right if needed */
.top-right{
  display:flex;
  gap:12px;
  align-items:center;
}

/* Page header */
.page-hero{
  max-width: 100%;
  margin: 120px auto 60px;
  padding: 0 20px;
  display:flex;
  justify-content:center;
  background: transparent !important;
  width: 100%;
}

.page-hero::before {
  display: none !important;
}

.page-hero h1{
  font-family: "Suez One", serif;
  color: #ffffff !important;
  font-size: clamp(28px, 5.2vw, 40px);
  margin:0;
  text-align:center;
  text-shadow: none;
  background: transparent !important;
  width: 100%;
  max-width: 100%;
}

/* Main card container */
.container{
  max-width: var(--max-width);
  margin: 20px auto 72px;
  padding: clamp(18px, 3.5vw, 32px);
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(3,4,10,0.45);
  color: var(--text-primary);
  overflow-wrap: break-word;
}

/* Content typography */
.container h1{
  font-family: "Suez One", serif;
  font-size: clamp(28px, 4.4vw, 40px);
  color: var(--text-primary);
  margin: 0 0 18px;
  text-align:center;
}

.container h2{
  font-family: "Suez One", serif;
  font-size: clamp(18px, 2.6vw, 22px);
  color: var(--text-primary);
  margin-top: 22px;
  margin-bottom: 10px;
}

.container h3{
  font-size: 15px;
  margin: 14px 0 8px;
  color: var(--text-primary);
}

.container p, .container li{
  font-size: 15px;
  color: var(--text-body);
  margin: 10px 0;
}

/* lists */
.container ul{
  padding-left: 20px;
}

.container li{
  margin-bottom: 8px;
}

/* accent divider */
.sep{
  height:4px;
  background: var(--accent-red);
  border-radius: 4px;
  width:120px;
  margin: 22px auto;
}

/* contact box */
.contact-box{
  background: linear-gradient(180deg, rgba(231,76,60,0.98), rgba(217,62,48,0.95));
  color: #fff;
  padding: 22px;
  border-radius: 10px;
  margin-top: 20px;
  text-align:center;
}

.contact-box a{
  color: #fff;
  font-weight:600;
  text-decoration:underline;
}

/* footer - override for press kit */
.press-kit-footer .footer{
  background: #272443 !important;
  background-image: url('../assets/images/footer.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: #fff !important;
  padding: 4rem 0 2rem !important;
  position: relative !important;
  margin: 0 !important;
}

.press-kit-footer .footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(39, 36, 67, 0.8) !important;
  z-index: 1;
}

.press-kit-footer .footer .container {
  position: relative;
  z-index: 2;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 2rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.press-kit-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.press-kit-footer .footer-email {
  font-size: 1.2rem;
  color: #F6F4F0 !important;
  font-weight: 500;
}

.press-kit-footer .footer-careers-note {
  font-size: 1rem;
  color: #9B9B9B !important;
  font-style: italic;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.press-kit-footer .footer-socials {
  display: flex;
  gap: 1.5rem;
}

.press-kit-footer .social-link {
  color: #9B9B9B !important;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
}

.press-kit-footer .social-link:hover {
  color: #FFE659 !important;
  background: rgba(255, 230, 89, 0.1);
  transform: translateY(-2px);
}

.press-kit-footer .footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #DA392B, transparent);
  margin-bottom: 2rem;
}

.press-kit-footer .footer-copyright {
  text-align: center;
  color: #9B9B9B !important;
  font-size: 0.9rem;
}

.site-footer .small{
  opacity:0.7;
  font-size:13px;
}

/* small utilities */
.lead{
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.meta{
  font-size:13px;
  color:var(--muted);
}

/* responsive */
@media (max-width:720px){
  .container{
    margin: 12px 12px 40px;
    padding: 14px;
    border-radius: 12px;
  }
  .page-hero{ 
    margin: 100px auto 40px;
    padding: 0 15px;
  }
  .page-hero h1{
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.2;
  }
  .brand .pill{ font-size:16px; padding:8px 12px; }
  body{ font-size:15px; }
  .container h1{ font-size:26px; }
  .container h2{ font-size:18px; }
  .sep{ width:90px; }
}

/* factsheet grid */
.factsheet-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.factsheet-item{
  background: rgba(231,76,60,0.05);
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-red);
}

.factsheet-item strong{
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

/* ensure links readable */
a{ color:var(--accent-red); text-decoration:none; }
a:hover{ text-decoration:underline; }

/* Press Kit Header Styles */
.press-kit-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.game-logo {
  max-width: 200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.download-assets-btn {
  background: linear-gradient(135deg, var(--accent-red), #c0392b);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.download-assets-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
}

/* Assets Modal Styles */
.assets-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: var(--card-bg);
  margin: 2% auto;
  padding: 0;
  border-radius: 16px;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-header {
  background: linear-gradient(135deg, var(--accent-red), #c0392b);
  color: white;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-family: "Suez One", serif;
  font-size: 24px;
}

.close {
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.close:hover {
  opacity: 0.7;
}

.modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.assets-controls {
  margin-bottom: 20px;
  text-align: center;
}

.download-all-btn {
  background: linear-gradient(135deg, #27ae60, #229954);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.download-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(39, 174, 96, 0.4);
}

/* File Manager Styles */
.file-manager {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #e9ecef;
}

.file-item {
  margin-bottom: 8px;
}

.file-item.level-0 {
  margin-bottom: 16px;
}

.file-item.level-1 {
  margin-left: 20px;
}

.file-item.level-2 {
  margin-left: 40px;
}

.file-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 12px;
}

.file-header:hover {
  background: #f8f9fa;
  border-color: var(--accent-red);
  transform: translateX(4px);
}

.folder-icon, .file-icon {
  font-size: 20px;
  min-width: 24px;
}

.file-name {
  flex: 1;
  font-weight: 500;
  color: var(--text-primary);
}

.file-actions {
  display: flex;
  gap: 8px;
}

.download-folder-btn, .preview-btn, .download-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.download-folder-btn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.preview-btn {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: white;
}

.download-btn {
  background: linear-gradient(135deg, var(--accent-red), #c0392b);
  color: white;
}

.download-folder-btn:hover, .preview-btn:hover, .download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.folder-contents {
  margin-top: 8px;
  padding-left: 16px;
  border-left: 2px solid #e9ecef;
}

/* Accolades Section */
.accolades-section {
  background: #00162B;
  padding: 60px 0;
  margin: 0;
}

.accolades-section .container {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1200px;
}

.accolades-header {
  color: #ffffff !important;
  text-align: center;
  margin-bottom: 40px;
  font-family: "Suez One", serif;
  font-size: clamp(24px, 3.5vw, 32px);
}

.accolades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.accolade-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.accolade-image {
  max-width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.accolade-image:hover {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .accolades-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .accolade-image {
    max-height: 100px;
  }
}

@media (max-width: 768px) {
  .accolades-section {
    padding: 40px 0;
  }
  
  .accolades-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .accolade-image {
    max-height: 80px;
  }
  
  .accolades-header {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .accolades-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .accolade-image {
    max-height: 60px;
  }
  
  .accolades-section .container {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 5% auto;
  }
  
  .file-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .file-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .file-item.level-1, .file-item.level-2 {
    margin-left: 10px;
  }
  
  .game-logo {
    max-width: 150px;
  }
}