/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Circular', 'Helvetica Neue', 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #191414 0%, #121212 50%, #000000 100%);
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 900;
}

h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 800;
}

h3 {
    font-size: 1.6rem;
    line-height: 1.3;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    color: #B3B3B3;
    font-size: 1rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 160px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-primary {
    background: linear-gradient(135deg, #1DB954 0%, #1ED760 100%);
    color: #000000;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1ED760 0%, #1DB954 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.4);
    color: #000000;
}

.btn-cta {
    background: linear-gradient(135deg, #1DB954 0%, #1ED760 100%);
    color: #000000;
    font-size: 1.2rem;
    padding: 18px 40px;
    border: 2px solid transparent;
    font-weight: 900;
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.4);
}

.btn-cta:hover {
    background: linear-gradient(135deg, #1ED760 0%, #1DB954 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(29, 185, 84, 0.5);
    color: #000000;
}

/* Header */
.header {
    background: rgba(25, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.2rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(29, 185, 84, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #B3B3B3;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1DB954;
    background: rgba(29, 185, 84, 0.1);
}

.nav-link.active {
    color: #1DB954;
    background: rgba(29, 185, 84, 0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #1DB954;
    border-radius: 2px;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: 25px;
    padding: 4px;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.language-switcher:hover {
    border-color: rgba(29, 185, 84, 0.5);
    background: rgba(40, 40, 40, 0.9);
}

.lang-btn {
    background: transparent;
    border: none;
    color: #B3B3B3;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 45px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lang-btn:hover {
    color: #ffffff;
    background: rgba(29, 185, 84, 0.1);
}

.lang-btn.active {
    background: linear-gradient(135deg, #1DB954 0%, #1ED760 100%);
    color: #000000;
    box-shadow: 0 2px 8px rgba(29, 185, 84, 0.3);
    transform: translateY(-1px);
}

.lang-btn.active:hover {
    background: linear-gradient(135deg, #1ED760 0%, #1DB954 100%);
    color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.4);
}

/* Hero Section */
.hero {
    padding: 140px 0 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(29, 185, 84, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Hero with Background */
.hero-with-bg {
    background-image: url('../pictures/webpconverter/hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-with-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(18, 18, 18, 0.75) 50%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.hero-with-bg .hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1DB954 0%, #1ED760 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(29, 185, 84, 0.3));
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #B3B3B3;
    font-weight: 400;
}

/* Registration Steps */
.registration-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.8) 0%, rgba(25, 20, 20, 0.9) 100%);
    border: 1px solid rgba(29, 185, 84, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover::before {
    opacity: 1;
}

.step:hover {
    transform: translateY(-8px);
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.9) 0%, rgba(25, 20, 20, 1) 100%);
    border-color: rgba(29, 185, 84, 0.5);
    box-shadow: 0 15px 40px rgba(29, 185, 84, 0.2);
}

.step-number {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1DB954 0%, #1ED760 100%);
    color: #000000;
    border-radius: 50%;
    line-height: 70px;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.4);
}

.step-content h3 {
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.step-content p {
    color: #B3B3B3;
    font-size: 1rem;
    line-height: 1.5;
}

.hero-cta {
    margin: 3rem 0;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(25, 20, 20, 0.8) 0%, rgba(18, 18, 18, 0.9) 100%);
}

.features-title {
    text-align: center;
    margin-bottom: 4rem;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 900;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
}

.feature {
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.6) 0%, rgba(25, 20, 20, 0.8) 100%);
    border: 1px solid rgba(29, 185, 84, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover::before {
    opacity: 1;
}

.feature:hover {
    transform: translateY(-8px);
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.8) 0%, rgba(25, 20, 20, 1) 100%);
    border-color: rgba(29, 185, 84, 0.5);
    box-shadow: 0 15px 40px rgba(29, 185, 84, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(29, 185, 84, 0.3));
}

.feature h3 {
    color: #ffffff;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.feature p {
    color: #B3B3B3;
    font-size: 1rem;
    line-height: 1.6;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(135deg, #191414 0%, #121212 100%);
    margin: 5% auto;
    padding: 2.5rem;
    border: 2px solid rgba(29, 185, 84, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 520px;
    position: relative;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
}

.close {
    color: #B3B3B3;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    transition: color 0.3s ease;
}

.close:hover {
    color: #1DB954;
}

/* Registration Form */
.registration-form {
    margin-top: 2.5rem;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(29, 185, 84, 0.3);
    border-radius: 12px;
    background: rgba(40, 40, 40, 0.5);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #1DB954;
    background: rgba(40, 40, 40, 0.8);
    box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
    accent-color: #1DB954;
}

.checkbox-group label {
    margin-bottom: 0;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #B3B3B3;
}

.checkbox-group a {
    color: #1DB954;
    text-decoration: underline;
    font-weight: 600;
}

.checkbox-group a:hover {
    color: #1ED760;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(25, 20, 20, 0.95) 0%, rgba(0, 0, 0, 1) 100%);
    padding: 4rem 0 2.5rem 0;
    border-top: 2px solid rgba(29, 185, 84, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
}

.responsible-gaming {
    padding: 2.5rem;
    background: rgba(29, 185, 84, 0.1);
    border: 2px solid rgba(29, 185, 84, 0.3);
    border-radius: 20px;
}

.responsible-gaming-logos {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.rg-logo {
    padding: 1.2rem;
    background: rgba(40, 40, 40, 0.6);
    border-radius: 12px;
    min-width: 130px;
    border: 1px solid rgba(29, 185, 84, 0.2);
}

.rg-text {
    font-size: 1rem;
    color: #1DB954;
    font-weight: 600;
}

/* Regulator Icons */
.regulator-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(29, 185, 84, 0.2);
}

.regulator-icons a {
    display: inline-block;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.regulator-icons a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.regulator-icons img {
    height: 32px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    filter: grayscale(20%) brightness(1.1);
    transition: all 0.3s ease;
}

.regulator-icons a:hover img {
    filter: grayscale(0%) brightness(1.2);
}

.site-info {
    padding: 2rem;
    background: rgba(40, 40, 40, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(29, 185, 84, 0.2);
}

.site-info h3 {
    color: #ffffff;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.site-info p {
    margin-bottom: 0.8rem;
    color: #B3B3B3;
    font-size: 1rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.footer-nav-section h4 {
    color: #1DB954;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav-section a {
    color: #B3B3B3;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
}

.footer-nav-section a:hover {
    color: #1DB954;
    padding-left: 0.5rem;
}

.copyright {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(29, 185, 84, 0.2);
    color: #B3B3B3;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(29, 185, 84, 0);
    }
}

.step, .feature {
    animation: fadeInUp 0.8s ease-out;
}

.btn-cta {
    animation: pulse 2s infinite;
}

.step-number:hover {
    animation: pulse 1s infinite;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95) 0%, rgba(0, 0, 0, 1) 100%);
    position: relative;
}

.gallery-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #1DB954 0%, #1ED760 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(29, 185, 84, 0.3));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(29, 185, 84, 0.2);
    background: rgba(25, 20, 20, 0.8);
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(29, 185, 84, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 2rem;
}

.gallery-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-content p {
    font-size: 1.1rem;
    color: #1ED760;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover {
    transform: translateY(-8px);
    border-color: rgba(29, 185, 84, 0.6);
    box-shadow: 0 20px 50px rgba(29, 185, 84, 0.3);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

/* Gallery Animation */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-item {
    animation: fadeInScale 0.6s ease-out;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
