* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* space between image and text */
    font-weight: bold;
    font-size: 18px;
    color: #fff; /* or your preferred text color */
}
.logo img {
    height: 40px; /* adjust size as needed */
    width: auto;
}

body {
    background-color: #0a192f;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1a3a6a 0%, #0a192f 100%);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #f8c537;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

/* Navigation */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
    position: relative;
}

.nav-links a {
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.nav-links a:hover {
    color: #f8c537;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #f8c537;
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: url('teenpatti-bg.jpg') no-repeat center center/cover;
    position: relative;
    text-align: center;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #f8c537;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.btn-primary {
    background-color: #f8c537;
    color: #0a192f;
}

.btn-primary:hover {
    background-color: #e6b416;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 197, 55, 0.3);
}

.btn-secondary {
    border: 2px solid #f8c537;
    color: #f8c537;
}

.btn-secondary:hover {
    background-color: rgba(248, 197, 55, 0.1);
    transform: translateY(-2px);
}

 .features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h3 {
    font-size: 36px;
    color: #f8c537;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(26, 58, 106, 0.3);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(26, 58, 106, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 40px;
    color: #f8c537;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Game Rules Section */
.game-rules {
    padding: 80px 0;
    background: rgba(26, 58, 106, 0.2);
}

.rules-container {
    max-width: 800px;
    margin: 0 auto;
}

.rules-container h3 {
    font-size: 24px;
    color: #f8c537;
    margin: 25px 0 15px;
}

.rules-container ul {
    margin-left: 20px;
}

.rules-container li {
    margin-bottom: 10px;
}

/* Download Section */
.download {
    padding: 80px 0;
    text-align: center;
}

.download-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.download-btn {
    display: flex;
    align-items: center;
    background: #1a3a6a;
    padding: 15px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #23457e;
    transform: translateY(-3px);
}

.download-btn img {
    height: 40px;
    margin-right: 15px;
}

.download-btn-text p {
    font-size: 12px;
    text-align: left;
    opacity: 0.7;
}

.download-btn-text h4 {
    font-size: 18px;
    text-align: left;
}

/* Footer */
footer {
    background: #07162b;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    color: #f8c537;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #f8c537;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #f8c537;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f8c537;
    color: #0a192f;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.7;
}
   #features {
      margin-top: 30px;
  }

  .hero {
      margin-bottom: 0;
      padding-bottom: 0px;
  }
   .logo {
    display: flex;
    align-items: center;
    gap: 10px; /* space between image and text */
    font-weight: bold;
    font-size: 18px;
    color: #fff; /* or your preferred text color */
}
 

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
        margin-right: 65px;
        margin-top: 20px;
    }
    
    .nav-links {
        margin-top: 15px;
     }
    
    .nav-links li {
        margin-left: 15px;
        margin-right: 15px;
        padding: -3px;
        color: black;
     }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn {
        display: block;
        margin: 10px auto;
        max-width: 200px;
    }
      
}