/**
 * Festwin Turnuva Projesi
 * Ana stil dosyasÄ±
 */

/* -------------------- */
/* --- Temel Stiller --- */
/* -------------------- */

:root {
    --primary-yellow: #ffc107;
    --primary-yellow-hover: #ffca28;
    --primary-cyan: #00e1ff;
    --primary-pink: #ff5d92;
    --dark-bg: #1a1d2e;
    --card-bg: #2c3040;
    --light-gray-bg: #f8f9fa;
    --text-light: #ffffff;
    --text-dark-on-yellow: #212529;
    --text-dark: #343a40;
    --text-muted: #adb5bd;
    --border-radius: 8px;
    --border-radius-large: 12px;
    --font-family: "Geologica", sans-serif;
    --left-sidebar-width: 220px;
    --right-sidebar-width: 300px;
    --main-content-max-width: 860px; /* Default max-width for main content area */
    --edge-spacing: 20px;
    --gap-spacing: 20px;
    --section-width: 1000px; /* Max width for wider sections like hero, leaderboards */
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
}

html {
    box-sizing: border-box; /* Apply box-sizing to html */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: inherit; /* Inherit box-sizing */
}
body .main-content {
    width: 100% !important;
    max-width: var(--main-content-max-width) !important;
    margin: 0 auto !important;
}


body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--light-gray-bg);
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-yellow);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, p {
    margin: 0 0 0.5em;
}

h2, h3 {
    position: relative;
    color: #222222;
    font-weight: 600;
}
.security-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 15px 0;
}

.security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 6px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.security-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.security-badge:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.security-badge:hover img {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .security-badges {
    gap: 8px;
  }
  
  .security-badge {
    width: 80px;
    height: 80px;
    padding: 5px;
  }
}

/* Extremely small screens */
@media (max-width: 320px) {
  .security-badges {
    gap: 6px;
  }
  
  .security-badge {
    width: 28px;
    height: 28px;
    padding: 4px;
  }
}
.container {
    width: 100%;
    max-width: 1200px; /* Standard container for general content */
    margin: 0 auto;
    padding: 0 15px;
    /* box-sizing: border-box; -- Handled by universal box-sizing */
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevents extra space below images */
}

button, .btn {
    cursor: pointer;
    font-family: var(--font-family);
}

/* Form */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: var(--border-radius);
    /* box-sizing: border-box; -- Handled by universal box-sizing */
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: var(--primary-yellow);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 10px;
}

.form-text {
    font-size: 12px;
    color: var(--text-muted);
}

.input-group {
    display: flex;
    align-items: center;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-left: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.input-group .form-control {
    border-right: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 8px 15px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--text-dark-on-yellow);
}

.btn-primary:hover {
    background-color: var(--primary-yellow-hover);
	color:black;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.2);
    color: var(--success-color);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: var(--error-color);
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.2);
    color: var(--warning-color);
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    border-color: rgba(23, 162, 184, 0.2);
    color: var(--info-color);
}

/* Flash Messages */
.flash-message {
    width: 100%;
    padding: 10px 0;
    color: white;
    text-align: center;
    position: relative;
}

.flash-success {
    background-color: var(--success-color);
}

.flash-error {
    background-color: var(--error-color);
}

.flash-warning {
    background-color: var(--warning-color);
    color: var(--text-dark-on-yellow);
}

.flash-info {
    background-color: var(--info-color);
}

.flash-message .close-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 20px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Responsive Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* -------------------- */
/* --- Header Stili --- */
/* -------------------- */
header {
    background-color: var(--primary-yellow);
    color: var(--text-dark-on-yellow);
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0 var(--edge-spacing); /* Add padding to header itself for smaller screens */
}

@media screen and (max-width: 768px) {
header {
    height: 55px;
}}

.header-container {
    /* Max width calculated based on potential full layout with sidebars */
    max-width: calc(var(--left-sidebar-width) + var(--gap-spacing) + var(--main-content-max-width) + var(--gap-spacing) + var(--right-sidebar-width) + (2 * var(--edge-spacing)));
    margin: 0 auto;
    padding: 15px 0; /* Adjusted padding, edge spacing handled by parent header */
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* box-sizing: border-box; -- Handled by universal box-sizing */
    flex-wrap: wrap; /* Allow wrapping by default for smaller screens */
}

.logo {
    font-size: 28px;
    font-weight: 700;
    margin-right: auto; /* Push other items to the right */
}

.logo strong {
    font-weight: 800;
}

.logo a {
    color: inherit;
    text-decoration: none;
}
.logo-img {
    max-width: 150px !important;
      transition:all 1s;
}
.logo-img:hover {
   filter:drop-shadow(0px 0px 2px white)
}
@media (max-width: 768px) {
   .logo-img {
    max-width: 130px !important;
      transition:all 1s;
       margin-top:5px;
}
  }

.main-nav {
    /* flex-grow: 1; Remove to allow logo and login to be on sides */
    position: absolute;
    display: flex;
    justify-content: center; /* Center nav items */
    right: 36%;
}

.main-nav ul {
    display: flex;
    align-items: center; /* Align items vertically */
}

.main-nav li a {
    position: relative;
    padding: 10px 15px; /* Adjusted padding */
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: color 0.3s;
    /* left: 76%; REMOVED - problematic for responsive */
}

.main-nav li a:hover {
    color: black;
}

.main-nav li a i {
    margin-right: 8px;
    font-size: 1.1em;
}

.header-actions { /* Wrapper for login/user menu */
    display: flex;
    align-items: center;
    gap: 10px; /* Space between login and potential future items */
    margin-left: 20px; /* Space from nav */
}


.login-btn {
    background-color: var(--text-dark-on-yellow);
    color: var(--primary-yellow);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: black;
}

.login-btn i {
    margin-right: 8px;
}
.form-group > .login-btn {
    width: 100%!important;
}
/* KullanÄ±cÄ± menÃ¼sÃ¼ */
.user-menu {
    position: relative;
}

.user-menu-toggle {
    background-color: var(--text-dark-on-yellow);
    color: var(--primary-yellow);
    border: none;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}

.user-menu-toggle:hover {
    background-color: black;
}

.username-display {
    margin-right: 8px;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 1000;
    display: none;
}

.user-dropdown.active {
    display: block;
}

.user-dropdown ul {
    padding: 10px 0;
}

.user-dropdown ul li a {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    color: var(--text-dark);
    transition: background-color 0.3s;
}

.user-dropdown ul li a:hover {
    background-color: #f8f9fa;
    color: var(--primary-yellow);
}

.user-dropdown ul li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* -------------------- */
/* --- Sayfa YapÄ±sÄ± --- */
/* -------------------- */
.page-wrapper { /* Added a wrapper for better control over max-width and centering */
    max-width: calc(var(--left-sidebar-width) + var(--gap-spacing) + var(--main-content-max-width) + var(--gap-spacing) + var(--right-sidebar-width) + (2 * var(--edge-spacing)));
    margin: 0 auto;
    padding: 0 var(--edge-spacing);
}

.page-container {
    display: flex;
    width: 100%;
    /* box-sizing: border-box; -- Handled by universal box-sizing */
    padding: var(--edge-spacing) 0; /* Vertical padding, horizontal handled by page-wrapper */
    gap: var(--gap-spacing); /* Gap between sidebars and main content */
}
.left-sidebar {
    margin-left: 3%;
}
.right-sidebar {
    margin-right: 3%;
}

.left-sidebar {
    flex-shrink: 0;
    width: var(--left-sidebar-width);
    padding: 20px;
    border-radius: var(--border-radius-large);
    height: fit-content;
    /* margin-left: var(--edge-spacing); REMOVED - handled by page-wrapper/gap */
    /* margin-right: var(--gap-spacing); REMOVED - handled by gap */
    box-shadow: none;
}

.main-content {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0; /* Important for flex items to shrink properly */
    max-width: var(--main-content-max-width);
    padding: 0;
    color: var(--text-dark);
    /* margin: 0 auto; -- Centering handled by page-wrapper if sidebars are not present */
}

.right-sidebar {
    flex-shrink: 0;
    width: var(--right-sidebar-width);
    padding: 25px;
    border-radius: var(--border-radius-large);
    color: var(--text-dark);
    height: fit-content;
    /* margin-right: var(--edge-spacing); REMOVED - handled by page-wrapper/gap */
    /* margin-left: var(--gap-spacing); REMOVED - handled by gap */
}

/* -------------------- */
/* --- Sol Kenar Ã‡ubuÄŸu --- */
/* -------------------- */
.sidebar-nav {
    margin-bottom: 20px;
}

.sidebar-nav ul li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    gap: 10px;
    margin-bottom: 5px;
    border-radius: var(--border-radius);
    font-weight: 500;
    color: var(--text-dark);
    transition: 0.25s;
    border:3px solid #ffc10700;
}

.sidebar-nav ul li a:hover {
    border:3px solid #ffc107;
}

.sidebar-nav ul li.active a {
    background-color: var(--primary-yellow);
    color: var(--text-dark-on-yellow);
}

.social-media h3 {
    font-size: 16px;
    margin-bottom: 12px;
    margin-left: 5px;
}

.social-media ul li a {
    display: flex;
    align-items: center;
    padding: 8px 5px;
    gap: 10px;
    color: var(--text-dark);
    transition: color 0.3s;
}

.social-media ul li a:hover {
    color: var(--primary-yellow);
}

.social-media ul li a i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* -------------------- */
/* --- Banner Stili --- */
/* -------------------- */
.hero-banner {
    position: relative;
    background-color: rgb(0, 0, 0);
    padding: 30px;
    height: 160px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 30px;
    max-width: var(--section-width); /* Uses wider section width */
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* transform: translateX(20px); REMOVED - problematic for responsive */
}

.hero-banner h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-cta-btn {
    background-color: var(--primary-yellow);
    color: var(--text-dark-on-yellow);
    border: none;
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all .5s;
}

.hero-cta-btn:hover {
    background-color: rgb(213 197 139 / 0%);
    border: 1px solid #ffc107;
    transition: all .5s;
    box-shadow: 1px 1px 10px #ffc107 inset;
	color: white;
}

/* -------------------- */
/* --- Liderler BÃ¶lÃ¼mÃ¼ --- */
/* -------------------- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 var(--edge-spacing); /* Add padding for consistency on smaller screens */
}

.section-header h2 {
    font-size: 1.5em;
    margin: 0;
    /* left: 28px; REMOVED */
}

.see-all-arrow {
    position: relative;
    background-color: var(--primary-yellow);
    color: var(--text-dark-on-yellow);
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s;
    /* left: 20px; REMOVED */
}

.see-all-arrow:hover {
    background-color: var(--primary-yellow-hover);
	color: #143b40;
}

/* Leaders Grid */
.leaders-grid-container, .daily-ranking-grid-container { /* Added container for padding */
    max-width: var(--section-width);
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--edge-spacing); /* Consistent padding */
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, 280px);
    gap: 15px;
    /* max-width: calc(var(--section-width) - 60px); REMOVED - handled by container */
    /* margin-left: auto; REMOVED - handled by container */
    /* margin-right: auto; REMOVED - handled by container */
    /* position: relative; REMOVED */
    /* Removed left: 22px to center properly */
}

.leader-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    width: 280px; /* Fixed width to match player-card, grid handles placement */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.leader-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: 16px;
    margin: 10px;
}

.leader-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgb(255 194 2);
    color: var(--text-dark);
    font-weight: bold;
    padding: 3px 12px;
    border-radius: 7px;
    font-size: 14px;
    z-index: 10;
	border: 2px solid #ffffff;
}

.leader-card-info {
    padding: 0 15px 15px;
    margin-top: 20px;
}

.prize-username-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.leader-card-info .prize {
    font-weight: bold;
    color: black;
    padding: 8px 15px;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.95em;
}

.leader-card-info .username {
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.leader-card-info .username i {
    color: var(--primary-pink);
}

.leader-card-info .score {
    color: #c0c1c6;
    font-size: 14px;
}

/* Daily Ranking Section */
.daily-ranking-section {
    margin-top: 40px;
}

.daily-ranking-section h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
}

.daily-ranking-grid {
    /* position: relative; -- Already set if needed for children */
    display: grid;
    grid-template-columns: repeat(3, 280px);
    gap: 15px;
    /* max-width: calc(var(--section-width) - 60px); REMOVED - handled by container */
    /* margin-left: auto; REMOVED - handled by container */
    /* margin-right: auto; REMOVED - handled by container */
    /* Removed transform: translateX(20px) for consistent centering */
    /* padding: 0px; -- Handled by container */
}

.player-card {
    position: relative;
    background: url("https://w7.pngwing.com/pngs/258/85/png-transparent-night-sky-atmosphere-of-earth-darkness-night-miscellaneous-blue-atmosphere.png") center center / cover no-repeat;
    border-radius: 20px;
    width: 280px; /* Fixed to match grid-template-columns */
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px;
}

.player-card:nth-child(7), .player-card:nth-child(8) {
    background: url("https://w7.pngwing.com/pngs/258/85/png-transparent-night-sky-atmosphere-of-earth-darkness-night-miscellaneous-blue-atmosphere.png") center center / cover no-repeat;
}

.player-rank-tag {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgb(255, 193, 7);
    color: rgb(255, 255, 255);
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 9px 0px;
    font-size: 14px;
    z-index: 10;
}

.player-card-content {
    display: flex;
    align-items: center;
    padding: 15px;
    height: 100%;
    min-height: 110px;
    width: 100%;
    /* box-sizing: border-box; -- Handled by universal box-sizing */
    background: rgba(0, 0, 0, 0.5);
}

.player-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
}

.player-info .prize-username-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.player-info .prize {
    font-size: 18px;
    font-weight: bold;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 193, 7);
    padding: 6px 12px;
    border-radius: 30px;
    display: inline-block;
}

.player-info .username {
    color: rgb(255, 255, 255);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.player-info .username i {
    color: rgb(255, 93, 146);
}

.player-info .score {
    color: rgb(160, 160, 160);
    font-size: 13px;
}
/* -------------------- */
/* --- KullanÄ±cÄ± SÄ±ralamasÄ± --- */
/* -------------------- */
.user-ranking-section {
    margin-bottom: 30px;
    padding: 0 var(--edge-spacing); /* Add padding */
}

.user-ranking-section h2 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.user-ranking-card {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-yellow);
}

.user-ranking-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.user-ranking-info {
    flex-grow: 1;
    min-width: 200px; /* Ensure some space before wrapping */
}

.user-rank {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rank-number {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-yellow);
    margin-right: 10px;
}

.username { /* This class is used in multiple places, ensure specificity or common styling */
    font-weight: 500;
    font-size: 1.2em;
}

.user-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.stats-item {
    display: flex;
    flex-direction: column;
}

.stats-label {
    font-size: 0.85em;
    color: var(--text-muted);
}

.stats-value {
    font-weight: 500;
    color: var(--text-dark);
}

.stats-value.prize {
    font-weight: bold;
    color: black;
    padding: 5px 10px;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.9em;
    margin-top: 5px;
}

/* -------------------- */
/* --- SaÄŸ Kenar Ã‡ubuÄŸu --- */
/* -------------------- */
.promotions-section {
    margin-bottom: 30px;
}

.promotions-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.promo-list .promo-item {
    background-color: #f8f9fa;
    color: var(--text-dark);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 4px;
}

.promo-item img {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    margin-right: 15px;
    object-fit: cover;
    flex-shrink: 0; /* Prevent image from shrinking */
}

.promo-info {
    flex-grow: 1;
    min-width: 0; /* Allow text to wrap */
}

.promo-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.promo-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.promo-action-btn {
    background-color: var(--primary-yellow);
    color: var(--text-dark-on-yellow);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    transition: background-color 0.3s;
    flex-shrink: 0; /* Prevent button from shrinking */
}

.promo-action-btn:hover {
    background-color: var(--primary-yellow-hover);
    color: var(--text-dark-on-yellow);
}

Let me improve this CSS to make it more polished and responsive across all devices.
css:root {
  --dark-bg: #1a1a2e;
  --primary-yellow: #ffc107;
  --text-white: #ffffff;
  --text-light: rgba(255, 255, 255, 0.9);
  --border-radius-lg: 20px;
  --border-radius-sm: 12px;
  --spacing-xs: 6px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 20px;
  --spacing-xl: 30px;
}

.timer-section {
  background-color: var(--dark-bg);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  color: var(--text-white);
  margin-bottom: var(--spacing-xl);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

:root {
  --dark-bg: #1a1a2e;
  --primary-yellow: #ffc107;
  --text-white: #ffffff;
  --text-light: rgba(255, 255, 255, 0.9);
  --border-radius-xl: 30px;
  --border-radius-lg: 24px;
  --border-radius-md: 20px;
  --border-radius-sm: 16px;
  --spacing-xs: 6px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 20px;
  --spacing-xl: 30px;
}

.timer-section {
  background-color: var(--dark-bg);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-lg) var(--spacing-xl);
  color: var(--text-white);
  margin-bottom: var(--spacing-xl);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.timer-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.timer-tag {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 400;
  display: inline-block;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

.timer-label {
  color: var(--primary-yellow);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.timer-display {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
  padding: var(--spacing-sm) 0;
}

.trophy-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
  border: 2px solid var(--primary-yellow);
  border-radius: 50%;
  color: var(--primary-yellow);
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2);
  position: relative;
  overflow: hidden;
}

.trophy-icon::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(5px);
}

.timer-display div {
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.05);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.timer-display span {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-white);
  display: inline-block;
  margin-right: var(--spacing-xs);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to right, var(--primary-yellow), #ffdd3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .timer-section {
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
  }
  
  .trophy-icon {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }
  
  .timer-display div {
    padding: var(--spacing-sm) var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .timer-display {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
    width: 100%;
  }
  
  .trophy-icon {
    margin-bottom: var(--spacing-xs);
    align-self: center;
  }
  
  .timer-display div {
    width: 100%;
    padding: var(--spacing-md);
  }
  
  .timer-display span {
    font-size: 1.2rem;
  }
  
  .timer-section {
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: var(--border-radius-md);
  }
}

/* Hover effects */
.timer-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.trophy-icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.timer-display div:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}
/* Quick Deposit Section */
.quick-deposit-section {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 30px;
}

.quick-deposit-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.deposit-button {
    width: 100%;
    background-color: var(--primary-yellow);
    color: var(--text-dark-on-yellow);
    border: none;
    padding: 12px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.deposit-button:hover {
    background-color: var(--primary-yellow-hover);
}

/* -------------------- */
/* --- GiriÅŸ/KayÄ±t FormlarÄ± --- */
/* -------------------- */
.auth-page-container { /* Wrapper for login/register pages */
    padding: var(--edge-spacing);
}

.login-container, .register-container {
    max-width: 450px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius-large);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.login-form-wrapper, .register-form-wrapper {
    text-align: center;
}

.login-form-wrapper h1, .register-form-wrapper h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.login-btn, .register-btn { /* These are specific submit buttons for forms */
    position: relative;
    /* width: 40%; */
    /* background-color: #1a3b4f; */
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all .5s;
    margin-top: 5px;
    text-transform: uppercase;
    box-shadow: 1px 1px 10px black;
}

.login-btn:hover, .register-btn:hover {
    background-color: var(--primary-yellow-hover);
    /* border: 1px solid white; */
    color: black;
    box-shadow: 1px 1px 10px;
    transition: all .5s;
}

.form-links {
    margin-top: 20px;
    text-align: center;
}

.form-links p {
    margin-bottom: 8px;
    font-size: 14px;
}

.form-links a {
    color: var(--primary-yellow);
    font-weight: 500;
}

.form-links a:hover {
    text-decoration: underline;
}

/* -------------------- */
/* --- Profil SayfasÄ± --- */
/* -------------------- */
.profile-page-container { /* Wrapper for profile page content */
    padding: 0 var(--edge-spacing);
}

.profile-header {
    margin-bottom: 30px;
}

.profile-banner {
    background-color: var(--dark-bg);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    background-image: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 100%), url('../img/profile-banner.jpg'); /* Ensure path is correct */
    background-size: cover;
    background-position: center;
    flex-wrap: wrap; /* Allow wrapping */
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    color: var(--text-muted);
    border: 4px solid var(--primary-yellow);
    flex-shrink: 0;
}

.profile-info {
    color: white;
    flex-grow: 1; /* Allow info to take space */
}

.profile-info h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.profile-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #adb5bd;
}

.profile-content {
    margin-bottom: 30px;
}

.nav-tabs {
    display: flex;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Allow tabs to wrap */
}

.nav-tabs .nav-item {
    margin-bottom: -1px;
}

.nav-tabs .nav-link {
    padding: 12px 20px;
    border: 1px solid transparent;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap; /* Prevent text wrapping inside tab */
}

.nav-tabs .nav-item.active .nav-link {
    border-color: #dee2e6 #dee2e6 white;
    background-color: white;
    color: var(--primary-yellow);
}

.tab-content {
    padding: 20px 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.profile-stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.profile-stat-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.stat-card-header {
    background-color: var(--primary-yellow);
    color: var(--text-dark-on-yellow);
    padding: 15px;
    font-weight: 600;
    text-align: center;
}

.stat-card-body {
    padding: 15px;
}

.stat-item {
    margin-bottom: 10px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: block;
}

.stat-value {
    font-weight: 500;
    font-size: 15px;
}

.stat-value.rank {
    font-size: 18px;
    color: var(--primary-yellow);
}

.stat-card-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    text-align: center;
}

.nav-pills {
    display: flex;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-radius: 30px;
    padding: 5px;
    flex-wrap: wrap; /* Allow pills to wrap */
}

.nav-pills .nav-item {
    flex: 1 1 auto; /* Allow items to grow and shrink, with auto basis */
    min-width: 100px; /* Minimum width for each pill item */
}

.nav-pills .nav-link {
    text-align: center;
    padding: 8px;
    border-radius: 30px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
    white-space: nowrap;
}

.nav-pills .nav-item.active .nav-link {
    background-color: var(--primary-yellow);
    color: var(--text-dark-on-yellow);
}

.rankings-tab-pane {
    display: none;
}

.rankings-tab-pane.active {
    display: block;
}

.rankings-table {
    width: 100%;
    margin-top: 20px;
}

.text-center {
    text-align: center;
}

/* -------------------- */
/* --- Footer Stili --- */
/* -------------------- */
.site-footer {
    background-color: var(--dark-bg);
    color: white;
    padding-top: 50px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px; /* Add gap for spacing between columns */
}

.footer-col {
    width: 100%; /* Default to full width for smallest screens */
    padding: 0 15px;
    margin-bottom: 30px;
    min-width: 220px; /* Minimum width before wrapping further */
}

/* Define column widths for larger screens */
@media (min-width: 576px) { /* Small devices (landscape phones, 576px and up) */
    .footer-col {
        width: calc(50% - 10px); /* Two columns, accounting for gap */
    }
    .footer-col.full-width-sm { /* A class for a column that should take full width on small devices but not extra small */
        width: 100%;
    }
}

@media (min-width: 992px) { /* Large devices (desktops, 992px and up) */
    .footer-col {
        width: calc(25% - 15px); /* Four columns, accounting for gap */
    }
     .footer-col.double-width-lg { /* A class for a column that should take double width on large devices */
        width: calc(50% - 10px);
    }
}


.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-desc {
    color: #adb5bd;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-yellow);
    color: var(--text-dark-on-yellow);
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 40px;
    background-color: var(--primary-yellow);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #adb5bd;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.copyright-bar {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.payment-methods {
    margin-top: 10px;
}

.payment-methods img {
    max-height: 30px;
    margin: 0 5px; /* Add some spacing between payment method images */
}

/* -------------------- */
/* --- Katılım Koşulları Sayfası --- */
/* -------------------- */
.terms-page-container { /* Wrapper for terms page content */
    padding: 0 var(--edge-spacing);
}

.terms-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/terms-bg.jpg'); /* Ensure path is correct */
    background-size: cover;
    background-position: center;
    padding: 40px 20px; /* Add padding to banner */
    text-align: center;
    color: white;
    border-radius: var(--border-radius-large);
    margin-bottom: 30px;
}

.terms-banner h1 { /* Example: Add a title to the banner */
    font-size: 2em;
    margin-bottom: 0;
}


.terms-content {
    /* padding: 0 15px; -- Handled by terms-page-container */
}

.terms-section {
    margin-bottom: 40px;
}

.terms-card {
    background-color: white;
    border-radius: var(--border-radius-large);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.terms-card-content {
    padding: 30px;
}

.terms-card h3 {
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.terms-card p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.terms-card ul,
.terms-card ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.terms-card ul li,
.terms-card ol li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-dark);
}

.terms-card ul {
    list-style-type: disc;
}

.terms-card ol {
    list-style-type: decimal;
}

.tournament-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 15px 0 30px;
}

.tournament-info {
    flex: 1;
    min-width: 250px;
}

.tournament-info p {
    margin-bottom: 8px;
}

.tournament-prizes {
    flex: 1;
    min-width: 300px;
}

.tournament-prizes h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.prize-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.prize-table th,
.prize-table td {
    padding: 8px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.prize-table th {
    background-color: var(--light-gray-bg);
    font-weight: 600;
    color: var(--text-dark);
}

.prize-table tr:last-child td {
    border-bottom: none;
}

.terms-action {
    display: flex;
    justify-content: center;
    margin: 30px 0 50px;
}

.terms-action .btn {
    padding: 12px 30px;
    font-size: 16px;
}


/* -------------------- */
/* --- DuyarlÄ± TasarÄ±m --- */
/* -------------------- */

/* Medium devices (tablets, landscape phones, 992px and down) */
@media (max-width: 992px) {
    .page-wrapper {
        padding: 0 var(--edge-spacing); /* Ensure padding on page wrapper */
    }
    .page-container {
        flex-direction: column;
        align-items: center; /* Center items when stacked */
    }

    .left-sidebar, .right-sidebar, .main-content {
        width: 100%; /* Take full width of the centered column */
        max-width: var(--main-content-max-width); /* Constrain main content width */
        margin-left: auto; /* Center them */
        margin-right: auto;
        margin-bottom: var(--gap-spacing);
    }
    .left-sidebar, .right-sidebar {
        max-width: 600px; /* Give sidebars a reasonable max-width when stacked */
    }


    .header-container {
        /* flex-wrap: wrap; -- Already set */
        gap: 10px;
        justify-content: space-between; /* Ensure logo and actions are spaced */
    }

    .logo {
        order: 1;
        margin-right: 0; /* Reset margin */
    }

    .main-nav {
        order: 3;
        width: 100%; /* Nav takes full width below logo/actions */
        margin-top: 10px;
    }
    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-actions { /* Login/User menu wrapper */
        order: 2;
        margin-left: 0; /* Reset margin */
    }

    .leaders-grid, .daily-ranking-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Allow more fluid fitting */
        justify-content: center; /* Center grid items if they don't fill row */
    }
    .leader-card, .player-card {
        width: 100%; /* Allow cards to fill grid cells */
    }

    .footer-col {
        width: calc(50% - 20px); /* Adjust for gap, 2 columns */
    }
    .footer-col:last-child { /* Ensure last item in a 2-col row doesn't over-stretch if odd number */
        /* No specific rule needed if gap is used correctly */
    }
}


/* Small devices (portrait tablets and large phones, 768px and down) */
@media (max-width: 768px) {
    body {
        font-size: 13px; /* Slightly smaller base font for smaller screens */
    }
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.4em; }
    h3 { font-size: 1.15em; }

    .header-container {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .logo {
        font-size: 24px;
    }
    .main-nav li a {
        padding: 8px 10px;
        font-size: 0.9em;
    }
    .login-btn, .user-menu-toggle {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    .left-sidebar, .right-sidebar, .main-content {
        padding-left: 15px; /* Reduce padding inside sidebars/content */
        padding-right: 15px;
    }
    .main-content {
        max-width: 100%; /* Allow main content to be full width */
    }


    .hero-banner {
        padding: 20px;
        height: auto; /* Auto height */
        min-height: 120px;
    }
    .hero-banner h1 {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .hero-cta-btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .leaders-grid, .daily-ranking-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }
    .leader-card, .player-card {
        width: 100%;
        max-width: 350px; 
        margin-left: auto;
        margin-right: auto;
    }


    .profile-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .profile-avatar {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
    .profile-info h1 {
        font-size: 22px;
    }

    .profile-stats-cards {
        grid-template-columns: 1fr; /* Single column */
    }

    .nav-tabs {
        /* flex-wrap: wrap; -- Already set */
		display: ruby;
    }
    .nav-tabs .nav-item {
        flex-basis: 50%; /* Two tabs per row, or adjust as needed */
        text-align: center;
    }
    .nav-tabs .nav-link {
        padding: 10px 15px;
    }

    .nav-pills {
        flex-direction: column; /* Stack pills vertically */
        border-radius: var(--border-radius);
    }
    .nav-pills .nav-item {
        width: 100%;
    }
    .nav-pills .nav-link {
        margin-bottom: 5px;
        border-radius: var(--border-radius); /* Consistent border radius when stacked */
    }
    .nav-pills .nav-item:last-child .nav-link {
        margin-bottom: 0;
    }


    .footer-col {
        width: 100%; /* Single column */
        text-align: center; /* Center align footer column content */
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%); /* Center the underline */
    }
    .social-links {
        justify-content: center; /* Center social links */
    }
    .payment-methods {
        text-align: center;
    }


    .terms-card-content {
        padding: 20px;
    }
    .tournament-details {
        flex-direction: column;
        gap: 20px;
    }
    .tournament-info,
    .tournament-prizes {
        width: 100%;
    }
    .prize-table th, .prize-table td {
        padding: 6px 10px; /* Reduce padding in prize table */
    }
}

@media (max-width: 480px) {
    :root { /* Adjust some global variables for very small screens */
        --edge-spacing: 10px;
        --gap-spacing: 10px;
        --border-radius: 6px;
        --border-radius-large: 10px;
    }
    .page-wrapper, .header,
    .leaders-grid-container, .daily-ranking-grid-container,
    .user-ranking-section, .profile-page-container, .terms-page-container,
    .auth-page-container {
        padding-left: var(--edge-spacing);
        padding-right: var(--edge-spacing);
    }


    .header-container {
        padding: 10px 0; /* Use edge spacing from header element */
    }
    .logo {
        font-size: 20px;
    }
    .main-nav {
        margin-top: 8px;
    }
    .main-nav li a {
        padding: 8px;
        font-size: 0.85em;
    }
    .login-btn, .user-menu-toggle {
        padding: 6px 10px;
        font-size: 0.85em;
    }
    .user-dropdown {
        min-width: 160px;
    }

    .form-control {
        padding: 12px 12px;
        font-size: 13px;
    }
    .btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    .btn-sm {
        padding: 4px 8px;
        font-size: 11px;
    }

    .hero-banner h1 {
        font-size: 1.5em;
    }
    .hero-cta-btn {
        padding: 8px 15px;
        font-size: 0.9em;
        width: 100%; /* Full width button */
        max-width: 280px;
    }

    .user-stats {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start; /* Align items to start */
    }

    .login-container, .register-container {
        padding: 20px 15px;
        margin: 20px auto;
    }
    .login-form-wrapper h1, .register-form-wrapper h1 {
        font-size: 20px;
    }

    .profile-banner {
        padding: 15px;
    }
    .profile-avatar {
        width: 60px;
        height: 60px;
        font-size: 30px;
        border-width: 3px;
    }
    .profile-info h1 {
        font-size: 18px;
    }
    .profile-date {
        font-size: 12px;
    }

    .nav-tabs .nav-item {
        flex-basis: 100%; /* Stack tabs fully */
    }
    .nav-tabs .nav-link {
        text-align: center;
    }

    .terms-card h3 {
        font-size: 16px;
    }
    .terms-card-content {
        padding: 15px;
    }
    .tournament-prizes h4 {
        font-size: 15px;
    }
    .terms-action .btn {
        width: 100%;
        font-size: 14px;
        padding: 10px 20px;
    }
    .terms-banner h1 {
        font-size: 1.5em;
    }
}

#comm100-button-ccfc77db-ada9-4da0-b89b-2228e0749580 {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  #comm100-button-ccfc77db-ada9-4da0-b89b-2228e0749580:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  }
  
  /* Mobil cihazlarda daha küçük olsun */
  @media (max-width: 768px) {
    #comm100-button-ccfc77db-ada9-4da0-b89b-2228e0749580 {
      bottom: 15px;
      right: 15px;
      transform: scale(0.9);
    }
    
    #comm100-button-ccfc77db-ada9-4da0-b89b-2228e0749580:hover {
      transform: scale(0.95);
    }
  }
  
  