/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: rgb(8, 172, 170);
    background-color: #000;
}

/* Home Section */
#home {
    height: 100vh;
    background-image: url('9.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero {
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInDown 1.5s ease-out;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeIn 2s ease-out;
}

.button {
    display: inline-block;
    margin: 10px;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: white(227, 239, 236);
    background-color: #ff4500;
    border-radius: 25px;
    transition: transform 0.3s, background-color 0.3s;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.5);
}

.button:hover {
    background-color: #e63e00;
    transform: scale(1.1);
}

/* Contact Section */
#contact {
    padding: 50px 20px;
    background-color: #111;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#contact p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.contact-btn:hover {
    transform: scale(1.1);
}

.facebook {
    background-color: #4267B2;
}

.telegram {
    background-color: #0088cc;
}

.gmail {
    background-color: #D44638;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}







/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
    background-color: #111; /* Dark background for the whole page */
}

/* Gallery Section */
#gallery {
    padding: 50px;
    text-align: center;
    background: linear-gradient(135deg, #000428, #004e92); /* Dark blue gradient */
    color: #f4f4f4;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5); /* Adds slight shadow at the bottom of the section */
}

#gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-family: 'Times New Roman', serif;
    color: #f4f4f4;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Subtle shadow for the text */
}

/* Gallery Images Container */
.gallery-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three images per row */
    gap: 20px; /* Even spacing between images */
    justify-items: center;
    padding: 10px;
}

/* Style for each image container */
.gallery-images .image-container {
    perspective: 1500px; /* 3D perspective */
    position: relative;
}

.gallery-images img {
    width: 100%;
    max-width: 300px; /* Ensures consistent size for images */
    height: 200px; /* Fixed height for uniformity */
    object-fit: cover; /* Maintains aspect ratio and crops as needed */
    border-radius: 15px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5); /* Adds depth to the images */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d; /* Enables 3D transformations */
}

/* Hover Effect for 3D Rotation */
.gallery-images img:hover {
    transform: rotateY(10deg) rotateX(5deg) scale(1.05); /* 3D rotation and slight zoom */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

/* Animation for Images */
.gallery-images .image-container {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Captions for Images */
.caption {
    font-size: 1rem;
    margin-top: 10px;
    font-family: 'Arial', sans-serif;
    color: #f4f4f4;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Footer Styles */
footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1rem;
    margin-top: 50px;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.5); /* Adds a subtle shadow at the top */
}

.button {
    background-color: #4CAF50; /* Green */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.button:hover {
    background-color: #45a049; /* Darker Green */
}


/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #141E30, #243B55);
    color: #fff;
    overflow-x: hidden;
}
h2, h1 {
    text-align: center;
    margin-top: 20px;
    font-size: 2.5em;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    background: url('hero-bg.jpg') no-repeat center center/cover;
    animation: fadeIn 3s ease-in-out;
}
.hero h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    animation: slideIn 2s ease-in-out;
}
.hero p {
    font-size: 1.5em;
    margin-bottom: 20px;
}
.button {
    text-decoration: none;
    background: #FFD700;
    color: #000;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s, background 0.3s;
}
.button:hover {
    transform: scale(1.1);
    background: #FFA500;
}
#how-to-play {
    padding: 50px 20px;
    background: #1F4068;
    text-align: center;
    animation: slideUp 2s ease-in-out;
}
ol {
    list-style: decimal;
    padding: 0;
    margin: 20px auto;
    max-width: 600px;
    text-align: left;
}
ol li {
    font-size: 1.2em;
    margin: 10px 0;
    line-height: 1.5;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
