* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding:100px 20px 0px;
    overflow-x: hidden;
}
@font-face {
    font-family: "openhuninn";
    src: url("../font/ARIAL.TTF");
    font-style: normal;
    font-weight: normal;
}

.support-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.support-header {
    text-align: center;
    margin-bottom: 50px;
}

.support-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.game-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.game-item:hover::before {
    opacity: 1;
}

.game-icon {
    margin-right: 20px;
    position: relative;
    z-index: 1;
}

.game-icon img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.game-item:hover .game-icon img {
    transform: scale(1.1);
}

.game-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.game-info h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.language-select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14px;
    color: #5a6c7d;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.language-select:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.language-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.language-select option {
    padding: 10px;
    background: white;
    color: #2c3e50;
}

header{
	height: 80px;
	display: flex;
	width: 100vw;
	background-color: rgba(0, 0, 0, 0.3);
	justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
}

#logo img {
    height: 40px;
    margin-left: 100px;
    margin-top: 20px;
}
a{
	text-decoration: none;
	cursor: pointer;
}
footer{
  height: auto;
  width: 100vw;
  background-color: #000000;
  margin-top: 20px;
  overflow: hidden;
  margin-left: -20px;
}
.copyright{
  margin-right: 10px;
}
.container{
	display: flex;
	width: 880px;
	max-width: 100vw;
	margin: 0 auto;
	line-height: 100px;
	color: #FFFFFF;
	font-weight: 400;
	justify-content: space-between;
	font-size: 14px;
}
.credits,.nav-footmenu{
	height: 100px;
}
.container img{
	height: 50px;
	margin-top: 28px;
}
.container a{
	color: #FFFFFF;
}
.line{
	margin: 0 4px;
}
.nav-footmenu{
	display: flex;
}
.credits {
	display: flex;
	font-family: "openhuninn";
	letter-spacing: 1px;
}
/* 响应式设计 */
@media (max-width: 768px) {

    body{
      padding-top: 3.75rem;
    }

    header{
      height: 3.75rem;
    }
    #logo img{
      height:30px;
      margin-top: 0.9375rem;
      margin-left: 1.25rem;
    }

    .support-container {
        padding: 20px;
        margin: 10px;
    }

    .support-header h1 {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .game-item {
        padding: 15px;
    }

    .game-icon {
        margin-right: 15px;
    }

    .game-icon img {
        width: 50px;
        height: 50px;
    }

    .game-info h3 {
        font-size: 1.1rem;
    }
    .container {
      display: block;
      width: 100%;
      line-height: 16px;
    }
    .container img{
      display: block;
      height: 2.5rem;
      margin: 20px auto;
    }
    .credits{
      display: block;
      height: auto;
      padding-bottom: 20px;
    }
    .credits p{
      text-align: center;
      font-size: 0.625rem;
      line-height: 1.25rem;
    }
}

@media (max-width: 480px) {
    .support-header h1 {
        font-size: 1.8rem;
    }

    .game-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .game-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .game-info {
        width: 100%;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-item {
    animation: fadeInUp 0.6s ease-out;
}

.game-item:nth-child(even) {
    animation-delay: 0.1s;
}

.game-item:nth-child(3n) {
    animation-delay: 0.2s;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}
