/* CSS Variables – matching main homepage */
:root {
  --orange: #e67e22;
  --orange-glow: rgba(230, 126, 34, 0.8);
  --box-bg: rgba(10, 10, 10, 0.9);
  --card-bg: rgba(30, 30, 32, 0.93);
  --card-bg-hover: rgba(40, 40, 44, 0.97);
  --border-color: #232323;
  --text-main: #ccc;
  --text-light: #f5f5f5;
}

/* defaults
----------------------------------------*/
body {
  color: var(--text-main);
  font-size: 12px;
  font-family: 'Tahoma', 'Open Sans', sans-serif;
  background: #0d0402;
  background: #0d0402 url('../img/hiuntergrund.png') no-repeat center top fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/*.container {
  width: 1170px;
}*/
/* header
----------------------------------------*/
.header {
  margin: 30px 0 20px 0;
}

.header .logo {
  width: 188px;
  float: left;
  position: relative;
  filter: drop-shadow(0 0 12px var(--orange-glow));
}

.header ul {
	margin-top:45px;
  float: left;
  border-bottom: solid 1px rgba(255,255,255,0.1);
}

.header ul li {
  float: left;
  text-shadow: 1px 1px 4px #000;
}

.header li a {
  display: inline-block;
  padding: 20px 0 20px 0;
  margin: 0 10px;
  color: #fff;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  border-bottom: solid 3px transparent;
  -webkit-transition: all .3s ease;
      -moz-transition: all .3s ease;
           transition: all .3s ease;
}

.header a span {
  display: block;
  color: #fff;
  margin-top:3px;
}

.header li a:hover {
  border-color: var(--orange);
  color: var(--orange);
  text-shadow: 0 0 10px var(--orange);
}

/* homepage
----------------------------------------*/
.single-carousel {
  position: relative;
}

.single-carousel .text {
  position: absolute;
  left: 0; bottom: 0;
  font-size: 22px;
  padding: 0 0 40px 40px;
}

.single-carousel .text strong {
  font-size: 30px;
}

.single-carousel .owl-dots {
  position: absolute;
  right: 0; bottom: 0;
  margin: 0 40px 20px 0;
}

.single-carousel .owl-dots .owl-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 5px;
  background: #fff;
  border: solid 2px #fff;
  -webkit-border-radius: 100%;
     -moz-border-radius: 100%;
          border-radius: 100%;
}

.single-carousel .owl-dots .owl-dot.active {
  background: transparent;
}
.homepage-content {
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

.homepage-content .tab-area {
  color: var(--text-main);
  padding: 20px 40px;
  background: transparent;
}

.homepage-content .tab-area .nav {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: solid 1px rgba(255,255,255,0.1);
}

.homepage-content .tab-area .nav li {
  float: left;
}

.homepage-content .tab-area .nav li a {
  color: #999;
  padding: 0;
  font-size: 13px;
  margin-right: 20px;
  font-weight: 600;
}

.homepage-content .tab-area .nav li.active a,
.homepage-content .tab-area .nav li a:hover {
  color: var(--orange);
}

.homepage-content .tab-area .nav li a:hover,
.homepage-content .tab-area .nav li a:focus {
  background: none;
}

.homepage-content .tab-area .tab-content {
  font-size: 12px;
}

.homepage-content .p-title {
  display: block;
  margin-top: 0px;
}
.homepage-content .p-title a {
	color: var(--text-light);
}

.homepage-content  .p-meta {
  display: block;
  color: #999;
  margin-bottom: 15px;
}
.homepage-content  .p-desc{
	height:70px;
}
.homepage-content  .p-info {
  color: var(--text-main);
  padding-top:10px;
  padding-left:0px;
  padding-right:0;
  border-top: 1px dotted rgba(255,255,255,0.1);
  border-bottom: 1px dotted rgba(255,255,255,0.1);
  font-size:13px;
}
.homepage-content .p-info a {
  color: var(--text-main);

}
.homepage-content .notice-item .divider-parent{
	padding-top:20px;
	padding-bottom:20px;
}
.homepage-content .notice-item .divider{
	border-bottom:1px solid rgba(255,255,255,0.1);
}

.homepage-content .tab-area .tab-content ul {
  margin-top: 25px;
}

.homepage-content .tab-area .tab-content li {
  position: relative;
  padding: 15px 0;
  color: #bbb;
  font-size: 14px;
  padding-left: 15px;
  font-weight: 600;
  border-top: solid 1px rgba(255,255,255,0.08);
}

.homepage-content .tab-area .tab-content li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  background: #ccc;
  -webkit-border-radius: 100%;
     -moz-border-radius: 100%;
          border-radius: 100%;
}

.homepage-content .tab-area .tab-content li a {
  color: var(--text-main);
  text-decoration: none;
}


.homepage-content .image-content {
  padding: 40px;
  color: var(--text-main);
  background: rgba(20, 20, 22, 0.5);
}

.homepage-content .image-content h3 {
  font-size: 35px;
  font-weight: 600;
}

.homepage-content .image-content a {
  overflow: hidden;
  display: inline-block;
  margin-top: 15px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding-left: 10px;
  height: 40px;
  line-height: 40px;
  background: linear-gradient(to bottom, var(--orange), #a85a11);
  border: none;
  -webkit-border-radius: 10px;
     -moz-border-radius: 10px;
          border-radius: 10px;
  transition: background 0.3s, box-shadow 0.3s;
}

.homepage-content .image-content a span {
  display: inline-block;
  padding: 0 15px;
  margin-left: 7px;
  border-left: solid 1px rgba(255,255,255,0.5);
  -webkit-box-shadow: inset 1px 0px 0px rgba(0,0,0,0.2);
     -moz-box-shadow: inset 1px 0px 0px rgba(0,0,0,0.2);
          box-shadow: inset 1px 0px 0px rgba(0,0,0,0.2);
}

.homepage-content .media-section {
  padding: 20px;
  color: var(--text-main);
  background: transparent;
}

.homepage-content .media-section .section-title {
  font-size: 15px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: solid 1px rgba(230,126,34,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.homepage-content .media-section .section-title i {
  margin-right: 10px;
}

.homepage-content .media-section .video-section img {
  width: 100%;
}

.homepage-content .media-section .video-section .video {
  margin-bottom: 15px;
}

.homepage-content .media-section .events li {
  position: relative;
  padding: 15px 0;
  margin-bottom: 15px;
  padding-left: 60px;
  background: rgba(20, 20, 22, 0.4);
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
}

.homepage-content .media-section .events li:nth-child(even) {
  background: transparent;
}

.homepage-content .media-section .events li .date {
  position: absolute;
  left: 0; top: 0;
  width: 40px;
  margin-top: 6px;
  padding: 7px 0;
  color: var(--orange);
  font-weight: 600;
  text-align: center;
  background: rgba(230,126,34,0.15);
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
}

.homepage-content .media-section .events li .date span {
  display: block;
  font-weight: 300;
}

.homepage-content .media-section .events li h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}

.homepage-content .media-section .events li p {
  margin: 0;
  font-size: 12px;
  color: #999;
}
/*
.homepage-content .media-section .images img {
  width: 100%;
}
*/
.homepage-content .media-section .images h4 {
  text-align: center;
  color: var(--text-main);
  margin: 0;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 600;
  background: rgba(20, 20, 22, 0.6);
}

.sidebar .info-coins-button {
  display: block;
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  padding: 30px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--orange), #a85a11);
  border: solid 1px rgba(230,126,34,0.4);
  -webkit-border-radius: 12px 12px 0 0;
      -moz-border-radius: 12px 12px 0 0;
           border-radius: 12px 12px 0 0;
		   box-shadow: 0 4px 16px rgba(230,126,34,0.15);
}

.sidebar .info-coins-button span {
  display: block;
  font-size: 11px;
}

.sidebar .form {
  padding: 10px;
  background: rgba(30, 30, 32, 0.93);
  -webkit-border-radius: 0 0 12px 12px;
     -moz-border-radius: 0 0 12px 12px;
          border-radius: 0 0 12px 12px;
}

.sidebar .form input[type="text"],
.sidebar .form input[type="password"] {
  width: 100%;
  margin-bottom: 5px;
  padding: 7px 10px;
  color: #fff;
  background: #050505;
  border: 1px solid #3e271a;
  -webkit-box-shadow: inset 0px 3px 3px rgba(0,0,0,0.5);
     -moz-box-shadow: inset 0px 3px 3px rgba(0,0,0,0.5);
          box-shadow: inset 0px 3px 3px rgba(0,0,0,0.5);
          -webkit-border-radius: 5px;
             -moz-border-radius: 5px;
                  border-radius: 5px;
}

.sidebar .form input[type="submit"], .sidebar .form .exit {
  color: #fff;
  width: 100%;
  height: 67px;
  text-align: center;
  display:block;
  background: linear-gradient(to bottom, var(--orange), #a85a11);
  border: none;
  -webkit-border-radius: 10px;
     -moz-border-radius: 10px;
          border-radius: 10px;
}
.sidebar .form .exit{
	height:34px;
	padding-top:7px;
}

.sidebar .form label {
  display: block;
  color: #ccc;
  margin: 10px 0;
  font-size: 11px;
}
.sidebar .form .menu-label a{
	font-size:10px;
	padding:5px;
	margin-bottom:5px;
}
.sidebar .form .menu-label:last-child a{
	margin-bottom:0;
}

.sidebar .form .bottom {
  font-size: 11px;
  text-align: center;
  padding-top: 7px;
  border-top: solid 1px #999;
}

.sidebar .form .bottom a {
  color: #ccc;
  text-decoration: none;
}

.sidebar .action-box {
  margin-bottom: 30px;
  -webkit-border-radius: 12px;
     -moz-border-radius: 12px;
          border-radius: 12px;
		 box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  overflow: hidden;
}

.sidebar .action-box a {
  display: inline-block;
  float: left;
  width: 50%;
  color: #ccc;
  font-size: 11px;
  text-align: center;
  padding: 30px 0;
  text-decoration: none;
  background: rgba(30, 30, 32, 0.93);
  transition: background 0.3s, color 0.3s;
}

.sidebar .action-box a i {
  display: block;
  font-size: 35px;
  margin-bottom: 4px;
}

.sidebar .action-box a.color {
  background: rgba(40, 40, 44, 0.97);
}

.sidebar .action-box a:hover {
  color: var(--orange);
  background: rgba(50, 50, 54, 0.97);
}

.sidebar .list-table {
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  border-radius: 12px;
  overflow: hidden;
}

.sidebar .list-table .title {
  margin: 0;
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 15px;
  background: rgba(30, 30, 32, 0.93);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar .list-table table {
  width: 100%;
}

.sidebar .list-table tr {
  background: rgba(40, 40, 44, 0.6);
}

.sidebar .list-table tr:nth-child(even) {
  background: rgba(30, 30, 32, 0.6);
}

.sidebar .list-table table td {
  padding: 10px 8px;
}

.sidebar .list-table .status, .player-table .status, span.status {
  display: inline-block;
  padding: 3px 6px;
  color:#fff !important;
}

.sidebar .list-table .status.red, .player-table .status.red, span.status.red  {
  background: #a71017;
}

.sidebar .list-table .status.yellow, .player-table .status.yellow, span.status.yellow {
  background: #c89a44;
}

.sidebar .list-table .status.blue, .player-table .status.blue, span.status.blue {
  background: #194199;
}

.sidebar .list-table .border-right {
  border-right: solid 1px rgba(255,255,255,0.3);
}

.sidebar .links a {
  display: block;
  color: #fff;
  padding: 10px 15px;
  margin-bottom: 10px;
  background: rgba(30, 30, 32, 0.93);
  text-decoration: none;
  -webkit-border-radius: 10px;
     -moz-border-radius: 10px;
          border-radius: 10px;
  transition: background 0.3s, border 0.3s;
  border: 1px solid transparent;
}

.sidebar .links a:hover {
  background: var(--card-bg-hover);
  border-color: var(--orange);
}


/* footer
----------------------------------------*/
.footer {
  padding: 50px 0;
}

.footer .footer-nav {
  text-align: center;
  border-top: solid 1px rgba(255,255,255,0.1);
  border-bottom: solid 1px rgba(255,255,255,0.1);
}

.footer .footer-nav ul {
  position: relative;
  bottom: -5px;
}

.footer .footer-nav li {
  display: inline;
}

.footer .footer-nav li a {
  display: inline-block;
  padding: 0 35px;
  margin: 20px 0;
  color: #ccc;
  font-size: 14px;
  border-left: solid 1px #ccc;
}

.footer .footer-nav li:first-child a {
  border: none;
}

.footer .copyright {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #ccc;
}

/* ============================================
   Bootstrap Dark Theme Overrides
   ============================================ */

/* Cards */
.card {
  background: rgba(30, 30, 32, 0.93);
  border: 1px solid #232323;
  border-radius: 14px;
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
  color: #ccc;
  overflow: hidden;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(230,126,34,0.10), 0 2px 12px 0 rgba(0,0,0,0.13);
  border-color: #e67e22;
  background: rgba(40, 40, 44, 0.97);
}
.card-footer {
  background: rgba(20, 20, 22, 0.6);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-radius: 0 0 14px 14px;
  padding: 12px 15px;
}
.card-footer a,
.card-footer.text-muted,
.card-footer.text-muted a {
  color: #f5f5f5 !important;
  font-weight: 600;
  font-size: 13px;
}
.card-block {
  background: transparent;
  padding: 15px;
}
.card .min-image-item {
  background: rgba(10, 10, 12, 0.4);
  border-radius: 10px;
  padding: 10px 0;
  overflow: hidden;
}

.card .min-image-item img,
.card img.image-item {
  max-width: 100%;
  height: auto;
}
.card-header {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.card-header.bg-primary {
  background: linear-gradient(90deg, #e67e22, #a85a11) !important;
  border: none;
  color: #fff;
  border-radius: 14px 14px 0 0;
}
.card-header.bg-success {
  background: linear-gradient(90deg, #27ae60, #1e8449) !important;
  border: none;
  border-radius: 14px 14px 0 0;
}
.card-text {
  color: #ccc;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(90deg, #e67e22, #a85a11);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  transition: background 0.3s, box-shadow 0.3s;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, #f39c12, #e67e22);
  box-shadow: 0 4px 16px rgba(230,126,34,0.22);
  border: none;
}
.btn-info {
  background: rgba(40, 40, 44, 0.93);
  border: 1px solid #e67e22;
  color: #e67e22;
  border-radius: 10px;
}
.btn-info:hover {
  background: #e67e22;
  color: #fff;
}
.btn-danger {
  background: linear-gradient(90deg, #c0392b, #a93226);
  border: none;
  border-radius: 10px;
}
.btn-success {
  background: linear-gradient(90deg, #27ae60, #1e8449);
  border: none;
  border-radius: 10px;
}

/* Form controls */
.form-control {
  background: #050505;
  border: 1px solid #3e271a;
  color: #fff;
  border-radius: 8px;
}
.form-control:focus {
  background: #0a0a0a;
  border-color: #e67e22;
  color: #fff;
  box-shadow: 0 0 8px rgba(230,126,34,0.2);
}
.form-control::placeholder {
  color: #888;
}

/* Jumbotron (login bar at bottom) */
.jumbotron {
  background: rgba(30, 30, 32, 0.93);
  border: 1px solid #232323;
  border-radius: 14px;
  padding: 24px;
  margin-top: 20px;
}

/* Alerts */
.alert-success {
  background: rgba(40,180,99,0.12);
  color: #27ae60;
  border: 1px solid rgba(40,180,99,0.2);
  border-radius: 10px;
}
.alert-info {
  background: rgba(230,126,34,0.12);
  color: #e67e22;
  border: 1px solid rgba(230,126,34,0.2);
  border-radius: 10px;
}
.alert-warning {
  background: rgba(241,196,15,0.12);
  color: #f1c40f;
  border: 1px solid rgba(241,196,15,0.2);
  border-radius: 10px;
}
.alert-danger {
  background: rgba(192,57,43,0.12);
  color: #e74c3c;
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: 10px;
}

/* Badges */
.badge-danger {
  background: #c0392b;
}

/* List group items (sidebar) */
.list-group-item {
  background: rgba(40, 40, 44, 0.6) !important;
  border: none !important;
  border-radius: 10px;
  color: #e0e0e0 !important;
  margin-bottom: 4px;
}

.list-group-item h4 {
  color: #e67e22 !important;
}

.list-group {
  background: transparent !important;
}

.sidebar {
  background: transparent;
}

.col-md-3 .sidebar {
  background: transparent;
}

/* Dropdown */
.dropdown-menu {
  background: rgba(30, 30, 32, 0.97);
  border: 1px solid #232323;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.dropdown-menu a {
  display: inline-block;
  padding: 6px;
  transition: background 0.2s;
  border-radius: 6px;
}
.dropdown-menu a:hover {
  background: rgba(230,126,34,0.15);
}

/* Modal */
.modal-content {
  background: rgba(30, 30, 32, 0.98);
  border: 1px solid #e67e22;
  border-radius: 16px;
  color: #ccc;
}
.modal-header {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.modal-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Select boxes (bonus selection etc.) */
select.form-control {
  background: #0a0a0a;
  color: #fff;
  border: 1px solid #3e271a;
}
select.form-control option {
  background: #1a1a1a;
  color: #fff;
}

/* Text overwrites for dark theme */
.text-muted {
  color: #999 !important;
}

/* Scrollbar for dark theme */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0d0402;
}
::-webkit-scrollbar-thumb {
  background: #3e271a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e67e22;
}

/* ============================================
   Category / Item / Login Page Overrides
   ============================================ */

/* Breadcrumb links in section-title */
.section-title a {
  color: var(--orange) !important;
  transition: color 0.2s, text-shadow 0.2s;
}
.section-title a:hover {
  color: #f39c12 !important;
  text-shadow: 0 0 8px rgba(230,126,34,0.4);
}

/* Form labels */
label,
.control-label {
  color: #ddd;
  font-weight: 600;
}

/* Input group addon (discount form etc.) */
.input-group-addon {
  background: rgba(30, 30, 32, 0.93);
  border: 1px solid #3e271a;
  color: var(--orange);
  font-weight: 600;
}

/* Close button (alerts, modals) */
.close {
  color: #fff;
  text-shadow: none;
  opacity: 0.7;
}
.close:hover {
  color: var(--orange);
  opacity: 1;
}

/* List-group item detail styling */
.list-group-item h4 {
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
  margin-top: 10px;
}
.list-group-item p {
  margin-bottom: 4px;
}
.list-group-item .btn-success {
  background: linear-gradient(90deg, #e67e22, #a85a11);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  transition: background 0.3s, box-shadow 0.3s;
}
.list-group-item .btn-success:hover {
  background: linear-gradient(90deg, #f39c12, #e67e22);
  box-shadow: 0 4px 16px rgba(230,126,34,0.22);
}
.list-group-item .btn-success.disabled {
  background: rgba(60, 60, 65, 0.6);
  color: #888;
  cursor: not-allowed;
}

/* Buy button (item page) */
.btn-success.btn-block {
  background: linear-gradient(90deg, #e67e22, #a85a11);
  border: none;
  border-radius: 10px;
  font-weight: 600;
}
.btn-success.btn-block:hover {
  background: linear-gradient(90deg, #f39c12, #e67e22);
  box-shadow: 0 4px 16px rgba(230,126,34,0.22);
}

/* Login page btn */
.btn-success.btn-lg {
  background: linear-gradient(90deg, #e67e22, #a85a11);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.btn-success.btn-lg:hover {
  background: linear-gradient(90deg, #f39c12, #e67e22);
  box-shadow: 0 4px 16px rgba(230,126,34,0.22);
}

/* Modal title */
.modal-title {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Collapse area (discount panel) */
.collapse .form-horizontal {
  color: #ccc;
}

/* Nothing found text */
.media-section .images .row {
  color: #bbb;
}

/* Pagination / breadcrumbs color fix */
.page-link {
  background: rgba(30, 30, 32, 0.93);
  border: 1px solid #3e271a;
  color: var(--orange);
}
.page-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.page-item.active .page-link {
  background: var(--orange);
  border-color: var(--orange);
}

/* Table styling (last bought etc.) */
table td {
  color: #ccc;
}
table td a {
  color: #f5f5f5 !important;
}
table td a:hover {
  color: var(--orange) !important;
}

/* ============================================
   Mobile / Responsive (Edge, Chrome, Safari)
   ============================================ */

/* Tablet & smaller */
@media (max-width: 991px) {
  .header .logo {
    width: 120px;
    padding-top: 20px !important;
  }

  .header ul {
    margin-top: 15px;
    float: none;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding-left: 0;
  }

  .header ul li {
    float: none;
  }

  .header li a {
    padding: 10px 4px;
    margin: 0 4px;
    font-size: 11px;
  }

  .header li a i {
    font-size: 18px !important;
  }

  .header li a span {
    font-size: 10px;
  }

  .homepage-content .tab-area {
    padding: 15px 12px;
  }

  .homepage-content .image-content {
    padding: 20px 15px;
  }

  .sidebar {
    margin-top: 20px;
  }

  .footer .footer-nav li a {
    padding: 0 12px;
    font-size: 12px;
  }
}

/* Phone */
@media (max-width: 767px) {
  body {
    font-size: 13px;
  }

  .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  /* Header / Navigation */
  .header {
    margin: 10px 0 10px 0;
    text-align: center;
  }

  .header .logo {
    width: 100px;
    float: none;
    display: block;
    margin: 0 auto;
    padding-top: 10px !important;
  }

  .header .navigation {
    text-align: center;
  }

  .header ul {
    margin-top: 8px;
    float: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    border-bottom: none;
    padding-left: 0;
  }

  .header ul li {
    float: none;
  }

  .header li a {
    padding: 8px 6px;
    margin: 0 2px;
    font-size: 10px;
    border-bottom-width: 2px;
  }

  .header li a i {
    font-size: 16px !important;
  }

  .header li a span {
    font-size: 9px;
    margin-top: 1px;
  }

  /* Language dropdown */
  .dropdown-menu {
    min-width: auto;
    left: 50% !important;
    transform: translateX(-50%);
  }

  .dropdown-menu a img {
    width: 32px !important;
  }

  /* Main content */
  .homepage-content {
    border-radius: 10px;
    padding: 10px 4px !important;
  }

  .homepage-content .tab-area {
    padding: 10px 8px;
  }

  .homepage-content .tab-area .nav {
    margin-bottom: 12px;
    padding-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .homepage-content .tab-area .nav li {
    float: none;
  }

  .homepage-content .tab-area .nav li a {
    margin-right: 8px;
    font-size: 12px;
  }

  .homepage-content .image-content {
    padding: 15px 10px;
  }

  .homepage-content .image-content h3 {
    font-size: 22px;
  }

  .homepage-content .p-desc {
    height: auto;
  }

  /* Cards */
  .card {
    border-radius: 10px;
    margin-bottom: 12px;
  }

  .card-block {
    padding: 10px;
  }

  .card .min-image-item img {
    max-width: 100%;
    height: auto;
  }

  /* Sidebar */
  .col-md-3 {
    margin-top: 16px;
  }

  .sidebar .info-coins-button {
    font-size: 20px;
    padding: 18px 0;
    border-radius: 10px 10px 0 0;
  }

  .sidebar .info-coins-button span {
    font-size: 10px;
  }

  .sidebar .action-box a {
    padding: 18px 0;
    font-size: 10px;
  }

  .sidebar .action-box a i {
    font-size: 26px;
  }

  .sidebar .links a {
    padding: 8px 10px;
    font-size: 12px;
    margin-bottom: 6px;
  }

  .sidebar .form {
    padding: 8px;
  }

  .sidebar .form input[type="text"],
  .sidebar .form input[type="password"] {
    font-size: 14px;
    padding: 10px;
  }

  .sidebar .form input[type="submit"],
  .sidebar .form .exit {
    height: 48px;
    font-size: 14px;
  }

  .sidebar .list-table {
    border-radius: 10px;
  }

  /* Item list / grid */
  .list-group-item {
    padding: 10px;
    border-radius: 8px;
  }

  .list-group-item h4 {
    font-size: 14px;
  }

  .list-group-item .btn-success {
    font-size: 13px;
    padding: 8px 12px;
    width: 100%;
    text-align: center;
  }

  /* Login bar (jumbotron) */
  .jumbotron {
    padding: 14px 10px;
    border-radius: 10px;
  }

  .jumbotron .form-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .jumbotron .form-control {
    width: 100% !important;
    margin-bottom: 8px !important;
    margin-right: 0 !important;
    font-size: 14px;
    padding: 10px;
  }

  .jumbotron .btn-primary {
    width: 100%;
    padding: 10px;
    font-size: 14px;
  }

  /* Footer */
  .footer {
    padding: 20px 0;
  }

  .footer .footer-nav li a {
    padding: 0 8px;
    font-size: 11px;
    border-left-width: 1px;
  }

  .footer .copyright {
    font-size: 11px;
  }

  /* Modal */
  .modal-content {
    border-radius: 12px;
    margin: 10px;
  }

  /* Tables */
  table {
    font-size: 11px;
  }

  table td {
    padding: 6px 4px;
    word-break: break-word;
  }

  /* Carousel */
  .single-carousel .text {
    font-size: 14px;
    padding: 0 0 15px 15px;
  }

  .single-carousel .text strong {
    font-size: 18px;
  }

  /* Media section */
  .homepage-content .media-section {
    padding: 12px 8px;
  }

  .homepage-content .media-section .section-title {
    font-size: 13px;
    margin-bottom: 16px;
    padding-bottom: 10px;
  }

  /* Pagination */
  .page-link {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* Very small phones (< 400px) */
@media (max-width: 400px) {
  .header li a {
    padding: 6px 3px;
    margin: 0 1px;
    font-size: 9px;
  }

  .header li a i {
    font-size: 14px !important;
  }

  .header li a span {
    font-size: 8px;
  }

  .header .logo {
    width: 80px;
  }

  .homepage-content .tab-area .nav li a {
    font-size: 11px;
    margin-right: 4px;
  }

  .sidebar .info-coins-button {
    font-size: 18px;
    padding: 14px 0;
  }

  .sidebar .action-box a {
    padding: 12px 0;
    font-size: 9px;
  }

  .sidebar .action-box a i {
    font-size: 22px;
  }
}

/* ===== Sticky Footer (Itemshop) ===== */
html, body {
  min-height: 100vh !important;
}

body {
  display: flex !important;
  flex-direction: column !important;
}

.site-content {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
  background: #1e1e20 !important;
  border-top: 2px solid #e67e22 !important;
  padding: 18px 0 !important;
  width: 100% !important;
  margin-top: auto;
  color: #bfbfbf !important;
  font-size: 14px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.site-footer .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.site-footer-inner {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer a {
  color: #e67e22;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer-sep {
  margin: 0 6px;
  color: #555;
}

.site-footer-center {
  text-align: center;
}

.site-footer-right {
  color: #bfbfbf;
  font-size: 13px;
}

@media (max-width: 767px) {
  .site-footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .site-footer-left,
  .site-footer-center,
  .site-footer-right {
    width: 100%;
  }
}
.card .min-image-item img, .card img.image-item { max-width: 100%; height: auto; }
