@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter&family=Merriweather&display=swap');


:root{
    --font-size: 1rem;
}

body {
    background-image: url(/media/background.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-weight: 375;
    font-style: normal;
}

h1,
h2,
h3,
h4 {
    font-family: 'Merriweather', serif;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

hr {
    border: none;
    height: 2px;
    background-color: #fff6c1;
    opacity: 0.5;
    margin: 1rem 0;
}


.content {
    background: #121d2a;
    background: linear-gradient(180deg, rgb(23, 53, 89) 0%, rgba(30, 32, 48, 1) 100%);

    max-width: 1600px;
    margin: 50px auto;

    padding: 15px;

    color: #fff6c1;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
    background: rgb(23, 53, 89) !important
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: #fff6c1 !important;
}

.navbar .nav-link.active {
    color: #ffffff !important;
    font-weight: 600;
}

.navbar .navbar-toggler-icon {
    filter: invert(100%) brightness(200%) !important;
}

img.img-thumbnail {
    background-color: transparent;
    border: none;
    padding: 0;
}

a {
    color: #fff6c1;
    font-weight: bold;
}

a:hover {
    color: #fff9d9;
}

a:active {
    color: #e6db9f;
}

a:visited {
    color: #d4c78a;
}

.site-footer {
    background-color: #1a1a1a;
    color: #fff6c1;
    text-align: center;
    padding: 1rem;
    font-size: var(--font-size);
    margin-top: 2rem;
    border-top: 2px solid #444;
}

.site-footer a {
    color: #ffe991;
    font-weight: bold;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fffbd0;
    text-decoration: underline;
}

.lore-note {
    background-color: #1d1d1d;
    border-left: 4px solid #fff6c1;
    padding: 1em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    font-size: var(--font-size);
    color: #ddd;
    border-radius: 4px;
}

.lore-note h4 {
    margin-top: 0;
    color: #fff6c1;
    font-size: var(--font-size);
}

.lore-note em {
    font-style: italic;
}

.lore-note strong {
    color: #f9dfa2;
    font-weight: bold;
}

#custom-runeterra-table {
    background-color: #3a3a4f !important;
    /* sötétkék-szürke háttér */
    color: #fff6c1 !important;
    /* arany betűszín */
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    max-width: 1100px;
    margin: auto;
}

#custom-runeterra-table thead {
    background-color: #373755 !important;
    /* még sötétebb a fejlécre */
    color: #fff6c1 !important;
    /* világosabb arany a címekre */
}

#custom-runeterra-table th,
#custom-runeterra-table td {
    border: 1px solid #3c3c5a;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
    color: #fff6c1 !important;
    /* fontos: a td-kre is arany szín */
    background-color: #1e1e2f !important;
    /* minden cella háttér sötét */
}

#custom-runeterra-table img {
    max-height: 75px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.6));
}


.details-aligned {
    max-width: 1100px;
    margin: 1rem auto 2rem auto;
    padding: 1rem;
    background-color: #1e1e2f;
    color: #fff6c1;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid #3c3c5a;
}

@media (max-width: 768px) {
    #custom-runeterra-table {
        font-size: var(--font-size);
    }

    #custom-runeterra-table img {
        max-height: 50px;
    }
}

.custom-video-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.custom-video-player {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
    background-color: #0e1a26;
    /* sötétkékes háttér, ha a video nem tölt be */
}

.custom-video-caption {
    color: var(--text-gold);
    /* aranyszínű szöveg */
    font-size: var(--font-size);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Általános színek */
:root {
    --bg-dark: #1e1f2f;
    --border-gold: #ded6a7;
    --text-gold: #fff6c1;
    --hover-gold: #f0d98c;
    --bg-focus: #2a2b3c;
}

/* Szövegmezők, textarea */
input[type="text"]{
    background-color: var(--bg-dark);
    color: var(--text-gold) !important;
    border: 2px solid var(--border-gold);
    padding: 0.5rem;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
textarea:focus {
    outline: none;
    background-color: var(--bg-focus);
    border-color: var(--hover-gold);
}

/* Gombok – submit / reset */
button,
input[type="submit"],
input[type="reset"] {
    background-color: transparent;
    color: var(--text-gold);
    border: 2px solid var(--border-gold);
    padding: 0.5rem 1rem;
    margin: 0.5rem 0.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    background-color: var(--hover-gold);
    color: #1e1f2f;
    border-color: var(--border-gold);
}

/* Label, hogy passzoljon a többi arany szöveghez */
label {
    color: var(--text-gold);
    font-weight: 500;
}


.custom-textarea, .custom-textarea:focus{
    background-color: var(--bg-dark);
    color: var(--text-gold);
    border: 2px solid var(--border-gold);
    border-radius: 8px;
    padding: 0.5rem;
    outline: none;
}

#form-submit,
#form-reset {
  background-color: transparent;
  color: var(--text-gold);
  border: 2px solid var(--border-gold);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

#form-submit:hover,
#form-reset:hover {
  background-color: var(--hover-gold);
  color: #1e1f2f;
  border-color: var(--border-gold);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0; /* Csak fókuszba kerülve jelenik meg */
}

.dropdown-menu {
    background-color: var(--bg-dark);
    color: #fff6c1;
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
