:root {
    --gold-light: #f5e7a3;
    --gold: #e6c955;
    --gold-dark: #c9a431;
    --red: #e55a5a;
    --dark-bg: #1a1622;
    --black: #0d0a12;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    color: var(--gold-light);
    line-height: 1.6;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

.navbar {
    background-color: #000000;
    padding: 12px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.navbar-nav .nav-link i {
    margin-right: 5px;
    font-size: 0.95em;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.2);
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media (max-width: 992px) {
    .navbar-nav .nav-link {
        justify-content: flex-start;
    }
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.5rem 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--gold);
    transform: scale(1.05);
}

.navbar-toggler {
    border-color: var(--gold);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(230, 201, 85, 0.5);
}

header {
    padding: 20px 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

header.show {
    opacity: 1;
    transform: translateY(0);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 20px 0;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    width: 300px; /* Megnövelt szélesség a korábbi 120px helyett */
    height: 300px; /* Megnövelt magasság a korábbi 120px helyett */
    overflow: hidden;
    box-shadow: none; /* Eltávolítjuk az árnyékot, ha nem szeretnéd a fekete hátteret */
    margin: 0;
    border-radius: 0;
    background: transparent; /* Átlátszó háttér */
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 'cover' helyett 'contain', hogy a teljes zseton látszódjon */
    object-position: center;
    background-color: transparent;
}

.site-name {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    text-shadow: 
        0 0 10px rgba(201, 164, 49, 0.8),
        0 0 3px rgba(255, 255, 255, 0.6);
    margin: 0;
}

.horizontal-rule {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    border: none;
    margin: 5px 0 15px 0;
    opacity: 0;
    transform: scaleX(0.8);
    transition: all 0.5s ease;
}

.horizontal-rule.show {
    opacity: 1;
    transform: scaleX(1);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
}

.social-icon i {
    font-size: 22px;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.discord {
    background-color: #5865F2;
}

.social-icon.twitch {
    background-color: #6441a5;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.content {
    text-align: center;
    padding: 20px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.content.show {
    opacity: 1;
    transform: translateY(0);
}

.feature-card {
    height: 100%;
    padding: 25px 15px;
    background-color: #0d0a12;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 10px;
    border: 2px solid var(--gold);
    box-shadow: 0 0 15px rgba(201, 164, 49, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card.show {
    opacity: 1;
    transform: translateY(0);
}

.feature-image {
    width: 100%;
    max-width: 250px;
    height: 100px;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card:hover {
    background-color: #151020;
    box-shadow: 0 0 25px rgba(201, 164, 49, 0.7);
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(201, 164, 49, 0.3)); 
}

.feature-texts {
    width: 100%;
    margin-bottom: 20px;
}

.feature-text {
    background-color: #e6c955;
    color: black;
    padding: 8px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(201, 164, 49, 0.5);
    border: 1px solid #f5e7a3;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.register-button {
    background: linear-gradient(to bottom, 
                #f5e7a3, 
                #e6c955, 
                #c9a431);
    color: black;
    padding: 10px 25px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border: 2px solid #c9a431;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(201, 164, 49, 0.5);
    margin-top: auto;
    display: inline-block;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.register-button:hover {
    transform: scale(1.05);
    background: linear-gradient(to bottom, 
                #f7ecc0, 
                #ebd36a, 
                #d4af39);
    box-shadow: 0 0 20px rgba(201, 164, 49, 0.8);
    border: 2px solid #d4af39;
}

footer {
    text-align: center;
    padding: 20px 0;
    background-color: var(--black);
    margin-top: 40px;
    border-top: 1px solid var(--gold-dark);
    opacity: 0;
    transition: opacity 0.5s ease;
}

footer.show {
    opacity: 1;
}

.gambleaware {
    height: 60px;
    width: auto;
    margin-top: 10px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.gambleaware:hover {
    opacity: 1;
}

@media (max-width: 992px) {
    .feature-text {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .register-button {
        padding: 8px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 20px 0;
    }
    
    .logo {
        width: 100px !important;
        height: 100px !important;
    }
    
    .site-name {
        font-size: 1.75rem !important;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .index-page .feature-image {
        max-width: 100%;
        height: 120px !important;
        margin: 0 auto 15px;
    }
    
    .index-page .card-image {
        max-width: 90%;
        height: auto;
        max-height: 110px;
    }
    
    .feature-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .site-name {
        font-size: 1.5rem !important;
        letter-spacing: 2px;
    }
    
    .logo {
        width: 80px !important;
        height: 80px !important;
        border-width: 2px;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .index-page .feature-image {
        height: 100px !important;
    }
    
    .index-page .feature-card {
        padding: 15px 10px;
    }
    
    .index-page .card-image {
        max-height: 90px;
    }
}