/* Gates Of Olympus - Main Design */
/* Colors: Main #9e54cc, Body #faf4f3, Links/Buttons #fbf229, Accent #6c347d, Text #2d1a3d */

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #2d1a3d;
    background-color: #faf4f3;
}

.layout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Top Navigation */
.header-bar {
    background-color: #9e54cc;
    border-bottom: 2px solid #fbf229;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(158, 84, 204, 0.3);
}

.header-bar .layout-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    gap: 30px;
}

.brand img {
    height: 70px;
    width: auto;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-items {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
}

.nav-items li a {
    padding: 10px 20px;
    color: #fbf229;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-items li a:hover {
    background-color: #fbf229;
    color: #2d1a3d;
}

.nav-icon {
    font-size: 14px;
    color: #fbf229;
    flex-shrink: 0;
}

.user-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-button {
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.login-button {
    background: transparent;
    color: #fbf229;
    border-color: #fbf229;
}

.login-button:hover {
    background: #fbf229;
    color: #2d1a3d;
}

.signup-button {
    background: #fbf229;
    color: #2d1a3d;
    border-color: #fbf229;
}

.signup-button:hover {
    background: #e5d91f;
    border-color: #e5d91f;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: #fbf229;
    transition: all 0.3s ease;
}

.toggle-active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.toggle-active span:nth-child(2) {
    opacity: 0;
}

.toggle-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Banner */
.hero-section {
    background-color: #faf4f3;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 100%, rgba(158, 84, 204, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text-block {
    flex: 1;
    text-align: left;
}

.hero-media-block {
    flex: 1;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.hero-media-block img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(158, 84, 204, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-media-block img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(158, 84, 204, 0.35);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #2d1a3d;
}

.brand-highlight {
    color: #9e54cc;
    font-weight: 900;
}

.hero-text {
    font-size: 18px;
    color: #2d1a3d;
    margin-bottom: 20px;
    line-height: 1.7;
}

.hero-text-secondary {
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 14px 32px;
    background: #fbf229;
    color: #2d1a3d;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid #fbf229;
}

.btn-primary:hover {
    background: #e5d91f;
    border-color: #e5d91f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(158, 84, 204, 0.3);
}

.btn-secondary {
    padding: 14px 32px;
    background: transparent;
    color: #9e54cc;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid #9e54cc;
}

.btn-secondary:hover {
    background: #9e54cc;
    color: #faf4f3;
    transform: translateY(-2px);
}

/* Game Categories */
.bonus-section {
    background: #faf4f3;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #2d1a3d;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-intro {
    font-size: 18px;
    color: #2d1a3d;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.bonus-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(158, 84, 204, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(158, 84, 204, 0.1);
}

.bonus-card:hover {
    border-color: #9e54cc;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(158, 84, 204, 0.3);
}

.bonus-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #9e54cc 0%, #6c347d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bonus-placeholder {
    font-size: 80px;
    color: #fbf229;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.bonus-card:hover .bonus-image img {
    transform: scale(1.1);
}

.bonus-body {
    padding: 24px;
    text-align: center;
}

.bonus-title {
    font-size: 22px;
    font-weight: 700;
    color: #9e54cc;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.bonus-text {
    color: #2d1a3d;
    line-height: 1.6;
    margin-bottom: 18px;
    font-size: 14px;
}

.bonus-link {
    display: inline-block;
    padding: 10px 24px;
    background: #fbf229;
    color: #2d1a3d;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.bonus-link:hover {
    background: #e5d91f;
    transform: scale(1.05);
}

/* Promotions Block */
.features-section {
    background-color: #faf4f3;
    padding: 80px 0;
}

.features-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.features-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(158, 84, 204, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-image:hover img {
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(158, 84, 204, 0.35);
}

.features-body {
    display: flex;
    flex-direction: column;
}

.features-title {
    font-size: 36px;
    font-weight: 800;
    color: #2d1a3d;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.features-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #9e54cc;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.features-text {
    color: #2d1a3d;
    line-height: 1.7;
    margin-bottom: 28px;
    font-size: 16px;
}

.features-cta {
    align-self: flex-start;
    padding: 14px 32px;
    background: #fbf229;
    color: #2d1a3d;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.features-cta:hover {
    background: #e5d91f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(158, 84, 204, 0.3);
}

/* Information Cards / Activities */
.activities-section {
    background: #faf4f3;
    padding: 80px 0;
}

.section-header-small {
    margin-bottom: 40px;
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.activity-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(158, 84, 204, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(158, 84, 204, 0.1);
}

.activity-card:hover {
    border-color: #9e54cc;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(158, 84, 204, 0.3);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-card:hover .card-image img {
    transform: scale(1.1);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    padding-top: 20px;
    animation: kart-ikon-float 3s ease-in-out infinite;
}

@keyframes kart-ikon-float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.card-body {
    padding: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #9e54cc;
    margin-bottom: 12px;
}

.card-text {
    color: #2d1a3d;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 14px;
}

.card-link {
    display: inline-block;
    color: #9e54cc;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: #6c347d;
    padding-left: 5px;
}

/* Footer */
.site-footer {
    background-color: #6c347d;
    border-top: 2px solid #fbf229;
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    height: 35px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    font-size: 24px;
    color: #fbf229;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-warning {
    display: flex;
    align-items: center;
}

.footer-warning-text {
    color: #faf4f3;
    font-size: 13px;
    line-height: 1.7;
}

.footer-legal {
    text-align: center;
    color: #faf4f3;
    font-size: 11px;
    line-height: 1.6;
    padding-top: 30px;
    border-top: 1px solid rgba(251, 242, 41, 0.4);
}

/* Responsive */
@media (max-width: 968px) {
    .header-bar .layout-container {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 15px;
    }

    .mobile-toggle {
        display: flex;
        order: 1;
        flex-shrink: 0;
    }

    .brand {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .brand img {
        height: 60px;
        width: auto;
    }

    .user-controls {
        order: 3;
        flex-shrink: 0;
        gap: 8px;
    }

    .header-button {
        padding: 8px 16px;
        font-size: 12px;
        white-space: nowrap;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-block {
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .features-inner {
        grid-template-columns: 1fr;
    }

    .bonus-grid,
    .cards-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .header-bar .layout-container {
        gap: 10px;
        padding: 12px 15px;
    }

    .brand {
        justify-content: flex-start;
        margin-right: auto;
    }

    .brand img {
        height: 55px;
    }

    .user-controls {
        justify-content: center;
        flex: 1;
    }

    .header-button {
        padding: 10px 18px;
        font-size: 13px;
    }

    .hero-inner {
        flex-direction: column;
    }

    .hero-media-block {
        order: -1;
        margin-bottom: 20px;
    }

    .hero-text-block {
        order: 1;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .section-title {
        font-size: 32px;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .footer-logo img {
        height: 60px;
    }
}

html {
    scroll-behavior: smooth;
}

::selection {
    background-color: #9e54cc;
    color: #faf4f3;
}
