:root {
    --boja-blue-transparent: linear-gradient(135deg, rgba(22,33,62,0.2), rgba(15,52,96,0.4));
    --primary-blue: #66ccff;
    --primary-blue-dark: #0066cc;
    --primary-blue-light: #99e6ff;
    --bg-dark: rgba(0,0,0,0.9);
    --bg-card: linear-gradient(135deg, rgba(22,33,62,0.2), rgba(15,52,96,0.4));
    --border-light: rgba(255,255,255,0.1);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
    --shadow-sm: 0 4px 15px rgba(0,100,200,0.3);
    --shadow-md: 0 8px 25px rgba(0,100,200,0.4);
    --shadow-lg: 0 15px 40px rgba(0,0,0,0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body *:not(nav):not(nav *) {
    overflow-x: hidden;
    overflow-y: hidden;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 30%, #0f3460 70%, #0e4b82 100%);
    background-attachment: fixed;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}


@keyframes myAnimation {
  from {text-shadow:0 0 5px #ff0000;}
  to {text-shadow:0 0 5px rgb(0, 255, 30);}
}
@keyframes myAnimation3 {
    0%   {background-color:#66ccff; }
    25%  {background-color:#99e6ff;}
    50%  {background-color:#ccefff; }
    75%  {background-color:#99e6ff;}
    100% {background-color:#66ccff; }
}
@keyframes myAnimation33 {
  0%   {text-shadow:0 0 5px #66ccff;}
  25%  {text-shadow:0 0 3px #99e6ff;}
  50%  {text-shadow:0 0 5px #ccefff;}
  75%  {text-shadow:0 0 3px #99e6ff;}
  100% {text-shadow:0 0 5px #66ccff;}
}
@keyframes myAnimation34 {
  0%   {text-shadow:0 0 5px #66ccff;}
  25%  {text-shadow:0 0 2px #99e6ff;}
  50%  {text-shadow:0 0 3px #ccefff;}
  75%  {text-shadow:0 0 2px #99e6ff;}
  100% {text-shadow:0 0 5px #66ccff;}
}

/* @keyframes myAnimation3 {
  0%   {background-color:white; }
 
  50%  {background-color:rgba(255, 255, 255, 0.418); }

  100% {background-color:white; }
} */

/* Hero Section */

.frost-wind {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(200, 240, 255, 0.1), transparent);
  animation: frostMove 10s linear infinite;
  
  filter: blur(2px) brightness(1.2);
  pointer-events: none;
}

.frost-wind {
  filter: blur(2px) brightness(1.2);
}

@keyframes frostMove {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}


.hero {
    height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, rgba(0,100,200,0.2), rgba(0,50,150,0.5)), 
                url("../images/home.jpg") no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    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 center, transparent 30%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    /* text-shadow: 3px 3px 6px rgba(0,0,0,0.8); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.5px black; 

    /* text-shadow: 0 0px 0px #ccefff; */
    
    filter: drop-shadow(0 0 5px #99e6ff);
    filter: drop-shadow(0 0 7px #ccefff);

    background-clip: text;
    animation-name: myAnimation3;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    
}

/* .hero h1  {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    background: linear-gradient(270deg,#99e6ff, #66ccff, #ccefff, #99e6ff);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.5px black; 
    filter: drop-shadow(0 0 5px #99e6ff);
    animation: myAnimation4 5s infinite;
} */

@keyframes myAnimation4 {
    0%   {background-color:#43b5ee; }
    25%  {background-color:#99e6ff;}
    50%  {background-color:#ccefff; }
    75%  {background-color:#99e6ff;}
    100% {background-color:#43b5ee; }
}



.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #0066cc, #0099ff);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,100,200,0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,100,200,0.6);
}

/* Navigation */
nav {
    background: rgba(0,0,0,0.9);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-auth {
    display: flex;
    gap: 15px;
    align-items: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover {
    color: #66ccff;
}

.login-btn {
    background: linear-gradient(135deg, #0066cc, #66ccff);
    padding: 10px 25px;
    border-radius: 25px;
    color: white !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,100,200,0.3);
    
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,100,200,0.5);
    color: white !important;
}

.register-nav-btn {
    background: transparent;
    border: 2px solid #66ccff;
    padding: 8px 20px;
    border-radius: 25px;
    color: #66ccff !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.register-nav-btn:hover {
    background: #66ccff;
    color: white !important;
    transform: translateY(-2px);
}

/* .logged-as-btn {
    background: linear-gradient(135deg, #0066cc, #66ccff);
    padding: 10px 25px;
    border-radius: 25px;
    color: white !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,200,100,0.3);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.logged-as-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,200,100,0.5);
    color: white !important;
    background: linear-gradient(135deg, #0055bb, #55bbee);
} */

.logged-as-btn{
    background: linear-gradient(135deg, rgba(0,255,136,0.15), rgba(0,204,109,0.35));
    border: 2px solid rgba(0,255,136,0.3);
    padding: 10px 25px;
    border-radius: 25px;
    color: #00ff88 !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,255,136,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logged-as-btn:hover {
    background: linear-gradient(135deg, rgba(0,255,136,0.25), rgba(0,204,109,0.25));
    border-color: rgba(0,255,136,0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,255,136,0.3);
    color: #00ff88 !important;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #66ccff;
}

/* Server Info */
.server-info {
    /* background: linear-gradient(135deg, rgba(22,33,62,0.8), rgba(15,52,96,0.9)); */
    background: linear-gradient(135deg, rgba(22,33,62,0.2), rgba(15,52,96,0.4));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.server-character {
    text-align: center;
}

.server-character img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
}

.server-details h3 {
    color: #66ccff;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.server-details ul {
    list-style: none;
}

.server-details li {
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.server-details li strong {
    color: #66ccff;
}

/* How to Connect */
.connect-steps {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.connect-left {
    /* background: linear-gradient(135deg, rgba(22,33,62,0.6), rgba(15,52,96,0.8)); */
    background: linear-gradient(135deg, rgba(22,33,62,0.2), rgba(15,52,96,0.4));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;

}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,100,200,0.2);
}

.step-icon {
    max-width: 40px;
    width: 100%;
    height: 40px;
    background: linear-gradient(135deg, #0066cc, #66ccff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-weight: bold;
}

.step-content h4 {
    color: #66ccff;
    margin-bottom: 10px;
}

.connect-character {
    text-align: center;
}


/* Registration Form */
.register-section {
    background: linear-gradient(135deg, rgba(15,52,96,0.3), rgba(14,75,130,0.4));
    backdrop-filter: blur(5px);
}

.register-form {
    max-width: 600px;
    margin: 0 auto;
    /* background: linear-gradient(135deg, rgba(22,33,62,0.8), rgba(15,52,96,0.9)); */
    background: linear-gradient(135deg, rgba(22,33,62,0.2), rgba(15,52,96,0.4));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);

}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #66ccff;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 18px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #66ccff;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 20px rgba(102,204,255,0.2);
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #0066cc, #66ccff);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,100,200,0.4);
}

/* Server Status */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.status-card {
    background: linear-gradient(135deg, rgba(22,33,62,0.6), rgba(15,52,96,0.8));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,100,200,0.2);
}

.status-card h3 {
    color: #66ccff;
    margin-bottom: 20px;
}

.status-table {
    width: 100%;
    border-collapse: collapse;
}

.status-table th,
.status-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.status-table th {
    color: #66ccff;
}

.online {
    color: #00ff00;
}

.offline {
    color: #ff0000;
}

/* Top Players */
.top-players {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.player-badge {
    background: linear-gradient(135deg, #0066cc, #66ccff);
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
}

.player-badge:hover {
    transform: translateY(-3px);
}

/* FAQ */
.faq-item {
    /* background: linear-gradient(135deg, rgba(22,33,62,0.3), rgba(15,52,96,0.5)); */
    background: var(--boja-blue-transparent);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,100,200,0.15);
}

.faq-question {
    /* background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); */
    background: var(--boja-blue-transparent);
    padding: 25px;
    cursor: pointer;
    font-weight: bold;
    color: #66ccff;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}

.faq-answer {
    padding: 25px;
    display: none;
    background: rgba(255,255,255,0.02);
}

.faq-answer.active {
    display: block;
}

/* Contact */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-details {
    /* background: linear-gradient(135deg, rgba(22,33,62,0.8), rgba(15,52,96,0.9)); */
    background: linear-gradient(135deg, rgba(22,33,62,0.2), rgba(15,52,96,0.4));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
}

.contact-details h3 {
    color: #66ccff;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #0066cc, #66ccff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

/* Login Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, rgba(22,33,62,0.95), rgba(15,52,96,0.98));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    margin: 5% auto;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #66ccff;
}

.modal h2 {
    color: #66ccff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.login-form .form-group {
    margin-bottom: 25px;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #66ccff;
    font-weight: bold;
}

.login-form .form-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: #66ccff;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 20px rgba(102,204,255,0.2);
}

.login-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #0066cc, #66ccff);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,100,200,0.4);
}

.login-footer {
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

.login-footer a {
    color: #66ccff;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links.mobile-active {
    display: flex;
}
footer {
    background: linear-gradient(135deg, rgba(10,10,20,0.9), rgba(15,15,30,0.95));
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {

    body *:not(nav):not(nav *) {
        overflow-x: hidden;
    }

    .hero {
        padding: 0 15px;
        height: 80vh;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    .nav-links {
        order: 2;
        flex-direction: column;
        gap: 15px;
        text-align: center;
        display: none;
        width: 100%;
    }
    
    .nav-auth {
        order: 1;
        justify-content: center;
        gap: 10px;
    }
    
    .mobile-menu-btn {
        display: block;
        order: 0;
        position: absolute;
        right: 15px;
        /* top: 50%; */
        margin-top: 20px;
        transform: translateY(-50%);
    }
    
    nav a {
        font-size: 0.9rem;
    }
    
    .login-btn,
    .register-nav-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 30px 25px;
        width: 95%;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .server-info,
    .connect-steps,
    .contact-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .server-info {
        padding: 30px 20px;
    }
    
    .connect-left {
        
        padding: 25px;
    }
    
    .step {
        /* flex-direction: column; */
        text-align: center;
        padding: 20px;

        
    }
    
    .step-content{
        text-align: left;

        /* display: flex; */
        margin-left: 20px;
    }

    .ruleStep-content{
        text-align: left;
        margin-left: 20px;
    }
    
    .step-icon {
        margin: 0 0 15px 0;
    }
    
    .register-form {
        margin: 0 15px;
        padding: 30px 25px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .status-card {
        padding: 25px 15px;
    }
    
    .top-players {
        flex-direction: column;
        align-items: center;
    }
    
    .player-badge {
        width: 80%;
        max-width: 300px;
        text-align: center;
        padding: 12px 20px;
        margin-bottom: 10px;
    }
    
    .faq-question {
        padding: 20px 15px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 20px 15px;
        font-size: 0.9rem;
    }
    
    .contact-details {
        padding: 25px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .contact-icon {
        margin: 0 0 10px 0;
    }

    
    
    /* .server-character > div,
    .connect-character > div {
        width: 100% !important;
        max-width: 280px;
        height: 300px !important;
        margin: 0 auto;
    } */
}

@media (max-width: 480px) {

    /* section{
        overflow-x: hidden;
    } */

    body *:not(nav):not(nav *) {
        overflow-x: hidden;
    }
 
    .nav-auth {
        flex-direction: column;
        gap: 8px;
    }

    nav {
        position: sticky;
        top: 0;
        z-index: 999;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .nav-auth {
        flex-direction: column;
        gap: 8px;
    }
    
    .login-btn,
    .register-nav-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
        width: 120px;
        text-align: center;
    }
    
    .modal-content {
        margin: 15% auto;
        padding: 25px 20px;
    }
    
    .section h2 {
        font-size: 1.7rem;
    }
    
    .register-form {
        margin: 0 10px;
        padding: 25px 20px;
    }
    
    .form-group input,
    .form-group select {
        padding: 15px;
    }
    
    .submit-btn {
        padding: 18px;
        font-size: 1.1rem;
    }
    
    .status-table th,
    .status-table td {
        padding: 8px 5px;
        font-size: 0.85rem;
    }

    .connect-left{
        max-width: 100%;
    }

}


/* #about{
    background: url("../images/more.png") no-repeat fixed center; 
    background-size: cover;
} */


#about{
    background: url("../images/more.png") no-repeat center center fixed; 
    background-size: cover;
}

#download{
    background: url("../images/PalaPozadina2.png") no-repeat center center;
     
    background-size: cover;
 
}

#register{
    background: url("../images/darkPortal3.png") no-repeat fixed center ;
    background-size: cover;
    
}

#rules{
    background: url("../images/sukob.png") no-repeat center center ;
    background-size: cover;
}

#faq{
    background: url("../images/thunderBluff.png") no-repeat fixed center ;
    background-size: cover;
}

#contact{
    background: url("../images/contact.png") no-repeat center center ;
    background-size: cover;

}



h2{
    -webkit-text-stroke: 1.5px black;
    text-shadow: 0 0 20px rgb(0, 0, 0);
}

.ruleStep-content{
    line-height: 2.5;
    /* color: #ff3333; */
    /* margin: auto; */
    /* line-height: 2.5; */
}

.responseMessage{
    color: rgba(255, 0, 0, 1);
    font-size:22px;
    margin-bottom: 20px;
}

.ilidan{
    height: 600px;
    background: url("../images/ilidan2.png") no-repeat center center ;
    background-size: cover;
    /* z-index: 100; */
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    /* background-color: white; */
    text-decoration: none;
    animation: bounce 2s infinite;
    cursor: pointer;
    
}

.scroll-icon {
  width: 100px;
   height: auto;
  /* animation: bounce 2s infinite;  */
  opacity: 0.8;
}

.connect-left a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.connect-left a:hover {
    color: #66ccff;
}


@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.downloadStep {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 25px;
    transition: all 0.3s ease;
    margin: auto;
    max-width:  90%;
}

.downloadStep:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 8px 25px rgba(0,100,200,0.2); */
}

.download-btn {
    
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #0066cc, #66ccff);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: auto;
    max-width:  90%;
    
    
}
.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,100,200,0.4);
}

/* Input Validation States */
.form-group input.valid,
.form-group select.valid {
    border-color: #00ff88;
    background: rgba(0,255,136,0.05);
    box-shadow: 0 0 15px rgba(0,255,136,0.2);
}

.form-group input.invalid,
.form-group select.invalid {
    border-color: #ff3366;
    background: rgba(255,51,102,0.05);
    box-shadow: 0 0 15px rgba(255,51,102,0.2);
}

.form-group input.valid:focus,
.form-group select.valid:focus {
    border-color: #00ff88;
    box-shadow: 0 0 25px rgba(0,255,136,0.3);
}

.form-group input.invalid:focus,
.form-group select.invalid:focus {
    border-color: #ff3366;
    box-shadow: 0 0 25px rgba(255,51,102,0.3);
}


.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue-dark), var(--primary-blue), var(--primary-blue-light));
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 2px 10px rgba(102,204,255,0.5);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
    z-index: 1000;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:focus {
    outline: 3px solid rgba(102,204,255,0.5);
    outline-offset: 3px;
    box-shadow: 0 0 0 3px rgba(102,204,255,0.3), var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(0,100,200,0.6);
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

/* Remove outline from specific elements */
 button:focus,
.back-to-top:focus,
.scroll-down:focus {
    outline: none;
}

.login-form .form-group {
    margin-bottom: 25px;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #66ccff;
    font-weight: bold;
}

.login-form .form-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: #66ccff;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 20px rgba(102,204,255,0.2);
}

/* Nav Active Link Indicator */
nav a.active {
    color: var(--primary-blue);
    position: relative;
    /* background: rgba(102,204,255,0.15); */
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    /* background: var(--primary-blue); */
    background: linear-gradient(90deg, var(--primary-blue-dark), var(--primary-blue));
    border-radius: 2px;
}

/* Smooth Modal Backdrop */
.modal {
    animation: fadeIn 0.3s ease;
}

.section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #66ccff;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    width: 100%;
}
