/* Premium Modern Styles for FreeSocialJackpot */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    overflow-x: hidden;
}

/* Enhanced Navigation */
.navbar {
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.95), rgba(69, 123, 157, 0.95)) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(168, 218, 220, 0.3);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #a8dadc !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: rgba(168, 218, 220, 0.2);
    color: #a8dadc !important;
    transform: translateY(-2px);
}

/* Hero Section */
.ban {
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.9), rgba(69, 123, 157, 0.8)), url('img/ban.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.ban::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(226, 109, 92, 0.15), rgba(168, 218, 220, 0.15));
    z-index: 1;
}

.ban .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.ban h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    background: linear-gradient(45deg, #e26d5c, #a8dadc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.ban p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    font-weight: 300;
    line-height: 1.7;
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1d3557;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #e26d5c, #a8dadc);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    position: relative;
}

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(168, 218, 220, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 218, 220, 0.1), transparent);
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: #a8dadc;
}

.feature-icon {
    margin-bottom: 2rem;
    position: relative;
}

.feature-icon img {
    max-width: 90px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.1));
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon img {
    transform: scale(1.15) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.6rem;
    color: #1d3557;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Games Section */
.game {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1d3557 0%, #457b9d 50%, #1d3557 100%);
    color: white;
    position: relative;
}

.game .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game .row {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.game .col-lg-4 {
    flex: 0 0 auto;
    width: 300px;
    max-width: 300px;
}

.game .section-title {
    color: #a8dadc;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.game .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.game-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border: 1px solid rgba(168, 218, 220, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border-color: #a8dadc;
}

.game-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
}

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

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

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: rgba(226, 109, 92, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: #e26d5c;
    transform: scale(1.1);
    color: white;
}

.game-content {
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-content h3 {
    font-size: 1.5rem;
    color: #a8dadc;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.game-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.btn-game {
    display: inline-block;
    background: linear-gradient(135deg, #e26d5c, #c23616);
    color: white !important;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: auto;
}

.btn-game:hover {
    background: linear-gradient(135deg, #c23616, #e26d5c);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(226, 109, 92, 0.4);
    color: white !important;
}

/* Articles Preview Section */
.articles-preview {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.article-preview-card {
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(168, 218, 220, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.article-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.article-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.article-preview-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(226, 109, 92, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.article-content {
    padding: 2rem;
}

.article-content h3 {
    font-size: 1.6rem;
    color: #1d3557;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.article-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #999;
}

.btn-article {
    display: inline-block;
    background: linear-gradient(135deg, #457b9d, #1d3557);
    color: white !important;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-article:hover {
    background: linear-gradient(135deg, #1d3557, #457b9d);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(69, 123, 157, 0.4);
    color: white !important;
}

/* Contact Section */
.feedback1 {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
    color: white;
}

.feedback {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 4rem;
    border-radius: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border: 1px solid rgba(168, 218, 220, 0.3);
}

.feedback h2 {
    text-align: center;
    color: #a8dadc;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.feedback input,
.feedback textarea {
    width: 100%;
    padding: 1.2rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.feedback input::placeholder,
.feedback textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.feedback input:focus,
.feedback textarea:focus {
    outline: none;
    border-color: #a8dadc;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(168, 218, 220, 0.3);
    transform: translateY(-2px);
}

.feedback button {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #e26d5c, #c23616);
    color: white;
    border: none;
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feedback button:hover {
    background: linear-gradient(135deg, #c23616, #e26d5c);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(226, 109, 92, 0.4);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #e26d5c, #c23616) !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 2rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c23616, #e26d5c) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(226, 109, 92, 0.4) !important;
}

.btn-secondary {
    background: transparent !important;
    border: 2px solid white !important;
    padding: 1rem 2rem !important;
    border-radius: 2rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.btn-secondary:hover {
    background: white !important;
    color: #1d3557 !important;
    transform: translateY(-3px) !important;
}

.btn-outline-primary {
    border: 2px solid #e26d5c !important;
    color: #e26d5c !important;
    background: transparent !important;
    padding: 1rem 2rem !important;
    border-radius: 2rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.btn-outline-primary:hover {
    background: #e26d5c !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(226, 109, 92, 0.3) !important;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1d3557, #457b9d);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.footer-section h3 {
    color: #a8dadc;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #a8dadc;
}

.footer-bottom {
    border-top: 1px solid rgba(168, 218, 220, 0.3);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

/* Cookie Banner */
#overlay {
    background: rgba(29, 53, 87, 0.95) !important;
    backdrop-filter: blur(10px);
    border-top: 3px solid #a8dadc;
}

#overlay .cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

#overlay p {
    color: white;
    margin: 0;
    flex: 1;
    line-height: 1.6;
}

#overlay .close {
    background: linear-gradient(135deg, #e26d5c, #c23616);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#overlay .close:hover {
    background: linear-gradient(135deg, #c23616, #e26d5c);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(226, 109, 92, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .ban h1 {
        font-size: 3rem;
        letter-spacing: -1px;
    }
    
    .ban p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .feature-card,
    .game-card,
    .article-preview-card {
        margin-bottom: 2rem;
    }
    
    .game-card {
        height: 450px;
    }
    
    .feature-card,
    .feedback {
        padding: 2rem;
    }
    
    .game-content,
    .article-content {
        padding: 1.2rem;
    }
    
    .game-content h3 {
        font-size: 1.3rem;
    }
    
    .game-content p {
        font-size: 0.85rem;
    }
    
    #overlay .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .ban {
        padding: 4rem 1rem;
        min-height: 70vh;
    }
    
    .ban h1 {
        font-size: 2.5rem;
    }
    
    .ban p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about,
    .game,
    .articles-preview,
    .feedback1 {
        padding: 4rem 0;
    }
    
    .feature-card,
    .feedback {
        padding: 1.5rem;
    }
    
    .game-card {
        height: 400px;
    }
    
    .game-image {
        height: 160px;
    }
    
    .game-content,
    .article-content {
        padding: 1rem;
    }
    
    .game-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .game-content p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .btn-game {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}